Could this snippet help you?

http://pastie.org/private/v8ektthqwkqgpntqxxyxoa

This is how the 404 errors are handled in 1.2

On 23 March 2011 06:40, Zeu5 <[email protected]> wrote:

> Hi,
>
>
> i am currently using http://github.com/m3nt0r/cakephp-twig-view plugin
> for theming issues.
>
> Long story short, instead of using CakePHP CTP views, this plugin
> allows me to use Twig a templating language like Smarty.
>
> It works great.
>
>
> All I need is to do  a $this->render('filename'); it will render the
> proper .tpl file in the proper theme folder.
>
> Question now is:
>
> I cannot do it for error404 pages.
>
> no matter what i do, the displayed view is always the one in app/views/
> errors
>
> i want the one inside app/views/themed/theme_name/errors/ to show up.
>
> Please advise.
>
>
>
> --
> Our newest site for the community: CakePHP Video Tutorials
> http://tv.cakephp.org
> Check out the new CakePHP Questions site http://ask.cakephp.org and help
> others with their CakePHP related questions.
>
>
> To unsubscribe from this group, send email to
> [email protected] For more options, visit this group
> at http://groups.google.com/group/cake-php
>



-- 
Kind Regards
 Stephen

 http://www.ninjacodermonkey.co.uk

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php

Reply via email to