Default Access on Multiple site settings

Default Access on Multiple site settings

Friday 02 April 2004 4:50:08 am - 3 replies

Modified on Friday 02 April 2004 4:51:17 am by hassan zerkoune

Author Message

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!

You must be logged in to post messages in this topic!

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