Noah Kantrowitz wrote: > 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. ... > > req.hdf = HDFWrapper(loadpaths) > > > > I'm doing something wrong, but as said... blindness! > > Read the Clearsilver API docs, they should how to walk an HDF using > nextNode() and childNode().
I don't like Clearsilver. (btw: I was overworked, you can see it from my suggestion, which completely overwrites the hdf). I have implemented it abstractly: http://dev.lazaridis.com/base/changeset/48 . --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
