Forums / Setup & design / URL - 2 questions

URL - 2 questions

Author Message

Zinistry Vacana

Saturday 05 April 2003 11:42:47 am

*I have installed a folder after the default Start folder. This folder is called Mainpage and shall be the first page.

*I've entered the /content/view/full/xx in the site.ini.append.php (override) so that the domain registered goes to the Mainpage, but then I get the Start-page first in the url. How can I set that the site shall drop the first Start page and begin from Mainpage?

*I just get the possibility to come to the page through the /content/view/full/<object-id>, but why can't I juse the title of the pages? How do I implement so my visitors can use the text-based url's insted of using the object-id number?

Jan Borsodi

Tuesday 08 April 2003 2:18:43 am

1:
Currently the path is controlled by the content/view php code. A crude solution is to detect if content/view is used and then skip the first entry in the path array.

2:
You have to modify the templates to fetch the path names, use {$node.url_alias} for this.

--
Amos

Documentation: http://ez.no/ez_publish/documentation
FAQ: http://ez.no/ez_publish/documentation/faq