]
Sent: 11 October 2010 19:35
To: The elegant MVC web framework
Subject: Re: [Catalyst] Displaying template files without adding new controller
actions
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
On Tue, Oct 12, 2010 at 1:27 PM, Fernan Aguero fernan.agu...@gmail.com wrote:
On Tue, Oct 12, 2010 at 12:47 PM, Anthony Gladdish
a.j.gladd...@newcastle.ac.uk wrote:
Thanks for your feedback Denny, Ben and Stuart – good food for thought!
I think some sort of handling logic in Root’s default
On Tue, Oct 12, 2010 at 12:47 PM, Anthony Gladdish
a.j.gladd...@newcastle.ac.uk wrote:
Thanks for your feedback Denny, Ben and Stuart – good food for thought!
I think some sort of handling logic in Root’s default action to test for the
existence of template and error or 404 if it doesn’t – is
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
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.
-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 various
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
] 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 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
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