RE: [Catalyst] Can't get view / template to work ?

2012-10-31 Thread Craig Chant
? -Original Message- From: David Schmidt [mailto:davew...@gmx.at] Sent: 30 October 2012 23:07 To: The elegant MVC web framework Subject: Re: [Catalyst] Can't get view / template to work ? On 31 October 2012 00:00, Tomas Doran bobtf...@bobtfish.net wrote: On 30 Oct 2012, at 16:52, Craig Chant

RE: [Catalyst] Can't get view / template to work ?

2012-10-31 Thread Craig Chant
Message- From: Tomas Doran [mailto:bobtf...@bobtfish.net] Sent: 30 October 2012 23:12 To: The elegant MVC web framework Subject: Re: [Catalyst] Can't get view / template to work ? On 30 Oct 2012, at 23:06, David Schmidt wrote: On 31 October 2012 00:00, Tomas Doran bobtf...@bobtfish.net wrote

Re: [Catalyst] Can't get view / template to work ?

2012-10-31 Thread Will Crawford
On 31 October 2012 09:31, Craig Chant cr...@homeloanpartnership.com wrote: You're misread what I put where? It clearly states Edit lib/MyApp/View/HTML.pm and you should see something similar to the following: __PACKAGE__-config( TEMPLATE_EXTENSION = '.tt',

Re: [Catalyst] Can't get view / template to work ?

2012-10-31 Thread Alexander Hartmaier
On 2012-10-31 13:28, Will Crawford wrote: On 31 October 2012 09:31, Craig Chant cr...@homeloanpartnership.com wrote: You're misread what I put where? It clearly states Edit lib/MyApp/View/HTML.pm and you should see something similar to the following: __PACKAGE__-config(

Re: [Catalyst] Can't get view / template to work ?

2012-10-31 Thread Tomas Doran
On 31 Oct 2012, at 09:29, Craig Chant wrote: Sorry for the missing capital, and yes that's what I ran... also I'm sorry if I miss ready the tutorial, I have Dyspraxia. Why would you have two -config statements and not all the setting in one -config , that makes no sense? Right - you're

Re: [Catalyst] Can't get view / template to work ?

2012-10-31 Thread Tomas Doran
On 31 Oct 2012, at 12:32, Alexander Hartmaier wrote: Guys, Craig is on IRC now and I'm helping him to resolve the issue. He is using Catalyst::View::HTML::Template not ::TT so the options are different. Awesome, thanks for jumping in an helping, much appreciated! (I have been real busy so

Re: [Catalyst] Can't get view / template to work ?

2012-10-30 Thread Rob Brown
the paths are from /root/src (as per the config), so if you've created another folder called login and put the file in there, you'd need to say... $c-stash(template = 'login/login.tp'); On 10/30/2012 04:52 PM, Craig Chant wrote: I seem stuck with implementing my first view / template. I

Re: [Catalyst] Can't get view / template to work ?

2012-10-30 Thread Len Jaffe
On Tue, Oct 30, 2012 at 12:58 PM, Rob Brown r...@intelcompute.com wrote: the paths are from /root/src (as per the config), so if you've created another folder called login and put the file in there, you'd need to say... $c-stash(template = 'login/login.tp'); Or you could add /root/src/login

Re: [Catalyst] Can't get view / template to work ?

2012-10-30 Thread Rob Brown
ignore that then, didn't read all of your message :-/ On 10/30/2012 04:58 PM, Rob Brown wrote: the paths are from /root/src (as per the config), so if you've created another folder called login and put the file in there, you'd need to say... $c-stash(template = 'login/login.tp'); On

RE: [Catalyst] Can't get view / template to work ?

2012-10-30 Thread Craig Chant
To: catalyst@lists.scsys.co.uk Subject: Re: [Catalyst] Can't get view / template to work ? the paths are from /root/src (as per the config), so if you've created another folder called login and put the file in there, you'd need to say... $c-stash(template = 'login/login.tp'); On 10/30/2012 04

Re: [Catalyst] Can't get view / template to work ?

2012-10-30 Thread Tomas Doran
On 30 Oct 2012, at 16:52, Craig Chant wrote: I seem stuck with implementing my first view / template. I have a controller Login.pm I ran the view helper script ‘create view HTML HTML::template’ This can't possibly have worked? You mean create view HTML HTML::Template right? As per

Re: [Catalyst] Can't get view / template to work ?

2012-10-30 Thread David Schmidt
On 31 October 2012 00:00, Tomas Doran bobtf...@bobtfish.net wrote: On 30 Oct 2012, at 16:52, Craig Chant wrote: I seem stuck with implementing my first view / template. I have a controller Login.pm I ran the view helper script ‘create view HTML HTML::template’ This can't possibly have

Re: [Catalyst] Can't get view / template to work ?

2012-10-30 Thread Tomas Doran
On 30 Oct 2012, at 23:06, David Schmidt wrote: On 31 October 2012 00:00, Tomas Doran bobtf...@bobtfish.net wrote: On 30 Oct 2012, at 16:52, Craig Chant wrote: I seem stuck with implementing my first view / template. I have a controller Login.pm I ran the view helper script ‘create