help me create dynamic routing. A have a DB tree structure of pages like
- page1 ----- page1.1 ----- page1.2 - page2 ----- page2.1 and have a MyPagesController which handle request like /MyPages/show/page1/ or /MyPages/show/page1/page1.2/ How can i trim URL this format: /page1/ or /page1/page1.2/ One idea i have: after bootsrap.php before dispatcher - load MyPagesModel - look all db trees - formate route::connect but i think it will be too long. May be do something for dispatcher which call /MyPages/show/ if not found controller name like fir url argument ? Help me plesase. PS. Sorry my Englsih --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" 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 -~----------~----~----~----~------~----~------~--~---
