Loading...
 
Documentation

Documentation


Re: Re : improving menus

posts: 400

pianoliv,

All sound like good ideas. I like the idea of using new and smaller structures for the site. The large main structure on the Doc site is very slow and has a bug that I haven't been able to recreate on other test sites. For instance, you can see on Wiki+Plugin that the list of plugin pages is not in alphabetical order. That's because moving the pages in the structure no longer works and pages sometimes can't be added either - a new structure for wiki plugins would help fix this.

But with new smaller structures we will again have the problem of a default structure. It's not very elegant, but I think PluginParam could be used as a workaround. For instance, I've put the following syntax at the bottom of Wiki+Plugin

Copy to clipboard
{PARAM(name="structure")} {ELSE}{redirect page="Wiki+Plugin&structure=Tiki+User+Guide"}{PARAM}


Now if someone goes to doc.tiki.org/Wiki+Plugin, PluginParam will see that no structure has been specified and redirect the page so that it opens within the Tiki User Guide structure. If the url already specifies a structure, like doc.tiki.org/Wiki+Plugin&structure=Documentation+TOC, then PluginParam will only add a space to the page and let it open in that structure. (I have caching turned off on that page temporarily to show this working)
Regards,
lindon

There are no comments at this time.

Upcoming Events

1)  18 Apr 2024 14:00 GMT-0000
Tiki Roundtable Meeting
2)  16 May 2024 14:00 GMT-0000
Tiki Roundtable Meeting
3)  20 Jun 2024 14:00 GMT-0000
Tiki Roundtable Meeting
4)  18 Jul 2024 14:00 GMT-0000
Tiki Roundtable Meeting
5)  15 Aug 2024 14:00 GMT-0000
Tiki Roundtable Meeting
6)  19 Sep 2024 14:00 GMT-0000
Tiki Roundtable Meeting
7) 
Tiki birthday
8)  17 Oct 2024 14:00 GMT-0000
Tiki Roundtable Meeting
9)  21 Nov 2024 14:00 GMT-0000
Tiki Roundtable Meeting
10)  19 Dec 2024 14:00 GMT-0000
Tiki Roundtable Meeting