[Typo3-dev] sectionIndex Menu inside plugin

Kevin Fredrick fredrikr at ipfw.edu
Tue Oct 14 17:21:29 CEST 2003


All-

I would like to include a sectionIndex (header) menu inside a plugin. I 
have attached below a copy of the ext_typoscript_setup.txt.

I am thinking that I need some type of includeLibs (???) that will add 
the needed objects? All I am getting is "HMENU" instead of the menu…

----- ext_typoscript_setup.txt -----

#
#  Include the CalloutBoxShortcuts
#
includeLibs.tx_wehlcalloutboxshortcuts_pi1 = 
EXT:wehl_calloutbox_shortcuts/pi1/class.tx_wehlcalloutboxshortcuts_pi1.php

#
# 
--[MENU]-[Shortcuts]-----------------------------------------------------------------------------
#
menu.shortcuts = HMENU
menu.shortcuts.1 = TMENU
menu.shortcuts.1 {
   sectionIndex = 1
   sectionIndex.type = header
   wrap = <table width="100%" border="0"> | </table>
   NO {
     allWrap = <tr><td class="call_out_box"> | </td></tr>
   }
}

#
# 
--[PLUGIN]-[CalloutBoxShortcuts]-----------------------------------------------------------------------------
#
plugin.tx_wehlcalloutboxshortcuts_pi1 >
plugin.tx_wehlcalloutboxshortcuts_pi1 = USER_INT
plugin.tx_wehlcalloutboxshortcuts_pi1 {
   userFunc = tx_wehlcalloutboxshortcuts_pi1->main
   templateFile = {$plugin.wehlcalloutboxshortcuts.file.templateFile}
   contentShortcuts < menu.shortcuts
}

--Kevin Fredrick





More information about the TYPO3-dev mailing list