InterJinn

Development Framework For PHP

Embed: {jinn:link}

Abstract

Alias: {jinn:url}

This embed is used to localize pages that might appear in tags such as the HTML standard anchor tag or anywhere else in which the path requires localization.

Attribute - path (aka href)

This attribute denotes the path to the page to be localized. Localization means that if the path begins with // then the path will be considered relative to the pageBase that you set in the project configuration. Otherwise the path is left unaltered.

The following example illustrates localization of an path within a standard HTML anchor tag.

Example:
<a href="{jinn:link path=//documentation/configuration.php}">