[TYPO3] How to insert userfunc data as dynamic label for HMENU?

Peter Klein peter at umloud.dk
Sun Mar 12 15:46:20 CET 2006


"Matthew Manderson" <matthew at manderson.co.uk> wrote in message 
news:mailman.1.1142010275.12474.typo3-english at lists.netfielders.de...
>> Hi Matthew. Why don't you just use the subtitle field on the page as an
>> alternate label?
>> Then you could do something like this in your menu object..
>
> Maybe I am missing something.
>
> I am setting a $SESSION['value']; on certain pages to denote a site wide
> choice. In this example it is a destination delivery country.
>
> The visitor has the option to change this chosen destination country via a
> TMENU_LAYERS menu.
>
> At the moment the HMENU is listing the parent pages of the sub 'choice'
> pages currently titled deliver to: 'COUNTRY'.
>
> I would like to display the currently selected $SESSION['value'] choice as
> the title of the HMENU rather than the page title 'COUNTRY'.
>

Hi Matthew. That wasn't clear from your previous post..
Well then you'll have to make a small IProcFunc that replaces the title of 
the menuitem if the title is 'COUNTRY'.

---
Peter Klein / Umloud Untd.





More information about the TYPO3-english mailing list