Loading...
 
Skip to main content

TOC plus structId and pagename params not working (v4.2)

Status
Open
Subject
TOC plus structId and pagename params not working (v4.2)
Version
4.x
Category
  • Error
Feature
Wiki Plugin (extends basic syntax)
Submitted by
EmmArrBee
Lastmod by
EmmArrBee
Rating
(0)
Description

The "pagename" parameter of {toc} seems to be ignored.

On any new wiki page {toc} would not be expected to show anything since the page is not part of a structure. This works as expected.

However change that to {toc maxdepth=3 shownum=1 structId=15} (or any other valid structure Id) and the first three levels of the structure are correctly listed.

From that structure listing, pick a target page, preferably one which is known to have sub-ordinate pages in the structure, for example
{toc maxdepth=3 shownum="1" structId=15 pagename=Group#03} or {toc maxdepth=3 shownum="1" structId=15 pagename=Smith_Fred_1234}

This should list the structure below page "Group#03" or "Smith_Fred_1234", but instead it lists the root of the structure, as if the "pagename" was missing.

Also, for a page in a structure, the pagename does not default to the current page (as per documentation at http://doc.tikiwiki.org/Structure+User ) when structId is used

Further background at http://tikiwiki.org/tiki-view_forum_thread.php?comments_parentId=37636&topics_sort_mode=lastPost_desc&forumId=4 This is really hurting us.

We're new to TikiWiki and any work-around suggestions would be really helpful.

Thanks

Martin

U1. Updated with alternate example page names

Importance
8
Priority
40
Demonstrate Bug on Tiki 19+
Demonstrate Bug (older Tiki versions)
Ticket ID
3465
Created
Friday 02 July, 2010 12:27:49 UTC
by EmmArrBee
LastModif
Friday 02 July, 2010 13:48:26 UTC


Show PHP error messages