Re: Multipage news article qn
[email protected] (Banzai) Mon, 8 Sep 2003 17:09:38 +0000 (UTC)
| Newsgroups | gmane.comp.cms.xaraya.knowledge-base |
|---|---|
| Organization | not organized |
| Message-ID | <[email protected]> |
mikespub wrote: > You could for instance check the value of the $previous variable. > If it's empty, there's only 1 page - if it's you're on the first > page - otherwise, you're on some subsequent page. > So something like this would only show the summary on the > first page : > <xar:if condition="empty($previous) or $previous eq ' '"> > #$summary# > <xar:else/> > <!-- hide the summary here --> > </xar:if> > It would probably be easier if we passed the $page variable > to the template, but this should work for now... :-) > Mike. Thank you... Banzai