DwPageManagerPhone

Version: - string  

Summary

Returns the phone number of the page manager of the current page.

Settings

The value is based on the Telephone input field in the Information section for the user.

(Users > Group/User > Information tab > Information panel > Telephone)

Examples

Outputting the template tag

@GetString("DwPageManagerPhone")

Check if tag has a value

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

Assign tag to a value for later use

@{ string storedTag = GetString("DwPageManagerPhone"); }

Outputting the template tag

<!--@DwPageManagerPhone-->

Check if string has a value

<!--@If Defined(@DwPageManagerPhone)--> Let's output this tag here: <strong><!--@DwPageManagerPhone--></strong> <!--@EndIf(@DwPageManagerPhone)-->