Noob questions regarding layouts and static content

2008-11-14 Thread jeff
Hello. I have a couple questions regarding static/dynamic content mixing. I have a site to build that is largely informational, but has news, events etc. The news and events will be on pages that will have 80% static content. Can i use something like the PagesController to create pages like

Re: Noob questions regarding layouts and static content

2008-11-14 Thread thatsgreat2345
Yes cake can do that. Essentially you will have your news view, and it will have that layout like built in. Then in the controller after doing some sort of check to see what variable in the url has been set , like a number that corresponds to a news article, then the controller will be like hey