[Typo3] [typo3] Generating sub header from page title
Roberts, Emma
Emma.Roberts at isd.csa.scot.nhs.uk
Tue May 17 17:57:42 CEST 2005
Thanks - this does work but the way my menu is set up, my top level menu is
just a section title so I don't want to display this.
ie
General information (title)
- Groups
- A Group
- Another Group
So using your code, when I'm on the page, Groups, my titles read,
General Information
Groups
So really, I only need to use this code for the sections under Groups but
don't want to create extension templates for all of them. Is there a better
way?
Many thanks for your help.
Emma
-----Original Message-----
From: typo3-english-bounces at lists.netfielders.de
[mailto:typo3-english-bounces at lists.netfielders.de]On Behalf Of Kraft
Bernhard
Sent: 17 May 2005 10:53
To: typo3-english at lists.netfielders.de
Subject: Re: [Typo3] [typo3] Generating sub header from page title
Roberts, Emma wrote:
> 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
Pherhaps something like
5 = TEXT
5 {
data = leveltitle:-2, slide
}
will help ...
this will get the title from the parent page ... and if the parent page has
none from their parent page
and so on till it finds a title ...
check google on "typo3 leveltitle" there are quite some examples ...
greets,
Bernhard
--
Kraft Bernhard
MOKKA Medienagentur <http://www.mokka.at>
T: +43 - 1 - 895 33 33 - 50
_______________________________________________
Typo3-english mailing list
Typo3-english at lists.netfielders.de
http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english
_________________________________________________________________
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