Hi All,
I try to develop multi-module site with frontend and backend module
Initially I created project starting command in Pholcon Development Tool (see https://forum.phalcon.io/discussion/2408/two-different-themes-for-admin-and-front-side-of-site):
phalcon create-project store —type=modules and got next structure
- .phalcon
- apps
- /frondend
- //config
- //controllers
- //models
- //views
- /Module.php
- config
- nbproject
- public
- .htaccess
- index.html
After that I manually created
- /backend
- //config
- //controllers
- //models
- //views
- /Module.php
and added in apps directory.
I have two question I don’t find in —help command:
How I can create right module for instant with name “admin” but phalcon dev tool generate only “frontend” module.
How I can create model in necessary directory (choose right module). When I start command phalcon create-model --name=users --doc model created in /backend but I need in /frontend, how can I choose it. I use Phalcon DevTools (1.3.1) .
With best regards, Alexey