Basically I am using wildflower cms which is built on cakephp. It routes are setup so that / goes to the pages controller. I am building a product catalog and could simply have the urls be / products/category/product-name however I do not want to prepend the controller name in this scenario. Right now I have it so that the product controller from the admin side will insert rows into the pages table as products are created in the products table. Also I created a field in the pages table called "controller". By default it is blank however what I want to do is if it isn't blank and for example has "Products" in it then I want to load the Products controller from within the Pages controller so that it can handle pulling the product images, pricing, etc...
I want the controller to be dynamically called. Url structure example desired: /shirts/mens/rockstar-shirt/ - goes to pages controller sees that the controller field has "Product" and loads product through Product Controller /about-us/ - goes to pages controller and has blank controller field, page rendered as normal Im new to cake but like it so far. Also does anyone know of a good cake cms, wildflower is slow running as localhost. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" 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?hl=en -~----------~----~----~----~------~----~------~--~---
