[PHPTAL] Accessing properties

2009-08-05 Thread Łukasz Palka
Hello, I recently started using PHPTAL and Doctrine. Unfrotunatly I cannot access some properties like: div tal:repeat=comment post/Comment but this works: div tal:repeat=comment php:post.Comment After deleting else from PHPTAL\Context.php, line: 279: // ask __get and discard if

Re: [PHPTAL] Accessing properties

2009-08-05 Thread Łukasz Palka
I recently started using PHPTAL and Doctrine. Unfrotunatly I cannot access some properties like: This will introduce bugs in code that implements __isset() and __get() properly. I thought so :-/ Thanks ___ PHPTAL mailing list

[PHPTAL] Problem using i18n

2009-08-10 Thread Łukasz Palka
Hi, I don't know how to use i18n. I made a template, made two .mo files, and I don't know how to set language. I have two versions: 'pl_PL' and 'en_GB', and pl_PL are always used. I don't know how to change language to en_GB. I was trying some combinations on setLanguage() and sometimes I got

Re: [PHPTAL] Problem using i18n

2009-08-10 Thread Łukasz Palka
Most common gotcha is that Apache with mod_php has to be restarted every time you change .mo files (there are no problems with other servers or FastCGI). Yeah, I know that, but still ... :/ Regards, Łukasz ___ PHPTAL mailing list

Re: [PHPTAL] Advanced TALES

2009-11-18 Thread Łukasz Palka
is looking for getter first :) -- Regards, Łukasz Palka ___ PHPTAL mailing list PHPTAL@lists.motion-twin.com http://lists.motion-twin.com/mailman/listinfo/phptal