Default Access on Multiple site settings

Author Message

hassan zerkoune

Friday 02 April 2004 4:50:08 am

Hi!

I've set a multilingual site in two langages : french( site access : fr) and english (site access : en).
It runs perfectly when i access to my site with these URLs : http://www.mysite.com/en or http://mysite.com/fr .

When I try to join this URL : http://www.mysite.com/ whithout the site access after.
I accessed to the default access set in the site.ini.append.php which is here the site in english ( DefaultAccess=en ).
The problem is that some links in my pagelayout don't run with this URL. it's the case for exemple with "login", "sign-up", "submit comment" ...
I've URLs like this : http://www.mysite.com/user/login ... which don't work at all.
I encounter a difficulty to make the links on the pagelyout point with the default site access written in it like this (http://www.mysite.com/en/content/view/full/products)

When you arrive in www.fast.no, all the links on the pagelayout are enableb with the default access : http://fast.no/us/????. So i would like to do the same thing with my site.

Could you please help me in order to enable this feature on my site.
Thank you!

Ole Morten Halvorsen

Friday 02 April 2004 6:10:45 am

Are you using the ezurl operator when creating links?

Example

<a href={$node.url_alias|ezurl}>This is a link</a>
<a href={"/user/login"|ezurl}>Login here</a>

Check out http://ez.no/ez_publish/documentation/reference/template_operators/urls/ezurl for documenation on the ezurl operator.

Ole.

Senior Software Engineer - Vision with Technology

http://www.visionwt.com
http://www.omh.cc
http://www.twitter.com/omh

eZ Certified Developer
http://ez.no/certification/verify/358441
http://ez.no/certification/verify/272578

hassan zerkoune

Friday 02 April 2004 7:35:48 am

Yes of course, I use the ezurl operator to create my links.

The links works well when I access to my site by the URL : http://mysite.com/en or http://mysite.com/fr and also by the URL : http://mysite.com/.
Except that for this last case the links are formatted like this : http://mysite.com/user/login (doesn't work/no database connection) or http://mysite.com/content/view/full/44 (works but if i want to submit comment i have to login and it 's the same problem as above).
So, for the last case, i would like to add in my links the default site access which is the part : /en in the URL.

The question is : do I have to make test on the URL when i access the site to write the correct links or is there any rules or configurations that i have missed?

Thank you.

hassan zerkoune

Monday 19 April 2004 8:30:52 am

Please, can someone help me to set up those Links i described in the last post.
Thank You!

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.