plugin:menuext
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revisionNext revisionBoth sides next revision | ||
plugin:menuext [2021-07-13 10:43] – created andi | plugin:menuext [2021-08-02 14:09] – annda | ||
---|---|---|---|
Line 6: | Line 6: | ||
email : dokuwiki@cosmocode.de | email : dokuwiki@cosmocode.de | ||
type : action | type : action | ||
- | lastupdate : 2021-07-13 | + | lastupdate : 2021-07-29 |
compatible : hogfather | compatible : hogfather | ||
depends | depends | ||
Line 49: | Line 49: | ||
" | " | ||
} | } | ||
+ | }, | ||
+ | { | ||
+ | " | ||
+ | }, | ||
+ | { | ||
+ | " | ||
} | } | ||
] | ] | ||
Line 58: | Line 64: | ||
- | | order | Position to add this item (starts at 0). Defaults to -2 to add at the end, before the back to top button | + | | order | Position to add this item (starts at 0). Defaults to to add at the end. Use negative numbers |
| label | The label to show on the menu item. One entry per language. | | | label | The label to show on the menu item. One entry per language. | | ||
- | | title | The titel to show on mouseover. One entry per language. | | + | | title | The title to show on mouseover. One entry per language. | |
| link | The link to use when clicking the item, can contain [[: | | link | The link to use when clicking the item, can contain [[: | ||
| svg | The SVG icon to use. Can be a media ID, an absolute file name or a icon from [[https:// | | svg | The SVG icon to use. Can be a media ID, an absolute file name or a icon from [[https:// | ||
| attr | additional attributes to set on the A node in HTML | | | attr | additional attributes to set on the A node in HTML | | ||
+ | |||
+ | Alternatively to creating custom items, you can also reuse existing items by specifying the '' | ||
+ | |||
+ | | order | Position to add this item (starts at 0). Defaults to to add at the end. Use negative numbers to count from the end | | ||
+ | | action | A standard action (see [[devel: | ||
+ | | classname | Fully qualified class name of a menu item created by a plugin, meaning a class extending '' |
plugin/menuext.txt · Last modified: 2023-03-02 13:52 by annda