Forums / Cotonti / Support / Current URL Tag

Trustmaster
#37321 2013-03-27 14:26

I think the easiest way to output the current URL is using {PHP.out.canonical_uri}.

For the list of global vars, have a look at the Global variables reference.

Some tags are missing in TPL Tags Repo because those tags are not hardcoded anymore and are generated on the fly in different locations with various prefixes, e.g. {PAGE_SHORTTITLE} is also seen as {PAGE_ROW_SHORTTITLE}, {SOME_PLUGIN_PAGE_ROW_SHORTTITLE}, etc. TPL Tags just can't handle them correctly.

The best way to see the list of all available tags in current template is using CoTemplate debug mode.

May the Source be with you!