Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Catalyst-View-Xslate CPAN distribution.

Report information
The Basics
Id: 68799
Status: open
Priority: 0/
Queue: Catalyst-View-Xslate

People
Owner: Nobody in particular
Requestors: xenoterracide [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: not setting the suffix right with a new path in config
Date: Mon, 13 Jun 2011 11:35:25 -0500
To: bugs-catalyst-view-xslate [...] rt.cpan.org
From: Caleb Cushing <xenoterracide [...] gmail.com>
trying to create the exact same xslate config as TT default_view Xslate <View::HTML> INCLUDE_PATH root/templates CATALYST_VAR c DEBUG on </View::HTML> <View::Xslate> suffix .tt path [ root/templates ] </View::Xslate> however with this config I get this error from xslate Couldn't render template "Text::Xslate: LoadError: Cannot find 'index.tx' (path: /home/ccushing/MyApp/root/templates) at /home/ccushing/perl5/lib/perl5/Catalyst/View/Xslate.pm line 205 for further debug purposes this was in the dump of the config "View::Xslate" => { path => ["root/templates"], suffix => ".tt" }, -- Caleb Cushing http://xenoterracide.com
Yeah, for historical reasons suffix wasn't there to being with, but instead there was this thing called template_extension. I added some docs in the commit I referred to elsewhere. https://github.com/lestrrat/Catalyst-View- Xslate/commit/d837275997fcd134af16116d752745d9d1e1bee0 Please see if this helps you sort out the situation.
Yeah, for historical reasons suffix wasn't there to being with, but instead there was this thing called template_extension. I added some docs in the commit I referred to elsewhere. https://github.com/lestrrat/Catalyst-View- Xslate/commit/d837275997fcd134af16116d752745d9d1e1bee0 Please see if this helps you sort out the situation.