Help : How to retrieve current hostname/url in a tpl ?

Author Message

H-Works Agency

Thursday 16 June 2005 7:44:52 am

I know {ezsys("hostname")} but its not good for me as it returns the same thing in case site.com and www.site.com.

In another way {ezurl|ezroot} used alone doesn't work ! It return nothing. It works only in a href={"/links"|ezurl} tag.

So i need a way to retrieve those urls.

Please help...

EZP is Great

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