Author Topic

Xavier Dutoit

Wednesday 07 September 2005 1:59:13 am

Comment19932

Hi,

Thanks Roy for sharing your trick.

I prefer to create a few extra nodes (in the media folder usualy), eg "top stories, promo home page, items in the left hand column...".

On the overrided templates (eg the home page one), I fetch the children of these nodes with some extra rules (eg, fetch only the latest children from the promo...).

If I need to order some of these items (eg the news), I use the order by priority rule for the children of the node 'top stories' and set the prio by hand et voila !

A last trick: when I'm in a good mood, I create a "dummy" class for these 'structural' nodes, and I override the full and line view to display nothing, so if a user type /media/promo he doesn't the list of all the promos.

X+

http://www.sydesy.com