History: PluginAutoTOC
Source of version: 2
Copy to clipboard
New in ((Tiki23)), this plugin allows to automatically generate a table of contents (TOC) in a wiki page. It permits to leverage the ((Auto TOC)) feature, with more flexibility on a page per page basis. Its use is relatively simple, you just have to add its syntax code in a wiki page in which headings are located (tag H1 to H6). !! Parameters {pluginmanager info="description|parameters|paraminfo" plugin="autotoc" showparamtype="y" showtopinfo="y"} !! Enabling/Disabling To enable/disable PluginAutoTOC, go to __Control Panels__ » __Main Features__ » __Edit and Plugins__, then check "Experimental" option in "Preference Filters". Please, see the screenshot below : {img src="display1784" link="display1784" width="400" rel="box[g]" imalign="center" desc="Click to expand" align="center" styleimage="border" alt="PluginAutoTOC Enabling/Disabling"} !! Usage The plugin settings offer more ways to work with the table of contents: make it visible or not, position it on the left or right side of a wiki page, hide the titles of your choice, etc. !!! Activity Is the only mandatory parameter. Its possible values are "yes/no", ''yes'' to display the table of contents and ''no'' to not display it. __Note__: When you add the PluginAutoTOC to a page that contains a table of contents generated by the ((Auto%20TOC)) functionality, the latter will be replaced by the one generated by the PluginAutoTOC. __Example__: The code below will add a table of contents to the right of a wiki page if there are headings (H1 to H6). {CODE()}{autotoc activity="yes"}{CODE} https://sourceforge.net/p/tikiwiki/code/77744 https://sourceforge.net/p/tikiwiki/code/77745