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
- 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+
-
This bug has been demonstrated on show2.tiki.org
Please demonstrate your bug on show2.tiki.org
Show.tiki.org is not configured properlyThe public/private keys configured to connect to show2.tiki.org were not accepted. Please make sure you are using RSA keys. Thanks.
- Demonstrate Bug (older Tiki versions)
-
This bug has been demonstrated on show.tikiwiki.org
Please demonstrate your bug on show.tikiwiki.org
Show.tiki.org is not configured properlyThe public/private keys configured to connect to show.tikiwiki.org were not accepted. Please make sure you are using RSA keys. Thanks.
- Ticket ID
- 3465
- Created
- Friday 02 July, 2010 12:27:49 UTC
by EmmArrBee - LastModif
- Friday 02 July, 2010 13:48:26 UTC