Re: Sub-folders in pages controller
On May 22, 1:05 am, gmwebs [EMAIL PROTECTED] wrote: How do I configure the following? I am using 1.2.0.5137 I want to organise my static pages in subfolders so that views/pages/ products/product1 points towww.mydomain.com/products/product1. it does that as it comes out of the box, unless you are referring to the fact that you want a route directly off the root (for the above you would need a route for /*), in which case see the article on the bakery on the very topic. Why put your product pages as static pages though - doesn't seem like the best idea. hth, AD --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP group. To post to this group, send email to cake-php@googlegroups.com 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 -~--~~~~--~~--~--~---
Re: Sub-folders in pages controller
I have a work around, but I had to add in a route for each product group. It is working now though... As for the reason behind making the pages static, they only have 8 products and they just want an exact copy and paste from the old to the new site. Also, they want to be able to edit the xhtml themselves without getting in to the code side of things. Thanks for the reply though... On 25 May, 08:44, AD7six [EMAIL PROTECTED] wrote: On May 22, 1:05 am, gmwebs [EMAIL PROTECTED] wrote: How do I configure the following? I am using 1.2.0.5137 I want to organise my static pages in subfolders so that views/pages/ products/product1 points towww.mydomain.com/products/product1. it does that as it comes out of the box, unless you are referring to the fact that you want a route directly off the root (for the above you would need a route for /*), in which case see the article on the bakery on the very topic. Why put your product pages as static pages though - doesn't seem like the best idea. hth, AD --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP group. To post to this group, send email to cake-php@googlegroups.com 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 -~--~~~~--~~--~--~---
Sub-folders in pages controller
How do I configure the following? I am using 1.2.0.5137 I want to organise my static pages in subfolders so that views/pages/ products/product1 points to www.mydomain.com/products/product1. I have found plenty of documentation on how to configure routes for normal controller/actions but I can't seem to get it working with the pages controller. Any help will be appreciated. Graham --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP group. To post to this group, send email to cake-php@googlegroups.com 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 -~--~~~~--~~--~--~---