[TYPO3-english] Special content in submenu

Tyler Kraft tyler.kraft at netefficiency.co.uk
Tue Oct 28 12:07:30 CET 2008


Hi

You could use the after object of the menu item in the ACT state and an 
if statement

hope that helps
Tyler



Daniel Calderini wrote:
> Hi list,
> 
> I want to display the menu of the following page tree:
> 
> - Page 1
> -- Subpage 1
> -- Subpage 2
> - Page 2
> - Page 3
> -- Subpage 3
> 
> If "Page 1" is active, it will display a normal menu:
> 
> - Page 1
> -- Subpage 1
> -- Subpage 2
> - Page 2
> - Page 3
> 
> The same goes for "Page 3".
> 
> Here is my problem: if "Page 2" is active, I want some special content 
> (which comes from a plugin) to be inserted between "Page 2" and "Page 3"
> 
> - Page 1
> - Page 2
> -- SOME CONTENT FROM PLUGIN
> - Page 3
> 
> 
> Is there a simple way to achieve this, or do I have to extend the 
> tslib_menu class ?
> 
> Thanks and regards
> Daniel Calderini


More information about the TYPO3-english mailing list