Clean Installation of nette

argian
Member | 6
+
0
-

I am new to nette and want to test how it works.

How can I create a clean installation with only the home page?

argian
Member | 6
+
0
-

I mean a comletely clean so that I can start creating step by step my project but not customising the nette web project.

Marek Bartoš
Nette Blogger | 770
+
0
-

That's exactly what web-project is for. It's just basic structure, homepage and error page.

argian
Member | 6
+
0
-

If I want to implement a structure of /admin and /frontpage how can I do it? Do you have any example?

Pepino
Member | 167
+
0
-
argian
Member | 6
+
0
-

Thank You

argian
Member | 6
+
0
-

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 | 770
+
+1
-

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#…

argian
Member | 6
+
0
-

Great. It works.

Thanks a lot.

nobita11
Member | 3
+
-1
-

I think these are good and very useful information.
https://movie2uhd.com/…korean-movie

nobita11
Member | 3
+
-1
-

These information are good and useful.
movie2021–2022.com

nobita11
Member | 3
+
-1
-

These information are good and useful.
https://movie2021-2022.com/