Is it possible to parse the body

A general technical discussion area for patTemplate.
Locked
wildcard
Joomla! Intern
Joomla! Intern
Posts: 50
Joined: Fri Sep 16, 2005 9:59 am
Location: Ljubljana
Contact:

Is it possible to parse the body

Post by wildcard » Sun Dec 18, 2005 5:42 pm

On mamboforge I found a tutorial on how to make rounded corners around modules. Now I am looking for the same idea, except then for the content in mosMainBody. Is it possible to create rounded corners the same way as done with modules. I need this because my title sould have a gradient image with rounded corners. The width of my main body varies, due to having modules on the right of the main body or not.

If it's not possible the only thing I see to do is to modify the core.

Looking forward to your ideas.

Wildcard

wene
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 203
Joined: Sat Aug 20, 2005 1:40 am
Location: south of France

Re: Is it possible to parse the body

Post by wene » Sun Dec 18, 2005 6:50 pm


wildcard
Joomla! Intern
Joomla! Intern
Posts: 50
Joined: Fri Sep 16, 2005 9:59 am
Location: Ljubljana
Contact:

Re: Is it possible to parse the body

Post by wildcard » Sun Dec 18, 2005 7:03 pm

Yes I've tried that one, it's the tutorial I was talking about on how to get rounded corners with modules. It works fine. But mosMainContent is harder to do because of not having access to the paramaters and values which is accessed for the modules in the function loadModules which comes with the tutorial.

Looking forward to any suggestions.

Marc

sparky_hd
Joomla! Intern
Joomla! Intern
Posts: 94
Joined: Sun Aug 21, 2005 7:18 pm

Re: Is it possible to parse the body

Post by sparky_hd » Fri Jan 06, 2006 6:27 pm

you could code that into your template.  There are several ways to do rounded corners- i believe the method used my Mambo/Joomla is to wrap the selected content in three divs and format those divs appropriately using CSS.  In your template you could hard code three divs around the mosMainBody call and style them.


Locked

Return to “patTemplate”