Page 1 of 1

Is it possible to parse the body

Posted: Sun Dec 18, 2005 5:42 pm
by wildcard
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

Re: Is it possible to parse the body

Posted: Sun Dec 18, 2005 6:50 pm
by wene

Re: Is it possible to parse the body

Posted: Sun Dec 18, 2005 7:03 pm
by wildcard
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

Re: Is it possible to parse the body

Posted: Fri Jan 06, 2006 6:27 pm
by sparky_hd
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.