Re: multiple templates with own path structure
Look if this can help you: http://book.cakephp.org/2.0/en/views/themes.html Em terça-feira, 18 de dezembro de 2012 08h40min57s UTC-3, Mathias R escreveu: > > Could anybody help? > > Am Dienstag, 11. Dezember 2012 10:46:41 UTC+1 schrieb Mathias R: >> >> Hi, >> >> is it possible to emulate or change path structure for templates, to set >> different page structures? >> >> i.e. >> View/Themename/Controller/Action.ctp >> and Layout files in View/Themename/layout.ctp >> >> so i can set multiple templates like: >> >> View/Tabled/Index/index.ctp with a table-structure >> View/notTabled/Index/index.ctp with a div-structure >> >> so i can change page layout anytime to another by "installing" another >> theme? >> I know, that i can change layout by using another layoutfile, but i want >> to change page-view complete, that there won't be a same build structure. >> i hope u understand my question, can't explain better with my terrible >> english :D >> >> how i have to do this? >> >> Greetings from Germany >> M. >> > -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter http://twitter.com/CakePHP --- 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+unsubscr...@googlegroups.com. Visit this group at http://groups.google.com/group/cake-php?hl=en.
Re: multiple templates with own path structure
Could anybody help? Am Dienstag, 11. Dezember 2012 10:46:41 UTC+1 schrieb Mathias R: > > Hi, > > is it possible to emulate or change path structure for templates, to set > different page structures? > > i.e. > View/Themename/Controller/Action.ctp > and Layout files in View/Themename/layout.ctp > > so i can set multiple templates like: > > View/Tabled/Index/index.ctp with a table-structure > View/notTabled/Index/index.ctp with a div-structure > > so i can change page layout anytime to another by "installing" another > theme? > I know, that i can change layout by using another layoutfile, but i want > to change page-view complete, that there won't be a same build structure. > i hope u understand my question, can't explain better with my terrible > english :D > > how i have to do this? > > Greetings from Germany > M. > -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter http://twitter.com/CakePHP --- 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+unsubscr...@googlegroups.com. Visit this group at http://groups.google.com/group/cake-php?hl=en.
multiple templates with own path structure
Hi, is it possible to emulate or change path structure for templates, to set different page structures? i.e. View/Themename/Controller/Action.ctp and Layout files in View/Themename/layout.ctp so i can set multiple templates like: View/Tabled/Index/index.ctp with a table-structure View/notTabled/Index/index.ctp with a div-structure so i can change page layout anytime to another by "installing" another theme? I know, that i can change layout by using another layoutfile, but i want to change page-view complete, that there won't be a same build structure. i hope u understand my question, can't explain better with my terrible english :D how i have to do this? Greetings from Germany M. -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter http://twitter.com/CakePHP --- 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+unsubscr...@googlegroups.com. Visit this group at http://groups.google.com/group/cake-php?hl=en.