Clean Installation of nette
- Marek Bartoš
- Nette Blogger | 1262
That's exactly what web-project is for. It's just basic structure, homepage and error page.
- argian
- Member | 15
Hi,
I am trying to test a /front & /admin application.
I have a Museum page that must be called from the home page.
My configuration is:
Application mapping is:
*: App\Modules\*\Presenters\*Presenter
My route configuration is
$router->addRoute(‘<presenter>/<action>[/<id>]’,
‘Front:Homepage:default’);
Link from home page is : <a n:href=“:Front:Museum:”>Museum</a>
The link in result page is https://localhost/…ront.museum/ instead of https://localhost/…/www/museum/.
What am I doing wrong.
Thank you.
Last edited by argian (2022-09-19 20:59)
- Marek Bartoš
- Nette Blogger | 1262
Router must distinguish between modules, Admin:Museum and Front:Museum can't have the same URL.
What you are looking for is module routing https://doc.nette.org/…tion/routing#…