NewsOur HistoryOur Beliefs
AdministrationCommunicationEducationEstate PlanningHuman ResourcesInformation & TechnologyMoving ServicesSecretariatTreasury
Adventist Book CenterChildrenCommunity ServicesDiscipleshipEvangelismFamily LifeHealthful LivingMenMinisterios HispanosPastoral SupportPathfindersSeniorsSinglesStewardshipStreams of LightWomenYouth
Adventist Book CenterConference CalendarBible AnswersBible StudiesBible Text SearchEllen White SearchEvangelism ResourcesSunsets
DirectionsFind a ChurchFind a SchoolMedia InquiriesStaff Directory

Home . Ministries . ITS . CMSOverview . CMSVariableTags

Variable Tags

imageImport dynamic data as the page is rendered. This data can be used by other placeholders, wrappers, or just output to the screen. Tags are replaced/processed ONCE BEFORE other placeholders.

syntax should be continuous: correct [directive:tagname]
This document bolds the first [ so the placeholder is not recognized and you can read the tag name on the web page instead of the value. On implementation, no part of the tag should be bold, italicized, or underlined.

  • [qv:querystring variable] from querystring variable
  • [sv:session variable] like a counter, or something else in session
  • [uv:webuservariable] webuser, like User_First_Name
  • [cv:configuration variable] like uDBName

if chosen variable does not exist OR is blank, then tag is replaced with '' (nothing/blank)

1. [qv:querystring variable] example [qv:test1] would take a www.uccsda.org/home?test1=Hello URL and output ‘Hello’ on /home if tag exists in page.

EXCEPTIONS:

  • if the querystring variable has the word ‘script’ in it, then it returns NOTHING, as a protection against XSS
  • [qv:OrderBy] is cleanned for potential sql injection characters and then precced by ORDER BY , like /x?OrderBy=test would be returned as = "ORDER BY test"

2. [sv:sessionvariable] example [sv:UserName] would output ‘Kevin Helbley’ if that user were logged in:

  • [sv:Loadtime]
  • [sv:Dbcalls]
  • [sv:User]
  • [sv:userID]
  • [sv:username]
  • [sv:useremail]
  • [sv:userSec]
  • [sv:WrappperView]
  • [sv:DebugView]
  • [sv:DestinationPage]
  • [sv:Mhpic]
  • [sv:MBcss]
  • [sv:MBFilePath]
  • [sv:MBsec#] where # is mbID number
  • [sv:Session.timeout]
  • [sv:Session.sessionid]

3. [uv:webuservariable] example [uv:User_Name] would output ‘Kevin Helbley’ if that user were logged in:

  • [uv:User_Name]
  • [uv:User_ID]
  • [uv:User_Email]
  • [uv:User_Password] (is a valid variable name, but this will always return ‘’ NOTHING
  • [uv:User_Last_Name]
  • [uv:User_First_Name]
  • [uv:User_Address]
  • [uv:User_City]
  • [uv:User_State]
  • [uv:User_Zip]
  • [uv:User_Phone]
  • [uv:User_Status]
  • [uv:User_LastActive]
  • [uv:User_FirstActive]
  • [uv:User_LoginCount]

4. [cv:configuration variable] example [cv:uDBName] would output ‘Web Site’:

  • [cv:uDBName]
  • [cv:uConStr]
  • [cv:uOrgName]
  • [cv:uRSSServiceName]
  • [cv:uRSSDesc]
  • [cv:uWebMasterName]
  • [cv:uWebMassterEmail]
  • [cv:uManagingEditorEmail]
  • [cv:uConfigFilesPath]
  • [cv:uCSSFolderName]
  • [cv:uXStandardFolderName]
  • [cv:uSiteGraphicsFolderName]
  • [cv:uSiteGraphicsPath]
  • [cv:uCookieLifeInDays]
  • [cv:uCookieAutoLogin]
  • [cv:uDomainName]
  • [cv:uCustom404Error]
  • [cv:uMessageBoardTimeZone]
  • [cv:uExchangeServer]
  • [cv:uExchangeUser]
  • [cv:uExchangePassword]

notes: the webuservariables are pulled from engine_functions.asp function LookupWebUserValue() – so if the DB is extended, this should be updated.

Configuration variables are pulled from engine_functions.asp ReplaceVariableTags() so if more configuration variables are added to engine_configuration.asp (or elsewhere) then that function should be updated if you want at the vars.

Login as Administrator to see live examples

Modules:
Manage Page
Webuser Account
Roles Management
Search
MediaPlayer
RSS / XML Feeds
Templates
CMSConfig
DIFF
GalleryBuilder
Xstandard
Hit Counting


Advanced:
Admin Reports
CMS MEtrics
CMS Setup
Full-text indexing
Configuration
Menus
CSS
xstandard editor
TinyEditor
EditArea Editor
ASPEmail
Debug
Heartbeat
CAPTCHA
Session Variable
Cookies
Tracking
New Module
New Placeholder
New Wrapper
New Form Validation Rule