Hi,

Can't figure out how to get this working in Cake so I thought this'd be
the best place to ask.

I'm after having URL's like...

/news/
So all the news for the whole site
/team1/news/
Show news from team1 and it's groups
/team1/group1/news
Show only group1 news
/team2/news/
Show team2 news

And so on for various teams and groups.  So really I'm after a way to
check if the first part is a team, if not carry on like cake would
normally work with the controller called news.  If the first part is a
team then it sets a variable and then checks if it's followed by a
group, if not, go looking for that controller.

Hope this makes sense, thanks for any ideas.

Dai Bach


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to