Commit graph

12 commits

Author SHA1 Message Date
9e5c7a32e3 Add ability to identify a link to the current page
A new MenuItem boolean property is available, $is_active:
- its value is true if the link points to the current page
- its value is false otherwise
2020-04-28 13:11:30 +02:00
c24b382c3b Allow identification of links to non-existing pages
An extra class is added to generated links:
- "wikilink1" for links to existing pages
- "wikilink2" for links to new pages
2020-04-28 12:52:46 +02:00
b2c7692a59 Fix generation of link back to main page 2020-04-05 18:24:59 +02:00
91c198cf0a Add a prefix to the type of menu items generated by this plugin
The prefix used is "childrenpages_".
This should make it easier for template builders to identify the menu
items added by this plugin.
2020-04-05 15:25:56 +02:00
83bba9954a On children pages, show links to other children pages and back to the main parent page 2020-04-03 22:37:30 +02:00
e137f57890 Ensure compatibility with "translation" plugin
cf. https://www.dokuwiki.org/plugin:translation
2020-04-03 22:13:43 +02:00
9844188469 Improve handling of compatibility with "translate" plugin 2020-04-03 05:32:33 +02:00
32290a00d1 Ensure compatibility with "translate" plugin
cf. https://www.dokuwiki.org/plugin:translate
2020-04-03 02:46:35 +02:00
71295a3ec3 Generate a label from the item type if none is provided 2020-04-03 02:14:16 +02:00
c1c8deef10 Add link to children pages from any page that is not included in a namespace 2020-04-03 01:52:49 +02:00
b1725f934c Add a localized label on generated menu items 2020-04-03 01:44:50 +02:00
eefa64ecb4 Generate new menu items from a hardcoded list of children 2020-04-03 01:15:41 +02:00