Should be easily handled with routes...
http://book.cakephp.org/view/46/routes-configuration

There are some good tutorials "out there" as well.

On Aug 19, 12:28 pm, rocket <[EMAIL PROTECTED]> wrote:
> hello
> i'm building a trading post for my two favorite games, WoW and Ultima
> Online, but i'm not sure how to handle categories.
>
> It will be a common buy/selll/trade pos.
>
> Ideally URLs would look like this:
>
> www.tradingpost.com/wow/www.tradingpost.com/uo/
>
> I know I can create separate folders to do this in the controller, wow
> and uo respectivley, but then if i do something like this
>
> www.tradingpost.com/wow/sellwww.tradingpost.com/uo/sell
>
> How do I just share the "sell" controller between them, and rely on
> the wow/uo section of the URL to declare the "category ID" for my SQL
> database?
>
> does anyone have any tips? thanks
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to