DwPageEditorPhone

Version: - string  

Summary

Returns the phone number of the editor.

Settings

The value is based on the Phone input field for a user.

(User Management > User > User tab > Personal panel > Phone)

Examples

Outputting the template tag

@GetString("DwPageEditorPhone")

Check if tag has a value

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

Assign tag to a value for later use

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

Outputting the template tag

<!--@DwPageEditorPhone-->

Check if string has a value

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