yes, i was trying to get at "theme"ing. thanks.
John Zimmerman [gmail] wrote: > Chris Kausel created a class called Icing which I have not tried but I > believe is trying to address some of the concerns that you have. > > You can view the code at > http://cakeforge.org/snippet/detail.php?type=snippet&id=67 > > Cake does not have built in support for the traditional "Theme" idea which I > believe is what you are trying to accomplish, but if you keep your views > restricted to the basics, styled only by CSS, and keep the actual look and > feel in the stylesheets and your default layout, then when a design change > needs to happen you only have 2-3 files to alter > (app/views/layouts/default.thtml and the corresponding stylesheets). > > On 6/9/06, bigdog <[EMAIL PROTECTED]> wrote: > > > > > > This might be a good start: http://manual.cakephp.org/chapter/8 ; > > [header][--><?php echo $content_for_layout ?>][footer] > > > > Each controller stores a template. So that is where you would be > > updating "$content_for_layout" for your templates > > > > > > > > > > > ------=_Part_60531_6843881.1149961904314 > Content-Type: text/html; charset=ISO-8859-1 > X-Google-AttachSize: 1413 > > Chris Kausel created a class called Icing which I have not tried but I > believe is trying to address some of the concerns that you have.<br><br>You > can view the code at <a > href="http://cakeforge.org/snippet/detail.php?type=snippet&id=67"> > http://cakeforge.org/snippet/detail.php?type=snippet&id=67</a><br><br>Cake > does not have built in support for the traditional "Theme" idea > which I believe is what you are trying to accomplish, but if you keep your > views restricted to the basics, styled only by CSS, and keep the actual look > and feel in the stylesheets and your default layout, then when a design > change needs to happen you only have 2-3 files to alter > (app/views/layouts/default.thtml and the corresponding stylesheets). > <br><br><div><span class="gmail_quote">On 6/9/06, <b > class="gmail_sendername">bigdog</b> <<a href="mailto:[EMAIL > PROTECTED]">[EMAIL PROTECTED]</a>> wrote:</span><blockquote > class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: > 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"> > <br>This might be a good start: <a > href="http://manual.cakephp.org/chapter/8">http://manual.cakephp.org/chapter/8</a> > ;<br>[header][--><?php echo $content_for_layout > ?>][footer]<br><br>Each controller stores a template. So that > is where you would be > <br>updating "$content_for_layout" for your > templates<br><br><br><br> > > ------=_Part_60531_6843881.1149961904314-- --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" 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 -~----------~----~----~----~------~----~------~--~---
