Forum for discussing general topics related to Couch.
5 posts Page 1 of 1
Hi,
love the cms. I'm building a online menu. The menu is divided into categories like deserts, main course, etc. The categories are made up of individual plates or drinks, i call them items. so I have a main menu page (made of categories), a category page (made of items) and an item page (made of the individual plate or drink).

I've decided to make the menu.page a template to show each category. menu.php?p=3
menu.php will show a list of categories

I'd like to do the same for caegories and items.

Is it possible to make each category.php?p=x a list page for all the items? so in other words items.php will be equivalent to category.php?p=x ; listing the category and all its items.

clicking on an item should also lead to the individual item.php?p=y

do i acheive this through nesting , templates or masquerades? I'm still trying to grasp these concepts.

thx in advance
Hi and welcome, momo :)

I assume you have the static design for your site ready, right?
If so, please post screenshots of the how the various sections would look like.
If the design is not ready, please post the equivalent wireframes.

Thanks.
Hi

here are the screenshots. Let me know if you need more info.

thx for the quick response.

momo

Attachments

Thanks.

From what I see, it can be implemented using the staple 'home-view'/'folder-view'/'page-view' of a single template.

If you are uncertain about the terms mentioned above, please see
http://www.couchcms.com/docs/concepts/views.html

For example, we use the 'menu.php' template and declare it as clonable and as using dynamic-folders (http://www.couchcms.com/docs/miscellane ... lders.html).

Each 'category' would be represented by a 'folder'.
Each 'item' would be represented by a 'page'.

..so I have a main menu page (made of categories)..
That would be the 'home-view' - list all the folders here (i.e. the categories).

..a category page (made of items) ..
That would be the 'folder-view' - list all pages contained within the folder here (i.e. the items).

..and an item page (made of the individual plate or drink)
That would be the 'page-view' - show details of the page here (i.e. the item).

Do you think this will do or have I missed seeing something?
KK
sounds perfect. I'm going through the pages. Think it might just work.

thx so much.
will let you know how it goes.

momo
5 posts Page 1 of 1
cron