Russian TYPO3 community

Russian TYPO3 community (http://forum.typo3.ru/index.php)
-   Общие вопросы (http://forum.typo3.ru/forumdisplay.php?f=12)
-   -   многоуровневое меню из itemArrayProcFunc (http://forum.typo3.ru/showthread.php?t=649)

alex 04.06.2005 18:18

многоуровневое меню из itemArrayProcFunc
 
нужно сгенерить не один массив с пунктами меню а многоуровневое меню

подскажите где копать ?

Valery Romanchev 04.06.2005 19:50

не очень понятно, что требуется.
Похоже что это:
Example: Creating hierarchical menus of custom links
By default the HMENU object is designed to create menus from pages in TYPO3. Such pages are represented by their page-record contents. Usually the \"title\" field is used for the title and the \"uid\" field is used to create a link to that page in the menu.

However the HMENU and sub-menu objects are so powerful that it would be very useful to use these objects for creating menus of links which does not relate to pages in TYPO3 by their ids. This could be a menu reflecting a menu structure of a plugin where each link might link to the same page id in TYPO3 but where the difference would be in some parameter value.

This can be easily done with the special-type \"userdefined\" (see table above) where you can return an array of menu items customly build in a PHP-script you write.

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

А может что-то типа этого:
www.typo3assist.com ?

alex 04.06.2005 21:43

\"_SUB_MENU\" :)
как все просто оказалось
а я совсем не там копал

большое спасибо


Часовой пояс GMT +4, время: 20:25.

Работает на vBulletin® версия 3.8.1.
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Перевод: zCarot