Re: Using PHPTAL with Cake: PhptalView class
The article has been approved and is available: http://bakery.cakephp.org/articles/view/using-phptal-for-templates-phptalview-class --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---
Re: Using PHPTAL with Cake: PhptalView class
The flip side is - Good coders just read the code in the article like regular text ;) T -- = PHP for E-Biz: http://sanisoft.com Cheesecake-Photoblog needs you!: http://cheesecake-photoblog.org = On 4/24/07, Daniel Kvasnicka jr. <[EMAIL PROTECTED]> wrote: > > On Apr 24, 10:06 am, "Mariano Iglesias" <[EMAIL PROTECTED]> > wrote: > > Yes it would. I'm a reader and it would help me. > > > > I added the source as a second page. Just wanted to say, that I'm a > reader too :)...and that's why I dont like when the source is mixed > with the text. I find an article, download the source and then work --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---
Re: Using PHPTAL with Cake: PhptalView class
On Apr 24, 10:06 am, "Mariano Iglesias" <[EMAIL PROTECTED]> wrote: > Yes it would. I'm a reader and it would help me. > I added the source as a second page. Just wanted to say, that I'm a reader too :)...and that's why I dont like when the source is mixed with the text. I find an article, download the source and then work with it, refering back to the article for information on how to work with the code. And when I'm confronted with tens of lines of code (which I've already downloaded and seen) every time I need to look in the article just for some usage info, it really annoys me. Posting it as a second page is a good compromise. Dan --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---
RE: Using PHPTAL with Cake: PhptalView class
Yes it would. I'm a reader and it would help me. -MI --- Remember, smart coders answer ten questions for every question they ask. So be smart, be cool, and share your knowledge. BAKE ON! blog: http://www.MarianoIglesias.com.ar -Mensaje original- De: cake-php@googlegroups.com [mailto:[EMAIL PROTECTED] En nombre de Daniel Kvasnicka jr. Enviado el: Martes, 24 de Abril de 2007 04:18 a.m. Para: Cake PHP Asunto: Re: Using PHPTAL with Cake: PhptalView class Would it? To be honest, that's the thing I hate most about articles, when source code is posted directly to the article. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---
Re: Using PHPTAL with Cake: PhptalView class
Make it a mulitpage article. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---
Re: Using PHPTAL with Cake: PhptalView class
On Apr 24, 1:46 am, "Mariano Iglesias" <[EMAIL PROTECTED]> wrote: > And also it would be good to include source code inside article content > instead of linking to cakeforge, easier for readers to get the code. > Would it? To be honest, that's the thing I hate most about articles, when source code is posted directly to the article. Dan --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---
Re: Using PHPTAL with Cake: PhptalView class
Yes, I'm using PHP5 because PHPTAL is only for PHP5 (except some ancient versions). Removing try/catch would not help. Dan On Apr 24, 12:14 am, "Larry E. Masters aka PhpNut" <[EMAIL PROTECTED]> wrote: > You need to change your view class on cakeforge. You are using php 5 syntax > with your try and catch code block. > > The article itself is still in queue so the link above is not valid until it > is approved by an admin... > > -- > /** > * @author Larry E. Masters > * @var string $userName > * @param string $realName > * @returns string aka PhpNut > * @access public > */ > > On 4/23/07, Daniel Kvasnicka jr. <[EMAIL PROTECTED]> wrote: > > > > > Hi folks, > > I know a few people were talking about this, but I haven't found any > > solution, so I've took View and derived a simple PhptalView class from > > it. It enables you to use PHPTAL templating engine with Cake. > > > It's really siple, but it works for my views and layouts. Read more at > > >http://bakery.cakephp.org/articles/view/using-phptal-for-templates-ph... > > > Waitin' for your comments, > > Dan --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---
RE: Using PHPTAL with Cake: PhptalView class
And also it would be good to include source code inside article content instead of linking to cakeforge, easier for readers to get the code. -MI --- Remember, smart coders answer ten questions for every question they ask. So be smart, be cool, and share your knowledge. BAKE ON! blog: http://www.MarianoIglesias.com.ar _ De: cake-php@googlegroups.com [mailto:[EMAIL PROTECTED] En nombre de Larry E. Masters aka PhpNut Enviado el: Lunes, 23 de Abril de 2007 07:14 p.m. Para: cake-php@googlegroups.com Asunto: Re: Using PHPTAL with Cake: PhptalView class You need to change your view class on cakeforge. You are using php 5 syntax with your try and catch code block. The article itself is still in queue so the link above is not valid until it is approved by an admin... --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---
Re: Using PHPTAL with Cake: PhptalView class
You need to change your view class on cakeforge. You are using php 5 syntax with your try and catch code block. The article itself is still in queue so the link above is not valid until it is approved by an admin... -- /** * @author Larry E. Masters * @var string $userName * @param string $realName * @returns string aka PhpNut * @access public */ On 4/23/07, Daniel Kvasnicka jr. <[EMAIL PROTECTED]> wrote: > > > Hi folks, > I know a few people were talking about this, but I haven't found any > solution, so I've took View and derived a simple PhptalView class from > it. It enables you to use PHPTAL templating engine with Cake. > > It's really siple, but it works for my views and layouts. Read more at > > http://bakery.cakephp.org/articles/view/using-phptal-for-templates-phptalview-class > > Waitin' for your comments, > Dan > > > > > --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---