[pmwiki-users] Automated WikiTrails.
Roman
romat2 at gmail.com
Tue Aug 29 03:26:24 CDT 2006
> The intent is that all I need to do to add a new chapter to StoryTitle
> is to simply save it in the Stories group with its chapter number and it
> will gain an appropriate wikitrail while the StoryTitle page will be
> automatically updated.
If you put this to Site/LocalTemplates:
[[#trailstory]]
(:if equal {$FullName} {=$FullName}:)%wikitrail%[[{<$FullName}|<<
Previous Story - {{<$FullName}$Title}]] | [[StoryTitle/]] |
[[{>$FullName}|Next Story - {{>$FullName}$Title} >>]](:if:)
[[#trailstoryend]]
then this to Story GroupHeader
(:pagelist name=StoryTitle.StoryTitle-* fmt=#trailstory:)
and this to StoryTitle/
(:pagelist name=StoryTitle.StoryTitle-*:)
will it do what you want?
Roman
More information about the pmwiki-users
mailing list