devel:menus
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
devel:menus [2019-01-06 14:55] – Aleksandr | devel:menus [2019-05-06 22:23] (current) – daumling | ||
---|---|---|---|
Line 53: | Line 53: | ||
Please refer to the [[gh> | Please refer to the [[gh> | ||
+ | |||
+ | If you need specific HTML for menu items, you need to loop over the menu items and create the HTML | ||
+ | yourself. For example, this loop would create the icons in the [[: | ||
+ | |||
+ | <code php> | ||
+ | $items = (new \dokuwiki\Menu\PageMenu())-> | ||
+ | foreach($items as $item) { | ||
+ | echo '< | ||
+ | .'< | ||
+ | .'< | ||
+ | . '< | ||
+ | . '</ | ||
+ | } | ||
+ | </ | ||
===== Legacy Support ===== | ===== Legacy Support ===== |
devel/menus.txt · Last modified: 2019-05-06 22:23 by daumling