|
Hi all, i have sometimes a strange theme problem! Thats the theme settings what i use: public $theme = 'Frontend'; /* View/Themed/Frontend/Frontend/Layouts/default.ctp Sometimes cake use the default path /View/Layouts/default.ctp 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 [hidden email] For more options, visit this group at http://groups.google.com/group/cake-php |
|
View/Themed/Frontend/Frontend/Layouts/default.ctp
your path is incorrect it should be:
View/Themed/Frontend/Layouts/default.ctp
-- -- Lep pozdrav, Tilen Majerle 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 [hidden email] For more options, visit this group at http://groups.google.com/group/cake-php |
|
and you need to enable ThemeView in controller
public $viewClass = 'Theme';
-- -- Lep pozdrav, Tilen Majerle 2012/8/6 Tilen Majerle <[hidden email]> View/Themed/Frontend/Frontend/Layouts/default.ctp 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 [hidden email] For more options, visit this group at http://groups.google.com/group/cake-php |
|
In reply to this post by Tilen Majerle
Hi, i use this path since 3 months and it has worked well. This path give me cakephp: View/Themed/Frontend/Frontend Will change the path to View/Themed/Frontend/Layouts/default.ctp and hope thats working than. Von: Tilen Majerle <[hidden email]> An: [hidden email] Gesendet: 12:01 Montag, 6.August 2012 Betreff: Re: Big Problem theme!! Please Help View/Themed/Frontend/Frontend/Layouts/default.ctp your path is incorrect it should be:
View/Themed/Frontend/Layouts/default.ctp
-- -- Lep pozdrav, Tilen Majerle 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 [hidden email] For more options, visit this group at http://groups.google.com/group/cake-php 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 [hidden email] For more options, visit this group at http://groups.google.com/group/cake-php |
|
In reply to this post by Tilen Majerle
thnx, it works :) i have a question, i get this strange problem sometimes, why? Von: Tilen Majerle <[hidden email]> An: [hidden email] Gesendet: 12:01 Montag, 6.August 2012 Betreff: Re: Big Problem theme!! Please Help and you need to enable ThemeView in
controller
public $viewClass = 'Theme';
-- -- Lep pozdrav, Tilen Majerle 2012/8/6 Tilen Majerle <[hidden email]> View/Themed/Frontend/Frontend/Layouts/default.ctp 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 [hidden email] For more options, visit this group at http://groups.google.com/group/cake-php 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 [hidden email] For more options, visit this group at http://groups.google.com/group/cake-php |
|
probably because of cache :)
-- Lep pozdrav, Tilen Majerle 2012/8/6 Serkan Sipahi <[hidden email]>
-- 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 [hidden email] For more options, visit this group at http://groups.google.com/group/cake-php |
|
ah ok :) i use thmes since cake 2.0. this project works with 2.1 and i forget to read the manuell of 2.1 :( Von: Tilen Majerle <[hidden email]> An: [hidden email] Gesendet: 12:23 Montag, 6.August 2012 Betreff: Re: Big Problem theme!! Please Help probably because of cache :) -- Lep pozdrav, Tilen Majerle 2012/8/6 Serkan Sipahi <[hidden email]>
-- 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 [hidden email] For more options, visit this group at http://groups.google.com/group/cake-php 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 [hidden email] For more options, visit this group at http://groups.google.com/group/cake-php |
| Powered by Nabble | Edit this page |
