On Oct 24, 7:42 am, Christopher Steel <chris.st...@gmail.com> wrote: > Are you looking to generate navigation menu's using table data? > > If so, you can try a search for web2py "generate menu". Make sure to check > out the web2pyslices as well, I think one of the very first slices was > related to creating dynamic menus.
Thanks for the reply mate but I already have the menu generating from the table data. Im looking to make the menu work. It is for an online store selling many different products. For example. Animal Dog Cat Bird Animal is the main category and dog, cat and bird are subcategories. When I click on Dog I would like to be able to pass animal and dog as parameters to a function of some sort that will generate a query with those parameters, something like this. products = db((db.products.category=='animal') & (db.products.subcategory=='dog')).select(db.products.all) I hope that it makes for sense for people now :) I am not looking for someone to write me code, I am just very new to web2py and not sure how to go about achieving this. I will have a look into web2pyslices and see if there is anything in there that can help me out :)