You are now viewing the documentation of eZ Publish legacy (4.x series and the legacy "stack" in 5.x). For 5.x versions this documentation must be complemented with the latest, more current documentation available at Happy learning!



Same as "ezurl" without "index.php" and the siteaccess name in the returned address.


input|ezroot( [ quote [, type ] ] )


quote string Quote style: "no", "single" or "double" (default). No.
type string URL type: "full" or "relative" (default). No.


A string containing a working version of the input address.


This operator works almost in the same way as the "ezurl" operator. The only difference is that it does not include "index.php" or the name of the siteaccess in the returned address. In other words, it returns an address which points to the root of the eZ Publish directory.

Balazs Halasy (05/02/2004 12:49 pm)

Ester Heylen (17/11/2009 4:05 pm)

Balazs Halasy, Svitlana Shatokhina, Ester Heylen


  • The usage example is wrong.

    The usage example should say input|ezroot( [ quote [, type ] ] )
    • Re: The usage example is wrong.

      This has been edited.