samuelet / indexmenu

A dokuwiki plugin to show a customizable and sortable index for a namespace.
http://dokuwiki.org/plugin:indexmenu
GNU General Public License v2.0
44 stars 43 forks source link

New features : Custom Titles and Table of Contents Order #248

Closed zmdo closed 2 years ago

zmdo commented 2 years ago

NEW FEATURES

Added two features :

custom index title

Syntax : {{indexmenu_title>YOUR_TITLE}} \ title display priority : indexmenu_title > page title > file name

custom index order

Both namespaces and pages are now sorted according to the value of indexmenu_n .\ The indexmenu_n value of the directory is determined by the homepage .

ns_1
|---- page_1                  ..... indexmenu_n = 1
|---- page_2                  ..... indexmenu_n = 2
|---- ns_2                    ..... indexmenu_n = 3 ( homepage )
|     |---- page_23           ..... indexmenu_n = 1
|     |---- page_24           ..... indexmenu_n = 2
|
|---- page_3                  ..... indexmenu_n = 4
|---- page_4                  ..... indexmenu_n = 5
zmdo commented 2 years ago

index title example

(1) write title by indexmenu_title tag

title2

(2) save and show

title1

index order example

n_example