[Catalyst] Access custom TT filters outside of catalyst context
hhunter at embacee.com
Fri Dec 12 14:59:50 GMT 2008
This doesn't exactly solve my problem, because I'm not in need of the
context object in my view, rather I'm trying to use my view where no context
I solved my issue last night by factoring out my custom filters into a
separate module that I could use Template Toolkit proper (rather than the
Thanks for the advice!
On Thu, Dec 11, 2008 at 6:23 PM, Kieren Diment <diment at gmail.com> wrote:
> On 12/12/2008, at 10:04 AM, Hugh Hunter wrote:
> In an effort to create a sitemap, I want to iterate over all the objects
>> my database and construct urls (which I will write to a file) to view all
>> those objects. Most of the URLs on my site are constructed using custom
>> filters that I have written.
>> My question is this: how do I use these filters in an outside script
>> there is no catalyst context object?
>> I regularly use models in outside scripts using the
>> MyApp->model('Model::Class')->methodname syntax (rather than
>> I'm not having much luck figuring out how to do this with my TT View.
>> Anyone tackled this one before?
> Use either of these techniques in your TT View:
> List: Catalyst at lists.scsys.co.uk
> Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
> Searchable archive:
> Dev site: http://dev.catalyst.perl.org/
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Catalyst