[TYPO3-dev] Injecting levels into menus

Christopher bedlamhotel at gmail.com
Tue Feb 7 04:58:30 CET 2006


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".


-Christopher

[1] http://typo3.org/documentation/document-library/doc_core_tsref/HMENU/




More information about the TYPO3-dev mailing list