plugin:indexmenu
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
plugin:indexmenu [2023-09-08 16:34] – [Examples:] add current namespace expands all because not that intuitive 78.121.109.166 | plugin:indexmenu [2024-04-29 06:22] (current) – [Temporary multiple js trees] 45.78.57.234 | ||
---|---|---|---|
Line 6: | Line 6: | ||
email : samuele@samuele.netsons.org | email : samuele@samuele.netsons.org | ||
type : syntax, | type : syntax, | ||
- | lastupdate : 2022-08-01 | + | lastupdate : 2024-01-05 |
- | compatible : Jack Jackrum, Igor,rincewind, angua, adora belle, Weatherwax, Binky, Ponder Stibbons, Hrun, Detritus, Elenor Of Tsort, Frusterick Manners, Greebo, !Hogfather | + | compatible : !Greebo, !Hogfather, Igor, Jack Jackrum, Kaos |
depends | depends | ||
conflicts | conflicts | ||
similar | similar | ||
- | tags : navigation, menu, listing, namespace, ajax, index | + | tags : navigation, menu, listing, namespace, index |
sourcerepo : https:// | sourcerepo : https:// | ||
Line 19: | Line 19: | ||
---- | ---- | ||
- | ^ :!: If you use the Indexmenu' | + | ^ :!: Since December 2023 two JavaScript trees are available for Indexmenu' |
+ | |||
+ | ===== Description ===== | ||
This plugin allows you to insert a fully customizable index or a list of pages starting from a specified namespace. | This plugin allows you to insert a fully customizable index or a list of pages starting from a specified namespace. | ||
Line 61: | Line 63: | ||
====== Syntax ====== | ====== Syntax ====== | ||
- | |||
- | **Minimum syntax:** | ||
- | |||
- | * '' | ||
- | * '' | ||
- | * '' | ||
- | |||
- | That means this '' | ||
**Basic syntax usage:** | **Basic syntax usage:** | ||
Line 77: | Line 71: | ||
:!: All the syntax options can be easily accessed with the indexmenu picker in the [[:edit window]] [[: | :!: All the syntax options can be easily accessed with the indexmenu picker in the [[:edit window]] [[: | ||
+ | |||
+ | |||
+ | **Minimum syntax: | ||
+ | |||
+ | '' | ||
+ | That means this '' | ||
Line 83: | Line 83: | ||
Settings **before the " | Settings **before the " | ||
^Main ^Action ^Note| | ^Main ^Action ^Note| | ||
- | ^ //'' | + | ^ //'' |
^ //''# | ^ //''# | ||
- | ^ //'' | + | ^ //'' |
Optional settings **after the " | Optional settings **after the " | ||
Line 99: | Line 99: | ||
^ '' | ^ '' | ||
^ '' | ^ '' | ||
- | ^ '' | + | ^ '' |
+ | ^ '' | ||
^ '' | ^ '' | ||
^ '' | ^ '' | ||
^ '' | ^ '' | ||
^ '' | ^ '' | ||
- | | Next options are //only// available with //**js**// option. ||| | + | | Next options are //only// available with //**js**// option |
^ '' | ^ '' | ||
^ '' | ^ '' | ||
Line 112: | Line 113: | ||
^ '' | ^ '' | ||
^ '' | ^ '' | ||
+ | | \\ Next options are //only// available with //**js**// option -- with '' | ||
+ | ^ '' | ||
+ | |||
+ | ===== Temporary multiple js trees ===== | ||
+ | The js option uses so far the JavaScript [[http:// | ||
+ | |||
+ | To replace it, the JavaScript [[https:// | ||
===== Examples ===== | ===== Examples ===== | ||
Line 118: | Line 126: | ||
A sample of an indexmenu JS index that could be used inside a navigation sidebar. Its initial status is blocked by the nocookie option, so, when the page is reloaded, it doesn' | A sample of an indexmenu JS index that could be used inside a navigation sidebar. Its initial status is blocked by the nocookie option, so, when the page is reloaded, it doesn' | ||
< | < | ||
- | {{indexmenu> | + | {{indexmenu> |
</ | </ | ||
JS navigation index with " | JS navigation index with " | ||
< | < | ||
- | {{indexmenu> | + | {{indexmenu> |
</ | </ | ||
Line 179: | Line 187: | ||
in this way: | in this way: | ||
< | < | ||
- | {{indexmenu> | + | {{indexmenu> |
</ | </ | ||
< | < | ||
Line 193: | Line 201: | ||
Pages without sort number, like the last three pages, are sorted by page name as default, but you can force a different sort: | Pages without sort number, like the last three pages, are sorted by page name as default, but you can force a different sort: | ||
< | < | ||
- | {{indexmenu> | + | {{indexmenu> |
</ | </ | ||
< | < | ||
Line 267: | Line 275: | ||
Set this option with a DokuWiki page ID (i.e: '' | Set this option with a DokuWiki page ID (i.e: '' | ||
< | < | ||
- | {{indexmenu> | + | {{indexmenu> |
</ | </ | ||
or | or | ||
< | < | ||
- | {{indexmenu> | + | {{indexmenu> |
</ | </ | ||
You may also want to hide this page in any indexmenu trees with the [[.: | You may also want to hide this page in any indexmenu trees with the [[.: | ||
Line 339: | Line 347: | ||
==== Github changelog ==== | ==== Github changelog ==== | ||
- | {{rss> | + | {{rss> |
- | + | ||
- | + | ||
- | ==== Release changelog ==== | + | |
- | + | ||
- | * **2014-08-01** | + | |
- | * Default options can be configured in Config Manager for whole wiki | + | |
- | * Supports nolatin pagenames better | + | |
- | * remove more empty nodes (only with indexmenu indexer, which is used when one of sort options added) | + | |
- | * contextmenu can be translated as well | + | |
- | + | ||
- | * **2013-04-24 Version 5.0**: | + | |
- | * Reformat of all code to Dokuwiki code style | + | |
- | * Rewrite all javascript to jQuery instead of old js api (includes improvements from [[tindexmenu]] plugin) | + | |
- | * Added a new toolbar wizard | + | |
- | * Used Dokuwikis javascript include mechanism | + | |
- | * add '' | + | |
- | * Rewrite the ajax stuff into action plugin (not theme handling stuff) | + | |
- | * Change configuration via menu js files to one file. | + | |
- | * add option '' | + | |
- | * Improved support for [[config: | + | |
- | * Added syntax option to add '' | + | |
- | * Adding curid span like DokuWiki performs on internal links. | + | |
- | * Fixed: When only had indexmenu syntax in sidebar, in js rendered index the backup index wasn't hidden. | + | |
- | * Fixed: Ajax completion supports Korean characters too. - by [[user> | + | |
- | * **2009-08-29 Version 4.6**: | ||
- | * :!: //New Feature//: Namespace declaration complies with DokuWiki [[: | ||
- | * //New Feature//: Added the //context// option. It resolves relative requested namespaces starting from the current user location instead of the page containing the indexmenu syntax. | ||
- | * :!: //New Feature//: Changed skip_file and skip_index syntax to use DokuWiki ID instead of system paths. Thanks to Dmitry Katsubo. | ||
- | * //New Feature//: Metatada titles are not rendered when recursively building the indexmenu tree. This will speed up the page loading when cache expires, but could not display the heading title for nodes without metadata information. | ||
- | * //New Feature//: Added the nojs button in the edit toolbar and toolbar CSS classes. | ||
- | * //New Feature//: The right JS context menu is closed by any document click. Thanks to Urban. | ||
- | * //Bug//: Fixed a bug which prevents page caching when it contains only indexmenu syntax. | ||
- | * //Bug//: Disable JS indexmenu cookies in preview mode. | ||
- | * //Bug//: Fixed an ACL issue. | ||
- | * //Bug//: Fixed UTF8 TOC preview bug. | ||
Line 394: | Line 367: | ||
When the '' | When the '' | ||
- | Inside | + | The indexmenu has already a couple of themes included. Adding another theme is simply as adding another folder with the theme name filled with the relevant files. (As long as it is still available |
- | + | ||
- | Instead of installing you can also simply download a theme into your PC with the '' | + | |
The JavaScript tree menu is based on [[http:// | The JavaScript tree menu is based on [[http:// | ||
Line 425: | Line 396: | ||
Use your theme with **'' | Use your theme with **'' | ||
- | You can also customize a theme style further by creating its [[.:indexmenu#Custom theme CSS style|own css style]] as '' | + | You can also customize a theme style further by creating its [[#Custom theme CSS style|own css style]] as '' |
The default icons file format is GIF, but PNG and JPG are also supported. To use them in place of GIF, you have to name your theme directory with the appropriate image extension. For example: '' | The default icons file format is GIF, but PNG and JPG are also supported. To use them in place of GIF, you have to name your theme directory with the appropriate image extension. For example: '' | ||
Line 535: | Line 506: | ||
- To have the last indexmenu version installed. For example check that its date is the same of [[.: | - To have the last indexmenu version installed. For example check that its date is the same of [[.: | ||
- To have used a correct [[.: | - To have used a correct [[.: | ||
+ | - To have purged CSS and JavaScript and more as cached by DokuWiki. Go to the [[plugin: | ||
- To have purged your browser cache. Use '' | - To have purged your browser cache. Use '' | ||
- | - To have purged server cache following the [[: | ||
- | - To have purged CSS and JavaScript as cached by DokuWiki. Go to the Configuration Manager and just resave, to refresh this caching. | ||
- When you try the javascript version of the indexmenu and it fails, please disable all the self-installed plugins check if now works. Nextly, you enable the plugins one-by-one to find the bad one. | - When you try the javascript version of the indexmenu and it fails, please disable all the self-installed plugins check if now works. Nextly, you enable the plugins one-by-one to find the bad one. | ||
If problem still persists, please, report the bug with details of your configuration in [[.: | If problem still persists, please, report the bug with details of your configuration in [[.: | ||
Line 557: | Line 527: | ||
I have in my sidebar the following code | I have in my sidebar the following code | ||
< | < | ||
- | {{indexmenu> | + | {{indexmenu> |
</ | </ | ||
plugin/indexmenu.1694183672.txt.gz · Last modified: 2023-09-08 16:34 by 78.121.109.166