User Tools

Site Tools


en:public:developer:template_system:tags:url:basehref

This is an old revision of the document!


<#basehref>

This tag Return the base URL/target for all relative URLs. For example, given basehref = http://foo.example.com/dir1/dir2 then the relative url /real-estate/residential/ refers to http://foo.example.com/dir1/dir2/real-estate/residential/. the base URL/target is configured in the urlresources configuration file

Possible attributes

  • WithoutProtocol - 1 or 0 (default): Remove the protocol scheme (ex: http://) from the result

urlresources configuration

Example

<#basehref>
en/public/developer/template_system/tags/url/basehref.1352643878.txt.gz · Last modified: 2012/11/11 18:24 by admin