On Mon, Oct 11, 2010 at 5:27 PM, Toby Corkindale
wrote:
> On 07/10/10 03:36, Moritz Onken wrote:
>>
>> Sounds like a trailing comma in the javascript somewhere.
>
> The trailing-comma problem occurs in IE6/7, but not in IE8. (Thank you,
> Microsoft).
> I think Will's problem *doesn't* occur on IE6
If it's a TT file you need (i.e., not static), along with appropriate
processing, you can make a variation on Ben's suggestion by using the
$c->request->arguments, and putting the file name into $c->stash->{template}
before handing off to the TT view, which is likely to be the default. This is a
Hi Anthony,
If you set up your webserver to not send any URL starting with '/static'
to the Catalyst app, it's easy enough to just have static pages. Since
you already know what data you are going to put in there, you can easily
enough build an off-line script that runs as a cronjob and rebuil
On Mon, 2010-10-11 at 15:50 +0100, Anthony Gladdish wrote:
> Suppose I had a 100 different ( fairly static content ) web pages - I
> really don't want to have to create an action for each.
Depending on what you're doing, you may possibly want to take a look at
ShinyCMS: http://shinycms.org (specif
>-Original Message-
>From: Denny [mailto:2...@denny.me]
>Sent: 11 October 2010 15:22
>To: The elegant MVC web framework
>Subject: Re: [Catalyst] Displaying template files without adding new controller
>actions
>
>On Mon, 2010-10-11 at 15:02 +0100, Anthony Gladdish wrote:
>> I'd like to add
On Mon, 2010-10-11 at 15:02 +0100, Anthony Gladdish wrote:
> I'd like to add various web pages to my Catalyst app without the need
> to modify controllers and restarting the server.
> Instead, I just want to add a Template::Toolkit .tt2 file on the file
> system and it get picked up automatically.
Hi,
I'd like to add various web pages to my Catalyst app without the need to modify
controllers and restarting the server.
Instead, I just want to add a Template::Toolkit .tt2 file on the file system
and it get picked up automatically.
I'm not sure of an elegant/recommended way to produce an ac