Hi,

Assume I have this setup:
post table
categories table, with a hasMany(post)

the index from posts_controller shows all the post items.

I want to put an overview on my page of all the categories. (Preferable 
directly in the layout, because I want it everywhere)
Would I put this in an element or something else? And how?

If they click on 1 category, i want to show all the post items from that 
category.
Do I use the categories_controller to show that page? Or die I make a custom 
action in my posts_controller.

thx

-- 
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
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php

Reply via email to