Friday, November 28, 2008

Re: Multiple logical site by prefix in CakePHP

The cake manual explains how to do this:
http://book.cakephp.org/view/544/Prefix-Routing


On Nov 28, 9:17 pm, Rayhan Chowdhury <rayha...@gmail.com> wrote:
> Dear expart,
>
> I want to develop a website which require to have multiple logical
> site inside a single cake website. Just like different groups in yahoo
> or google.
>
> The site will have the following url:
>
> Global site:
>  www.mydomain.com/global/controller/action
>
> Public site:
>  www.mydomain.com/pub/sylhet/controller/action
>  www.mydomain.com/pub/dhaka/controller/action
>
> Private site:
>  www.mydomain.com/private/hsbc/controller/action
>  www.mydomain.com/private/stc/controller/action
>  www.mydomain.com/private/brack/controller/action
>
> in controller the variable should appear as
> siteType: private
> siteName: hsbc or brack
>
> How can I do this with cakephp exiting structure.
>
> Please help me!
>
> Regards,
> --
> Md. Rayhan Chowdhury,
> Database Officer,
> Presidency University
> r...@raynux.com,www.raynux.com

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to cake-php+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

No comments: