Re: Multiple logical site by prefix in CakePHP

2008-11-29 Thread php.baker

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


On Nov 28, 9:17 pm, Rayhan Chowdhury <[EMAIL PROTECTED]> 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
> [EMAIL PROTECTED],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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Multiple logical site by prefix in CakePHP

2008-11-28 Thread Rayhan Chowdhury

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
[EMAIL PROTECTED], 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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---