Thursday, May 27, 2010

themes not working?

Hi

I'm trying to add themes to my cakephp application but they don't seem
to work at all...

in my AppController I put

class AppController extends Controller {

var $view = 'Theme';

var $theme = 'example';

and

in my app/views directory I created

themed/example/views/elements/

and I created a modified .ctp file

but that is not used... the same holds for a .ctp file in the 'authors'
directory, themed/example/views/authors/ (where of course Author is a
model)...

is there a way to check why themes are not working? I already have
debug activated.

thanks in advance
Lorenzo

--
Lorenzo Bettini, PhD in Computer Science, DI, Univ. Torino
HOME: http://www.lorenzobettini.it MUSIC: http://www.purplesucker.com
BLOGS: http://tronprog.blogspot.com http://longlivemusic.blogspot.com


Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions.

You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
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?hl=en

No comments: