[TYPO3-dev] Injecting levels into menus

Christian Lerrahn typo3 at penpal4u.net
Fri Feb 10 03:04:23 CET 2006


On Mon, 6 Feb 2006 19:58:30 -0800
Christopher <bedlamhotel at gmail.com> wrote:

> Hello,
> 
> On 2/6/06, Christian Lerrahn <typo3 at penpal4u.net> wrote:
> > Hi,
> > I might find an answer to this in the code if I read enough of it.
> > However, this might be an easy question for some of you and therefore
> > I'll ask the question without doing research. ;-)
> > Is there any way for an extension to inject further levels into a menu
> > that are then rendered by the core? E.g. if I have a 2 level GMENU and
> > then a plugin on one of the first level pages, could I have the extension
> > create a second level below that page the plugin is on? Like setting up
> > "pseudo subpages" that are then rendered by the core. If yes, can anyone
> > give me a hint where to start?
> 
> Check out the .userFunc property of the ordinary HMENU object in the
> TSref [1]. There's an example there of how to create a menu that
> "...could be a menu reflecting a menu structure of a plugin".

Thanks for the hint. :)

Christian

-- 
    Mein  Wort  wird  nicht  wieder leer zu mir zurückkommen, sondern
    wird tun, was mir gefällt, und ihm wird  gelingen,  wozu  ich  es
    sende.
    
    Jesaja 55,11
    
    Wie  viele  Jesus aufnahmen, denen gab er Macht, Gottes Kinder zu
    werden, denen, die an seinen Namen glauben.
    
    Johannes 1,12
    




More information about the TYPO3-dev mailing list