Forums / Setup & design / bug?
enigmista enigmista
Thursday 17 July 2003 6:42:48 am
i want in body of my article <header 2>test</test>, but it sobstitute it with <header 1>test</test>... In my template i have already <h2> i need <h3> in body.. can i force this "replace"?
Karsten Jennissen
Thursday 17 July 2003 6:52:47 am
you can only have h1 -> h2 -> h3, i.e. you need a h1 before you can get a h2, before you can get a h3. If you want different looks, the way to go is to alter the stylesheet.
Karsten
Thursday 17 July 2003 7:00:39 am
<h1><h2><h3> Not are for looks... i need this because i have a class, and its template is:
<h1>Rassegna stampa</h1> <h2>{attribute_view_gui attribute=$node.object.data_map.titolo}</h2> <div class="rassegna-data"><span>{attribute_view_gui attribute=$node.object.data_map.fonte}</span> {attribute_view_gui attribute=$node.object.data_map.data_di_pubblicazione}</div> {attribute_view_gui attribute=$node.object.data_map.lead_in}{attribute_view_gui attribute=$node.object.data_map.body}
in body i want <h3> without <h1> and <h2>... how?
Bruce Morrison
Thursday 17 July 2003 3:56:00 pm
1. Copy ./design/standard/templates/content/datatype/view/ezxmltags/header.tpl to your design foldere.g ./design/mydesign/templates/content/datatype/view/ezxmltags/header.tpl
2. Edit ./design/mydesign/templates/content/datatype/view/ezxmltags/header.tplreplacing the hX tags with what you require.
Cheers BrucedesignIT
My Blog: http://www.stuffandcontent.com/ Follow me on twitter: http://twitter.com/brucemorrison Consolidated eZ Publish Feed : http://friendfeed.com/rooms/ez-publish