Tuesday, April 10, 2012

Create a collection page from multiple models

Good afternoon everyone,

I have a site I'm working on in 2.1. It is an artists website. I have the models and controllers for several categories of artwork: CharacterStudy, Figure, Monochrome and Portrait.

What I'm trying to do is also create a page that shows all of them at once, a "Collected Works" page. So far I have hit a brick wall. I don't need another table in the database, because that would duplicate the information. I would rather be able to address each table and it's associated images all at once.

Does anyone have any ideas?

Thanks,
Sean

--
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.
 
 
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php

No comments: