Path

ez.no / exponential / documentation / customization / tips & tricks / creating nice urls / don't forget to change ezur...


Don't forget to change ezurl to ezroot for link tags

When changing ezurl to ezroot, you'll also want to change it for <link> tags inside of XML text fields. To do this, override the template /design/standard/templates/content/datatype/view/ezxmltags/link.tpl and change:

<a href={$href|ezurl} {section show=$target}target="{$target}"{/section}>{$content}</a>

to

<a href={$href|ezroot} {section show=$target}target="{$target}"{/section}>{$content}</a>

(This example based on 3.3-4 ... if you have a different version your link.tpl might be slightly different.)