Re: [Dave] Category List Control
Hi, Dave -
I'm exploring ways to move between related categories. Specifically, I'd like the system to display links to child and parent categories if they exist.
In coding terms I want to say: "if this category/page has a child, create a link to it..."
A similar statement would be used to identify the existence of a parent.
This would be an incredibly neat and useful way of linking a chain of pages together. All you need to do is make each successive page a child of the previous page. You should then be able to move up and down the chain in a prescribed sequence.
Think of it as a kind of inter-category pagination!
I've already used this set-up on a site I'm developing for a client. There was too much text to display on his "About Us" page so it had to be spread across multiple pages. At the foot of each page the system displays a "more..." link which takes the reader to the next descendent in the order.
The only drawback is the code - which is rather clunky! In effect you have to pull up the entire category network, then exclude every link that doesn't apply by means of <if... {continue}> rules. What's left is usually a link to the previous or next page!
I just think it would be really useful if we could do this by means of a single piece of code. Clients would then be better able to add/insert pages wherever a specific sequence is required, complete with the necessary links.
Must be worth further investigation.
:0)
Perch