Read the Clearsilver API docs, they should how to walk an HDF using  
nextNode() and childNode().

--Noah

On Sep 16, 2006, at 7:34 AM, Ilias Lazaridis wrote:

>
> Noah Kantrowitz wrote:
>> Sorry, looks like Alec took that bit of hackery out. The way
>> ClearSilver looks for templates is by examining each folder in the
>> 'hdf.loadpaths' HDF variable. Normally the project templates folder
>> and the central templates folder are the first two items in this
>> list, with plugin folders being added below that. If you munged this
>> list so your folder appears first, you can mask out other templates.
> ...
>
> I'm a little overworked at this point, and start to get confused with
> this hdf thing. A little blindness gives the rest.
>
> Is it ok if I munge this hdf.loadpaths within "post_process_request" ?
>
> to the code:
> def post_process_request(self, req, template, content_type):
> ...
>
> loadpaths = <how do I retrieve the actual "load-paths" from within the
> hdf>
> loadpaths.insert(0, <my-path>
> req.hdf = HDFWrapper(loadpaths)
>
> I'm doing something wrong, but as said... blindness!
> .
>
>
> >


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/trac-users
-~----------~----~----~----~------~----~------~--~---

Reply via email to