On 11/11/06, Moonbiter <[EMAIL PROTECTED]> wrote: > the views directory. I can't figure out how they use this View. It's a > parent for other views? it's used directly?
The ThemeView has a built in fallback function - that is if it does not find any view file in the selected Theme then is searches the default views for that template. So once a theme is set in app from the session the session *you do not have to do any extra programming* it just works See the Views folder in the cheeseCake it has two Themes Classic and Modern. Classic has got just one file - the layout and Modern two file the lay out and photos/index. If an artist makes a theme where he wants more views to be customised then she can do that and the programming wont need to change also you dont need to do $my_stupid_helper->blog_post($blog_post, $theme); HTH Tarique -- ============================================================= PHP Applications for E-Biz: http://www.sanisoft.com Coppermine Picture Gallery: http://coppermine.sf.net ============================================================= --~--~---------~--~----~------------~-------~--~----~ 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?hl=en -~----------~----~----~----~------~----~------~--~---
