|
The pages in this section show how to use the family tokens to link to pages relative to the page you are on.
An important part of Lemon Squeezy's architecture is its hierarchical menu system which is as even easier to modify than the pages themselves.
Click on 'edit structure', and using # to indent, you can make sections and subsections. The top level pages are listed using the token MAINMENU, and the second level pages by the token SUBMENUh. Click on 'edit structure' below, and try for yourself. There is more explanation on that page. It's easy!
It can be a bit confusing at first, so bear these points in mind.
- A page is any file on the wiki that ever had content (there is no delete page feature) If a page never had content, it never existed
- The menu is full of page names. If you mistype one, you will know because you will link to that page and it won't exist yet.
- The menu is an excellent place to declare new pages. Just write them in and then edit them
- If you lose pages, its usually because the page names are case sensitive. But don't worry, there is help on the 'restructure' page to tell you which pages are not included in the sitemap and which pages have been declared in sitemap but do not exist.
- Because this is not a real folders and files system, it is easy to have one page in two places in the menu.
Like all wikis, pagenames must be unique, but there is a way that you can make pages look as if they have the same names. Just remember that everything before the underscore in a page name is hidden from the end user. Now you can have a section for each season of the year, say, and page ostensibly called 'programme' in each. However the pages are really named summer_programme, winter_programme etc.
The section and subsection of the page you are on, are known to be selected, and they have 'SELECTED', appended to their classname, so you can use the stylesheet to highlight them.
You can also put hard links in the menu to wherever you like - another wiki or another website.
|