Re: [Catalyst] I18N

2010-10-13 Thread Ekki Plicht (DF4OR)
Am Dienstag 12 Oktober 2010, 22:04:23 schrieb Stuart Watt: > Quick question: I'm currently using Catalyst::Plugin::I18N. Should I > be planning to move to CatalystX::I18N? Any thoughts...? Stuart, I am in no way a Catalyst expert, just a mere beginner. And facing the same question :-) I played

Re: [Catalyst] Re: Returning to referer - which action to take?

2010-10-01 Thread Ekki Plicht (DF4OR)
Am Freitag 01 Oktober 2010, 02:39:40 schrieb Aristotle Pagaltzis: > * Ekki Plicht (DF4OR) [2010-09-30 22:40]: > > Am Dienstag 28 September 2010, 23:09:49 schrieb Aristotle Pagaltzis: > > > Ultimately you should not need any session storage for > > > anything. > >

Re: [Catalyst] Working with C::P::I18N::Request and C::P::I18N::PathPrefix at the same time?

2010-10-01 Thread Ekki Plicht (DF4OR)
Am Freitag 01 Oktober 2010, 12:13:44 schrieb BUCHMULLER Norbert: > On Thu, 30 Sep 2010 22:32:03 +0200 Ekki Plicht (DF4OR) wrote: > > Am I right that this combination (see subject) does not work well > > together? > > Dunno, never tried them, but if they don't wor

[Catalyst] Working with C::P::I18N::Request and C::P::I18N::PathPrefix at the same time?

2010-09-30 Thread Ekki Plicht (DF4OR)
Hi. Am I right that this combination (see subject) does not work well together? AFAICS C::P::I18N::Request modifies the path very early in the request cycle, before the dispatcher and C::P::I18N::PathPrefix can kick in, right? IOW: Regardless of what path prefix (language) I use, C::P::I18N::Re

Re: [Catalyst] Re: Returning to referer - which action to take?

2010-09-30 Thread Ekki Plicht (DF4OR)
Am Dienstag 28 September 2010, 23:09:49 schrieb Aristotle Pagaltzis: > * Ekki Plicht (DF4OR) [2010-09-26 23:50]: > > Am Sonntag 26 September 2010, 23:05:51 schrieb Octavian Rasnita: > > > For example, you can have urls like: > > > > > > www.site.com/en

Re: [Catalyst] Returning to referer - which action to take?

2010-09-28 Thread Ekki Plicht (DF4OR)
Am Dienstag 28 September 2010, 21:42:35 schrieb Ekki Plicht (DF4OR): > Am Sonntag 26 September 2010, 23:05:51 schrieben Sie: > > Of course, you don't need to create a "En" or "Ro" controller for doing > > this. You can override prepare_path()

Re: [Catalyst] Returning to referer - which action to take?

2010-09-28 Thread Ekki Plicht (DF4OR)
Am Sonntag 26 September 2010, 23:05:51 schrieben Sie: > Of course, you don't need to create a "En" or "Ro" controller for doing > this. You can override prepare_path() or you can use the module: > > http://search.cpan.org/~mendel/Catalyst-Plugin-I18N-PathPrefix-0.02/lib/Cat > alyst/Plugin/I18N/Pat

Re: [Catalyst] Returning to referer - which action to take?

2010-09-27 Thread Ekki Plicht (DF4OR)
Am Montag 27 September 2010, 17:18:37 schrieb Tomas Doran: > On 26 Sep 2010, at 20:38, Ekki Plicht (DF4OR) wrote: > > Serving the pages in different languages works fine with C::P::I18N, > > but I > > can't figure out how to return the visitor to the refering page. >

Re: [Catalyst] Returning to referer - which action to take?

2010-09-26 Thread Ekki Plicht (DF4OR)
Am Sonntag 26 September 2010, 23:05:51 schrieb Octavian Rasnita: > From: "Ekki Plicht (DF4OR)" > > > Hi. > > > > In my app I use I18N, so the visitor should be able to select his or her > > language at will. The available languages are available on all pa

[Catalyst] Returning to referer - which action to take?

2010-09-26 Thread Ekki Plicht (DF4OR)
Hi. In my app I use I18N, so the visitor should be able to select his or her language at will. The available languages are available on all pages for selection. Once selected the preferred language is stored in a session cookie, otherwise the automatic mechanism of I18N uses the preferred langu

Re: [Catalyst] [Beginner] C::V::Email::Template does not render

2010-09-16 Thread Ekki Plicht (DF4OR)
> Best regards, Alex > > Am Mittwoch, den 15.09.2010, 22:23 +0200 schrieb Ekki Plicht (DF4OR): > > Sorry to be a PITA, but I can't make heads nor tails of this view > > thing. > > > > When I started my app I created a view like this > > > > $ sc

Re: [Catalyst] [Beginner] C::V::Email::Template does not render

2010-09-15 Thread Ekki Plicht (DF4OR)
Sorry to be a PITA, but I can't make heads nor tails of this view thing. When I started my app I created a view like this $ script/wshop_create.pl view Web TT Since then Cat renders my web templates fine. Now I have followed the cookbook example, later the example from C::V::Email::Template do

Re: [Catalyst] [Beginner] C::V::Email::Template does not render

2010-09-12 Thread Ekki Plicht (DF4OR)
Am Sonntag 12 September 2010, 22:36:59 schrieb Devin Austin: > On Sun, Sep 12, 2010 at 2:14 PM, Ekki Plicht (DF4OR) wrote: > > > > template looks like this: > >[% c.localize('mm_reghello') %] > >[% c.localize('mm_regsent')

[Catalyst] [Beginner] C::V::Email::Template does not render

2010-09-12 Thread Ekki Plicht (DF4OR)
Hi. Following the example in THE BOOK (cookbook part) I try to get my user registration process to work. I use C::V::Email::Template, and all seems to work fine, according to the debug output [1], see below. The mail does get sent, but it is not rendered proprly. The very simple mail template

Re: [Catalyst] [OT] Syntax scheme for TT and kate?

2010-09-08 Thread Ekki Plicht (DF4OR)
cely. Of course I didn't check the obvious, the TT site... Cheers, Ekki > On Wed, Sep 8, 2010 at 11:00 AM, Ekki Plicht (DF4OR) wrote: > > Hi. > > > > Maybe not the best place to ask for, but does somebody have a syntax > > highlighting scheme for TT for the

[Catalyst] [OT] Syntax scheme for TT and kate?

2010-09-08 Thread Ekki Plicht (DF4OR)
Hi. Maybe not the best place to ask for, but does somebody have a syntax highlighting scheme for TT for the 'kate' editor under KDE? Would be helpful. I was contemplating to write one myself, but currently the learning curve is steep enough with Moose, DBIx::Class and Catalyst, enough not to bo

Re: [Catalyst] [Beginner] Understanding actions and controllers - not!

2010-08-26 Thread Ekki Plicht (DF4OR)
Am Freitag 27 August 2010, 00:02:15 schrieb Kieren Diment: > On 27/08/2010, at 7:50 AM, Ekki Plicht (DF4OR) wrote: > > Am Montag 23 August 2010, 23:17:40 schrieb Ben van Staveren: > >> try using /static/css/main.css ;) > > > > Yup, that did the trick. > > $c

[Catalyst] [Beginner] model with MySQL, is many_to_many required?

2010-08-26 Thread Ekki Plicht (DF4OR)
Hi. Just getting around to implement the first user auth stuff, and as usual I am going along with MySQL. I know, I know, please no DB flame wars :-) As most of the docs are based on SqLite and Cat/MySQL docs are a little bit sketchy, I am unsure if my Schema requires the manual addition of the

Re: [Catalyst] [Beginner] Understanding actions and controllers - not!

2010-08-26 Thread Ekki Plicht (DF4OR)
Am Montag 23 August 2010, 23:17:40 schrieb Ben van Staveren: > try using /static/css/main.css ;) Yup, that did the trick. $c.uri_for() would have worked as well, as I have learned now (tnx Stuart). But why? :-) I mean, coming from years of traditional web development it's deeply ingrained not to

Re: [Catalyst] [Absolute Beginner] Navigation Q Part II i18n and URIs

2010-08-23 Thread Ekki Plicht (DF4OR)
. Maybe that will get me interested in the long term. Cheers, Ekki > On Sun, Aug 22, 2010 at 12:54 PM, Ekki Plicht (DF4OR) wrote: > > Thanks Mike, that looks promising. But as of now I have problems getting > > I18N > > to work at all. See other message. > > > &

[Catalyst] [Beginner] Understanding actions and controllers - not!

2010-08-23 Thread Ekki Plicht (DF4OR)
Hi. Somewhen over the weekend I had the impression that I em beginning to understand how actions and controllers work. I was wrong. Starting with a bare minimum project, only using the standard root controller with three standard subs: index, default, end. I created a view, then set up an 'inde

Re: [Catalyst] [Absolute Beginner] Navigation Q Part II i18n and URIs

2010-08-22 Thread Ekki Plicht (DF4OR)
ntly been looking into I18N. I thought that you might find > Catalyst::Plugin::I18N::Request useful - it might be just what you are > after. > > Regards, > > Mike > > Ekki Plicht (DF4OR) wrote: > > Hi Robert, > > your comments were most helpful, many thanks! >

Re: [Catalyst] [Absolute Beginner] Navigation Q Part II i18n and URIs

2010-08-20 Thread Ekki Plicht (DF4OR)
Hi Robert, your comments were most helpful, many thanks! As it is so often - after sending the message I did some more thinking and started to realize that my approach - starting with the controller - is probably not the best way to design this app. And your comments encourage me that I have to

[Catalyst] [Absolute Beginner] Navigation Q Part II i18n and URIs

2010-08-20 Thread Ekki Plicht (DF4OR)
Me again, still at the absolute beginner level, but having read some more tutorials and manuals and played more with DispatchTest. Two pre-requisites which I must fulfill in my webshop: 1.) I have to consider internationalisation (i18n) of my app. It has to serve pages in 5 languages (today), p

[Catalyst] [Absolute Beginner] Navigation?

2010-08-19 Thread Ekki Plicht (DF4OR)
Hi, I am just getting to learn Catalyst and have to admit that I am a bit lost. I have so many questions that I will probably fire off more questions in the near future. Where am I today? I have read THE BOOK, studied docs on CPAN, played around with DispatchTest example from THE BOOK, but noth