Re[2]: blog-collections as submenue of a other collection

qMax <[email protected]>
Newsgroups gmane.comp.cms.bitflux.general
Message-ID <[email protected]>
Thursday, December 29, 2005, 5:15:49 PM, Christian Stocker wrote:


CS> On 26.12.2005 12:10 Uhr, qMax wrote:
>> Tuesday, November 1, 2005, 12:11:12 AM, Matthias Dieke wrote:
>> MD> The collection "aktuell" has some more sub-collections:
>> MD> /akutell
>> MD>    /news (the blog)
>> MD>    /notizblock
>> MD>    /interview
>> MD>    ...
>> MD> To get a nested menue for the blog like this:
>> MD> /akutell
>> MD>    /news (the blog)
>> MD>      /all
>> MD>      /presse
>> 
>> I have similar wish, but cannot overload menu generating templates,
>> since they are too complex
>> (work with 2-passes using exsl:node-sets, and lot of other stuff to
>> generate navtree-like structure)
>> 
>> Is there another way to achive making categories to appear as
>> subcollections ?

CS> I agree, it's a little mess right now and we have to rethink the
CS> navigation-generation code (especially for the blog and the gallery
CS> plugin). I don't have a short and easy solution right now

Just an idea.
IIRC, when collection children are requested, collection.php
calls some hooks for plugins, configured for the collection.
(somewehere in getChildren)

the getChildren method in blog.php already generates some categories
related stuff, but seems it is not used in collection.php

-- 
 qMax

-- 
bitflux-cms mailing list
[email protected]
http://lists.bitflux.ch/cgi-bin/listinfo/bitflux-cms
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.