Forums / Setup & design / problem with ezurl and siteacces

problem with ezurl and siteacces

Author Message

Marko Žmak

Thursday 15 June 2006 10:03:17 am

I'm experiencing some problems with ezurl() when using template cache. I acces my eZ installation like this:

http://example.com/mysite/index.php

so eZ is located under http://myserver/mysite/ and NOT in the root of my server. I'm using "myaccess" siteacces. I tried to output a link like this:

<A HREF="content/view/full/2"|ezurl()}>Link text</A>

When I use template cache and template compile I get this "Link text" pointing to:

http://example.com/mysite/content/view/full/2

and when the template cache is off I get this:

http://example.com/mysite/index.php/myaccess/content/view/full/2

So it seems to me that ezurl() behaves wrong when template cache is on. Is this a bug or there's something I missed?

--
Nothing is impossible. Not if you can imagine it!

Hubert Farnsworth

Marko Žmak

Tuesday 20 June 2006 7:26:43 am

Can anyone answer this one? Why is ezurl behaving differently with TemplateCache on and off?

--
Nothing is impossible. Not if you can imagine it!

Hubert Farnsworth