ezroot problem

ezroot problem

Sunday 20 March 2005 3:00:43 pm - 3 replies

Author Message

Grenland Web (Jan Kudlicka)

Monday 21 March 2005 12:37:38 am

Hi Marko!

The "ezroot" operator only prepends the input, in your example "active", with the "url" of your eZ publish directory.

Say, for example, you have installed your eZ publish in /var/www/html/mystuff/ez and this directory is accessible via http://localhost/mystuff/ez. Then {"active"|ezroot} will be "/mystuff/ez/address". If you can access this directory via http://myezsite/ it will become just "/active". This operator is used for accessing images, js, css files in the design and var directories.

Jan K.

Jan Kudlicka | System Developer @ Grenland Web | http://www.grenlandweb.no

Marko Žmak

Monday 21 March 2005 4:16:17 pm

Then the documentation for the ezroot operator is incorrect. Am I right?

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

Hubert Farnsworth

Balazs Halasy

Tuesday 22 March 2005 1:13:48 am

Hi,

Yes, the old ezroot docs might be a bit misleading - it does not include the name of the siteaccess; what it does is that it gives you the path to the root of the eZ publish directory. We're sorry about the inconvenience - the "mistake" has been removed from the new docs.

Sincerely Yours

Allman

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.