| Joomla! com_content hack (for 1.0.15) |
|
An annoying restriction of the Joomla! framework: in full article view the component header disappears. We have to modify only two files:
You can set item_header in the Content Item Edit window (Parameters Tab). content.php: find line 1591, which looks like:
// if a popup item (e.g. print page) set popup param to correct value right below, add the following snippet:
// R3D Hack - Writes a title header that shows only in full article view That's it for this file. Now let's change our backend XML file: content.xml: on line 13 you will see: <param name="item_header" type="text" size="35" default="" label="Titel Header" description="A titel header that shows only in full article view" /> again, add below this line:
<param name="pageclass_sfx" type="text" size="20" default="" label="Page Class Suffix" description="A suffix to be applied to the css classes of the page, this allows individual page styling" /> The second param is optional - it adds a space below...
|
|
| Last Updated ( Saturday, 08 March 2008 ) |