WebSite X5Help Center

 
Joern T.
Joern T.
User

How to structure html, php file at folder?  en

Autor: Joern T.
Visited 313, Followers 1, Udostępniony 0  

Hello,

I want build a large project.
To avoid name conflicts at php files, I want to structure html, php files at folders.

Examples:
www.mydomain.de/love/topic1.php
www.mydomain.de/love/topic2.php
www.mydomain.de/family/topic1.php
www.mydomain.de/family/topic2.php

At X5 sitemap I created folder to structure topics.
The result is a menu like this:                Home | love | topic1
The url is like:                                      www.mydomain.de/topic1.php

As you see, at url I miss the subfolder /love/at url.

How, can I save php files an folder?

Thanks

Posted on the
4 ODPOWIEDZI - 1 PRAWIDłOWA ODPOWIEDź
Esahc ..
Esahc ..
Moderator

Joern, WX5 does not use folders (except for its own resources), but from the users point of view it can appear to use folders by structuring the menu as you require. Internally WX5 will automatically rename actual files where duplicate names exist.

Czytaj więcej
Posted on the from Esahc ..
Joern T.
Joern T.
User
Autor

Hello Esahc,

Thanks for your fast answer.
Could, you set this issue to feature request list, please?

Czytaj więcej
Posted on the from Joern T.
John S.
John S.
User

Hello Joern

I think this will never be made.

One thing is the page(file) name - another thing is what you see in the menus.

Normally the X5 gives the same name to the file as you specify in the menu - but you can use the same name more times.

Example: You want to name a file topic1 for both the menu items, item1 and item2.

This is possible, as you can specify the name you want to see in the menu.

Czytaj więcej
Posted on the from John S.
Esahc ..
Esahc ..
Moderator

Like John said, from the users point of view it is structured, but you can of course structure your site into folders and sub directories if you wish by using levels and setting properties to link directly to a page in a folder. This can be a lot of work though (like in the old days before WX5.  :-)

Czytaj więcej
Posted on the from Esahc ..