On 05/27/2010 11:58 AM, Lorenzo Bettini wrote:
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)...

Sorry, my fault:

the correct directory should be

themed/example/elements/
themed/example/authors/

now it works, sorry for the noise.

cheers
        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 [email protected]
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

Reply via email to