I've been fiddling with CakePHP for a month or so now and I must say I like it. I like enough to develop the next generation of the Livin' Dead Productions site with it. The current version (located at
http://ldp.blackhawkdata.com for the moment. Domain problems are not fun) is pretty simple. I took my cousin's idea, cleaned it up and wrote some PHP. I think a CakePHP site would be much better.
I've got most of the basic stuff layed out and some coded. I have a fluid layout (it expands with the browser window) with a header, global nav, sidebar, content and a footer. I'd like to have dynamic content in the sidebar, but not just any dynamic content. I want to have content based on the content of the page. For example, I'm working on a gallery function under the art controller. It will output a nice little image gallery based on a CSS Play gallery (
http://cssplay.co.uk/menu/gallery_click.html) containing the art the user has specified (in other words, dynamic galleries). In the gallery, the sidebar would have links to refine the gallery with a search page and perhaps a link to the most popular or pre-set galleries.
I was wondering the best way to accomplish this. I'm figuring a bit of coding in the sidebar component of the layout. $this->requestAction() could call a sidebars controller for that particular page or a sidebar function for the current controller.
Any help or suggestions would be great. I'm sure I could scrape something together, but a little collaboration would be better and hopefully help some other people too.
--
If at first you don't succeed, destroy all evidence that you tried.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---
- Dynamic Sidebar based on Controller/Content Bobby Ryterski
