[TYPO3] Put page subtitles into Templavoila menu

Peter Klein peter at umloud.dk
Wed May 3 16:26:45 CEST 2006


Hi Ian. Add these 2 linea to your menu (inside the NO part)

   ATagTitle.data = page:subtitle
   ATagTitle.required = 1

More info can be found here:
http://typo3.org/documentation/document-library/references/doc_core_tsref/current/view/10/8/

-- 
Peter Klein/Umloud Untd

"Ian Tomkins" <itomkins at cheritoncomputers.com> skrev i en meddelelse 
news:mailman.10956.1146666097.29768.typo3-english at lists.netfielders.de...
> Hi,
>
> I would like to be able to get each page's subtitle to appear as a tooltip 
> on it's menu entry.
>
> I am using Typo3 v 4 and Templavoila 1.0.1.
>
> Each menu entry is simply a link tag with a class tag used to set the 
> relevant styles.
>
> The current TypoScript for the menu looks like this:
>
> lib.mainMenu = HMENU
> lib.mainMenu {
> entryLevel = 0
>
> 1 = TMENU
> 1.NO {
> allWrap = |
> ATagParams = class="nav"
> }
>
> --snip--
>
> so what I want to do is add an additional title=xxx parameter to each 
> entry containing the subtitle.  As an additional refinement it would be 
> better if this is only added for pages that have the subtitle field set.
>
> I am a bit of a newbie to Typo3 and still struggling to get my head around 
> the details of TypoScript.
>
> Thanks,
>
> Ian 





More information about the TYPO3-english mailing list