[typo3] Generating sub header from page title

Roberts, Emma Emma.Roberts at isd.csa.scot.nhs.uk
Tue May 17 12:33:18 CEST 2005


Hi,

I'm using this code to generate my page header from the page title which
works brilliantly - 

#Generates the page header from the page title
subparts.PAGETITLE = COA
subparts.PAGETITLE {
   10 = TEXT
   10  {
     field = title
     required = 1
     wrap = <h1 class="pageHeader">|</h1>
   }
}

For the pages with sub-sections though, I would to generate that page title
as a sub header ie <h2 class ="subheader">|</h2> but keep the section title
as the main header ie

<h1>Section Header</h1>
  <h2>Sub Header</h2>

Is this possible?

many thanks,

Emma
_________________________________________________________________ 
NHS National Services Scotland Disclaimer 

The information contained in this message may be confidential or 
legally privileged and is intended for the addressee only. If you have 
received this message in error or there are any problems please notify the 
originator immediately. The unauthorised use, disclosure, copying or 
alteration of this message is strictly forbidden. 
_________________________________________________________________ 




More information about the TYPO3-english mailing list