Wednesday, December 24, 2014

Re: Cakephp: 1 core 1 app many webroot?

Banny,

Try it Themes in CakePHP: http://book.cakephp.org/2.0/en/views/themes.html
You can choose current theme in AppController, write your logic.
It's perfect to your case, read and refactoring your structure.

On Tue, Dec 23, 2014 at 11:51 PM, Banny Muth <bannymuth@gmail.com> wrote:
Hi I'm a new born programmer trying to build a system that user can register then get a free prebuild system( sample webroot) that i make.
The problem is all user will share the same logic (app folder) only different on their UI (webroot).
So I will copy the prebuild system (sample webroot) to their folder on their register.
How can i share app folder with multi UI (webroot) of their prebuild system.
My folder structure is:

lib
app
webroot (mysite UI)
prebuildsystem
usersystem
   |-user1(webroot)
   |-user2(webroot)
   |-user3(webroot)

--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP

---
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cake-php+unsubscribe@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/d/optout.



--
Atenciosamente,

Rafael F. Queiroz

--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP

---
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cake-php+unsubscribe@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/d/optout.

No comments: