Liz,
Wikitrails are great, but I don't know any way to make them give you
the words "next page" and "previous page".
Ideally you'd use something like: [[{$previous_link_in_trail} | <<
previous page ]] [[{$next_link_in_trail} | next page >> ]]
Since there are no page variables like $previous_link_in_trail, if you
have to have those words appear, you could hard-code a section of an
index page like this:
The pages in this sequence are
P1: YourGroup.YourFirstPage
P2: YourGroup.YourSecondPage
P3: YourGroup.YourThirdPage
[[#PreviousNextLinks]]
(:if equal {*$FullName} {$:P1}:) [[ {$:P2} |next page>>]]
(:elseif equal {*$FullName} {$:P2}:) [[ {$:P1} |<<previous page ]] -
[[ {$:P3} |next page>> ]]
(:elseif equal {*$FullName} {$:P3}:) [[{$:P2} |<<previous page ]]
(:ifend:)
[[#PreviousNextLinksend]]
Then you can put (:include MyIndexPage#PreviousNextLinks:) on each
page in the sequence. It's more of a maintenance headache than
Wikitrails, so I would use the Wikitrails instead if that works for you.
Good luck,
Randy
On Jan 10, 2008, at 2:53 PM, Liz Castro wrote:
Hi, I've been wandering about the documentation looking for ways to
do this, but didn't find any.
Is there a way to define a sequence of pages and then create a link
to the "next page" or to the previous page?
thanks,
Liz
_______________________________________________
pmwiki-users mailing list
[email protected]
http://www.pmichaud.com/mailman/listinfo/pmwiki-users
_______________________________________________
pmwiki-users mailing list
[email protected]
http://www.pmichaud.com/mailman/listinfo/pmwiki-users