Re: linear navigation ("blaettern")

Sebastian Tänzer <[email protected]> Fri, 29 Oct 2010 17:45:09 +0200
Newsgroups gmane.comp.cms.zms.devel
Message-ID <[email protected]>
Hi Nils,

have a look at the API at http://www.zms-publishing.com/$ZMS_HOME/doc/epydoc/Products.zms.zmscontainerobject.ZMSContainerObject-class.html - getPrevPage, getNextPage etc. is what you're looking for.

Best
Sebastian

-
tänzermedien e.K. - Agentur für Online-Medien
E-Mail: [email protected]  Web: http://www.taenzer.me 
Tel.: 0228-304134-0  Fax.: 0228-304134-99
Kekuléstr. 39, 53115 Bonn, Germany
Bürozeiten: Mo.-Fr., 11:00 - 18:00 Uhr

Am 29.10.2010 um 17:41 schrieb Niels Dettenbach:

> Dear all,
> 
> 
> is there any ZMS API function within ZMS which allows to get the "next" or 
> "previous" (PAGE) object of a (PAGE) object directly - i.e. to realize a 
> linear navigation (" <<prev next >>"  buttons) which allows (recursive) linear 
> navigation during a content tree?
> 
> My current ideas (i.e. loading the whole subtree of the parent and walk 
> through them to find the next page) sounds inefficient to me here and i'm just 
> wondering if there is no easy / direct way to realize such cms typical 
> functionality (may be i have fresh tomatoes on my eyes ;)...
> 
> Many thanks for any hint.
> 
> 
> best regards and have a nice weekend,
> 
> 
> Niels.
> 
> -- 
> 
> ---
> 
>  Niels Dettenbach
>  ---
>  Syndicat IT&Internet
>  http://www.syndicat.com
>  T.-Muentzer.-Str. 2, 37308 Heilbad Heiligenstadt - DE
>  ---
>  Kryptoinfo: 
>  PGP public key ID 651CA20D
>  Fingerprint: 55E0 4DCD B04C 4A49 1586  88AE 54DC 4465 651C A20D
>  https://syndicat.com/pub_key.asc
>  ---