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/07/04 19:18:15 {MM/DD/YYYY} returns 07/04/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 Thursday, July 4, 2024 07:18 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 Jul ) AND (Every Day OR Day4) AND (Every Thursday OR the first Thursday ) AND (AllHours OR Hour19), AND (All Minutes OR Minute18) 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
186
{DAYS_REMAINING}
Days remaining in current year
180
{YYYY/MM/DD}
The current date as YYYY/MM/DD
2024/07/04
{MM/DDY/YYY}
The current date as MM/DD/YYYY
07/04/2024
{TIME_STAMP}
The current time as YYYY/MM/DD HH:MM:SS
2024/07/04 19:18:15
{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
7
{MM}
The current month as MM
07
{MMM}
The first three characters of the current month name
Jul
{MMMM}
The full name of the current month
July
{D}
The current month day as d or dd
4
{DD}
The current month day as dd
04
{DDD}
The first three characters of the current week day name