Version: - globalvalue  


Returns the name of the currency, e.g. Danish kroner.


The value is generated automatically.

Based on the setting for the culture of the website.

(Modules - Websites - website - Regional settings)


Outputting the template tag


Check if tag has a value

@if(!string.IsNullOrWhiteSpace(GetGlobalValue("Global:Area.Culture.Currency"))) { @* Tag has value, so let's do something useful here. *@ }

Assign tag to a value for later use

@{ string storedTag = GetGlobalValue("Global:Area.Culture.Currency"); }

Outputting the template tag


Check if globalvalue has a value

<!--@If Defined(@Global:Area.Culture.Currency)--> Let's output this tag here: <strong><!--@Global:Area.Culture.Currency--></strong> <!--@EndIf(@Global:Area.Culture.Currency)-->