Sorry for not being clear!
What I really am looking for, is a way to substitute the "usual (old-fashioned) php practice" of including content based on i.e. GET variables. What is the counterpart in CakePHP and what is the BEST practice (... or at least a good one ...)? In detail: -> When should I use controllers? -> When is it suitable to add pages under the "pages" directory? -> When do I need to create new layouts? -> How is the $content_for_layout supposed to work? -> What should be placed inside the "elements" folder? ... to sum up: Is there a holy grail in website development using CakePHP / MVC thinking? On 3 Jan, 23:31, "TJSingleton" <[EMAIL PROTECTED]> wrote:
As aforementioned, more info is really needed. But I think you will only need one layout, you can use two views. One with two columns and one with three.
--~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
