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 2025/05/21 01:47:13 {MM/DD/YYYY} returns 05/21/2025
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 Wednesday, May 21, 2025 01:47 AM"
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
www.ujimacms.com - 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 May ) AND (Every Day OR Day21) AND (Every Wednesday OR the third Wednesday ) AND (AllHours OR Hour1), AND (All Minutes OR Minute47) AND (Guests OR AllUsers), AND (All Screen Widths OR Screen Width 1024) AND External Users, AND Internal 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
am
{MORNING_AFTERNOON_EVENING}
morning, afternoon or evening
morning
{DAY_OF_YEAR}
Day number of current year
141
{DAYS_REMAINING}
Days remaining in current year
224
{YYYY/MM/DD}
The current date as YYYY/MM/DD
2025/05/21
{MM/DDY/YYY}
The current date as MM/DD/YYYY
05/21/2025
{TIME_STAMP}
The current time as YYYY/MM/DD HH:MM:SS
2025/05/21 01:47:13
{YY}
The last two digits of the current year
25
{YYYY}
The current year as a four digit number
2025
{M}
The current month as M or MM
5
{MM}
The current month as MM
05
{MMM}
The first three characters of the current month name
May
{MMMM}
The full name of the current month
May
{D}
The current month day as d or dd
21
{DD}
The current month day as dd
21
{DDD}
The first three characters of the current week day name