Tuesday, March 22, 2011

how do i customize a error404 for themes?

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
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate