Substitution Variables can be placed within pages in the same manner as regular text. When the content retriever finds a substitution variable while building the output for a page, the substitution variable is replaced by the value it represents. The value can be as simple as the current date or as complicated as the definition to place the contents of the events calendar within a page.
Substitution variables are often used where you might use a Java-Script or code snippet within other content management and blogging systems. Check out a suggested procedure to add the current date to a page of one of the most popular cms/blogging systems:
<?php echo date('l jS F Y'); ?>The date format can be easily formatted. More info on the date() php function here...
Now let's try {TIME_STAMP} which returns 2024/11/19 19:32:37 {MM/DD/YYYY} returns 11/19/2024
Mix in a little text: "Hello, the current day, date and time is {DDDD}, {MMMM} {d}, {YYYY} {TIME_OF_DAY}"
and the result is: "Hello, the current day, date and time is Tuesday, November 19, 2024 07:32 PM"
The following is an extensive, but non-exhaustive list of Ujima substitution variables:
How many vertical columns are active for this page
1
{PAGE_TITLE}
The title of this page
The Roots of My Soul Memorials - Substitution Variables
{META_AUTHOR}
Meta Author
{META_DESCRIPTION}
Meta Description
{META_KEYWORDS}
Meta Keywords
{META_ROBOTS_OPTIONS}
Meta Robots Options
archive, follow, imageindex, index
{RETRIEVE_CRITERIA}
The retrieval criteria for this page
AND (Every Lanquage OR English) AND (Every Month OR November ) AND (Every Day OR Day19) AND (Every Tuesday OR the third Tuesday ) AND (AllHours OR Hour19), AND (All Minutes OR Minute32) AND (Guests OR AllUsers), AND (All Screen Widths OR Screen Width 1024) AND External Users, AND Data Item Is Active
{TEMPLATE_SELECT_LIST}
Template Selection List
{LANGUAGE_SELECT_LIST}
Language Selection List
{GOOGLE_TRANSLATE}
Displays the Google Translate Selector
{TOP_TOP_MARGIN}
0
{TOP_RIGHT_MARGIN}
0
{TOP_BOTTOM_MARGIN}
0
{TOP_LEFT_MARGIN}
0
{LEFT_TOP_MARGIN}
0
{LEFT_RIGHT_MARGIN}
0
{LEFT_BOTTOM_MARGIN}
0
{LEFT_LEFT_MARGIN}
0
{CENTER_TOP_MARGIN}
0
{CENTER_RIGHT_MARGIN}
0
{CENTER_BOTTOM_MARGIN}
0
{CENTER_LEFT_MARGIN}
0
{RIGHT_TOP_MARGIN}
0
{RIGHT_RIGHT_MARGIN}
0
{RIGHT_BOTTOM_MARGIN}
0
{RIGHT_LEFT_MARGIN}
0
{BOTTOM_TOP_MARGIN}
0
{BOTTOM_RIGHT_MARGIN}
0
{BOTTOM_BOTTOM_MARGIN}
0
{BOTTOM_LEFT_MARGIN}
0
{TOP_TOP_PADDING}
0
{TOP_RIGHT_PADDING}
0
{TOP_BOTTOM_PADDING}
0
{TOP_LEFT_PADDING}
0
{LEFT_TOP_PADDING}
10
{LEFT_RIGHT_PADDING}
5
{LEFT_BOTTOM_PADDING}
20
{LEFT_LEFT_PADDING}
5
{CENTER_TOP_PADDING}
1
{CENTER_RIGHT_PADDING}
50
{CENTER_BOTTOM_PADDING}
0
{CENTER_LEFT_PADDING}
50
{RIGHT_TOP_PADDING}
0
{RIGHT_RIGHT_PADDING}
0
{RIGHT_BOTTOM_PADDING}
0
{RIGHT_LEFT_PADDING}
0
{BOTTOM_TOP_PADDING}
0
{BOTTOM_RIGHT_PADDING}
0
{BOTTOM_BOTTOM_PADDING}
0
{BOTTOM_LEFT_PADDING}
0
{TOP_TOP_BORDER}
0
{TOP_TOP_BORDER_STYLE}
none
{TOP_TOP_BORDER_COLOR}
{TOP_RIGHT_BORDER}
0
{TOP_RIGHT_BORDER_STYLE}
none
{TOP_RIGHT_BORDER_COLOR}
{TOP_BOTTOM_BORDER}
0
{TOP_BOTTOM_BORDER_STYLE}
none
{TOP_BOTTOM_BORDER_COLOR}
{TOP_LEFT_BORDER}
0
{TOP_LEFT_BORDER_STYLE}
none
{TOP_LEFT_BORDER_COLOR}
{LEFT_TOP_BORDER}
0
{LEFT_RIGHT_BORDER}
0
{LEFT_BOTTOM_BORDER}
0
{LEFT_LEFT_BORDER}
0
{CENTER_TOP_BORDER}
0
{CENTER_RIGHT_BORDER}
0
{CENTER_BOTTOM_BORDER}
0
{CENTER_LEFT_BORDER}
0
{RIGHT_TOP_BORDER}
0
{RIGHT_RIGHT_BORDER}
0
{RIGHT_BOTTOM_BORDER}
0
{RIGHT_LEFT_BORDER}
0
{BOTTOM_TOP_BORDER}
0
{BOTTOM_RIGHT_BORDER}
0
{BOTTOM_BOTTOM_BORDER}
0
{BOTTOM_LEFT_BORDER}
0
{BOTTOM_LINE_HEIGHT}
normal
{LEFT_LINE_HEIGHT}
normal
{CENTER_LINE_HEIGHT}
normal
{RIGHT_LINE_HEIGHT}
normal
{TOP_LINE_HEIGHT}
normal
Date and Time Related
{AM_PM}
am or pm
pm
{MORNING_AFTERNOON_EVENING}
morning, afternoon or evening
evening
{DAY_OF_YEAR}
Day number of current year
324
{DAYS_REMAINING}
Days remaining in current year
42
{YYYY/MM/DD}
The current date as YYYY/MM/DD
2024/11/19
{MM/DDY/YYY}
The current date as MM/DD/YYYY
11/19/2024
{TIME_STAMP}
The current time as YYYY/MM/DD HH:MM:SS
2024/11/19 19:32:37
{YY}
The last two digits of the current year
24
{YYYY}
The current year as a four digit number
2024
{M}
The current month as M or MM
11
{MM}
The current month as MM
11
{MMM}
The first three characters of the current month name
Nov
{MMMM}
The full name of the current month
November
{D}
The current month day as d or dd
19
{DD}
The current month day as dd
19
{DDD}
The first three characters of the current week day name