[Zope] HOWTO (but to be improved) - linking to neighbours

Dieter Maurer dieter@handshake.de
Wed, 16 Aug 2000 23:13:14 +0200 (CEST)


Marcin Kasperski writes:
 > * Problem 
 > 
 > The problem: while presenting some page, I would like to automagically
 > add links to 'previous' and 'next' page in the same directory. Say you
 > organize a bunch of HOWTOS and you would like to let the people navigate
 > via 'next' links - without going back go table of contents.
You could use:

	<dtml-in "PARENTS[0].objectValues()" sort=id size=1 orphan=0>
           <!-- Navigation -->
	   <dtml-var sequence-item> <!-- header/footer should be disabled -->
	</dtml-in>


Dieter