You could do this dynamically by naming the container with a hash of the first x objectids of ancestors from root. ie. for all primary sections that would simply be hashing the concatenated objectid's for ROOT, Home, Section.

We're looking at a revision to container management in 2.3 due out Jul/Aug. That will make this easier and hopefully provide a shared container management area in the admin.

-- geoff
http://www.daemon.com.au/

PS. we're all a bit flat out right now.. but 2.2 milestone is about ready to be tagged and tested.

Chris Kent wrote:
Hi,

I am working on a an entertainment news and reviews site - this site has a number of "channels", music, tv, films... Each channel has a branch in the site tree.

Problem:
What I required was to be able to set containers and rules for the channel - that would apply to all pages within that channel. This does not fit the Farcry setup for naming containers - either page or site-wide and I did not want to have to maintain every page and every container within a channel.


Solution: Dynamic named containers.
I set a navalias for each channel top-level navigation node (nlevel = 2).

Then for each page, I get the the pages ancestor at nlevel=2 to get the navalias for the current channel.

This channel navalias is used as the prefix for the container name for any containers that I wish to be channel containers. These containers and any rules are then consistent across all pages within the channel.

The only problem that I can see is that this does not allow modification from the Publishing Rules tab in the admin area of Farcry, all container and rule maintenance will need to be done from the site, from any page within a channel these channel containers can be maintained.

hth,
Chris.



--- You are currently subscribed to farcry-dev as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] Aussie Macromedia Developers: http://lists.daemon.com.au/

Reply via email to