Ecom:Group.Link.PID

Version: - string  

Summary

Returns a link (incl. the paragraph ID) to the group.

Settings

The value is generated automatically.

Remarks

The value is returned as a HTML code snippet containing an <a> tag.

The link text is the name of the group.

Examples

Outputting the template tag

@GetString("Ecom:Group.Link.PID")

Check if tag has a value

@if(!string.IsNullOrWhiteSpace(GetString("Ecom:Group.Link.PID"))) { @* Tag has value, so let's do something useful here. *@ }

Assign tag to a value for later use

@{ string storedTag = GetString("Ecom:Group.Link.PID"); }

Outputting the template tag

<!--@Ecom:Group.Link.PID-->

Check if string has a value

<!--@If Defined(@Ecom:Group.Link.PID)--> Let's output this tag here: <strong><!--@Ecom:Group.Link.PID--></strong> <!--@EndIf(@Ecom:Group.Link.PID)-->