Re: Setting depth with the flav_config plugin

will guaraldi <[email protected]>
Newsgroups gmane.comp.web.pyblosxom.user
Message-ID <[email protected]>
Mmm...  You could do it in the filelist callback.  The Request object gets 
passed in and you could modify the depth config property in-place.

Alternatively, you could register with the prepare callback and filter the 
filelist at that point rather than changing the depth property.

/will


On Sat, 4 Dec 2004, Stuart Langridge wrote:
>
> I thought you might say that, and I have contacted the plugin author. 
> However, I'll then ask a more general question: where in the callback 
> chain should I insert a plugin which can limit the "depth" setting on a 
> directory-by-directory basis?


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
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.