Loading...
 
Skip to main content

Display in the toc "only" all sub level entry within a structure

Status
Closed
Subject
Display in the toc "only" all sub level entry within a structure
Version
15.x
16.x
Category
  • Feature request
Feature
Wiki Structure (book & table of content)
Resolution status
Fixed or Solved
Submitted by
Bernard Sfez / Tiki Specialist
Volunteered to solve
Fernando Torres
Lastmod by
Bernard Sfez / Tiki Specialist
Rating
(0)
Description

In the toc we can set maxdepth (how many sub-level) we wan to display.
However there are case you need only sub-level to be displayed.

A structure Europe with several children (France, England, etc) that have them self (Paris, London, etc) children.

Europe (top level)
-> France (sub-level 1)
-> Paris (sub-level 2)
-> England (sub-level 1)
-> London (sub-level 2)

Using the wikiplugin_toc we want to show all the second child (sub-level 2) for all the structure Europe and not any of the level above it.

The toc will show:
Paris (level 2)
London (level 2)

Workaround
Fixed with commit 59681
Importance
5
Easy to solve?
5
Priority
25
Demonstrate Bug on Tiki 19+
Demonstrate Bug (older Tiki versions)
Ticket ID
6068
Created
Tuesday 02 August, 2016 16:44:20 UTC
by Bernard Sfez / Tiki Specialist
LastModif
Monday 09 January, 2017 17:08:19 UTC


Show PHP error messages