This module provides the simple Hammer Navigator for pages in a site. Use this module rather than hard-coding the Navigator, so that you automatically get new versions. The Hammer Navigator is a simplified version of the full Navigator module.
Instructions
To install this module in your site, create/edit these pages with the following content:
This page | Contains this line |
---|---|
main:start | [[include :csi:include:hammer-navigator page=main:start | category=module | label=Module]] |
You can put the navigator into any page (not necessarily 'main:start') but you must provide the page name and category. The label is used to produce a "Create a new something" link.
Remember to switch on auto-numbering for the category in Site Manager, otherwise the "Create a new something" link will not be able to create more than one new page.
The default sort order is to show the most recent pages first.
Tips and hints
The navigator assumes comments are bookmarked with #comments. So, in your _template, use this code to add per-page comments to each page:
[[# comments]]
++ **Comments:** %%comments%%
[[module Comments hideForm="true"]]
Include files
Navigator main | By pieterh | 08 Nov 2009 11:10 |
Navigator header | By pieterh | 08 Nov 2009 11:10 |
I'd like to have a version of this without the page creation button (I have a NewPage module that has different settings for tags, etc that I want to use instead)
Is that possible?
I'll have a look at it later… if I remember.
~ Leiger - Wikidot Community Admin - Volunteer
Wikidot: Official Documentation | Wikidot Discord server | NEW: Wikiroo, backup tool (in development)