Hammer Navigator
nav_first.pngFirst: package:1
Wikidot per-site help
Edited: 08 Nov 2009 12:06 by: pieterh
Comments: 0
nav_prev.pngPrevious: package:3
Edited: 12 Nov 2009 10:17 by: pieterh
Comments: 0
Last: package:49
Advanced Search
Edited: 01 May 2012 12:30 by: tsangk
Comments: 68
Next: package:5
Edited: 12 Nov 2009 10:18 by: pieterh
Comments: 0

Hammer Navigator
Package submitted by pieterh
08 Nov 2009 11:10

rating: 0+x

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.


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

Comments: 1

Add a New Comment
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License