Resources » System Tags

System Variable Tags

System tags contain Etomite configuration settings, which can be helpful at times, and can be used several different ways. Using the proper method at the proper time it is possible to either display the contents of a setting or to access it from within snippet code to make logic decisions.

Several of the tags can come in handy when creating documents for your site. For this mode of use you would wrap the setting name within opening [ ( and closing ) ] system variable tags. As an example, [ (site_name) ] would display "ThailandTime" in place of the tag. These settings are also available for use within Snippets by using a call similar to $etomite->config['site_name'] to access a specific variable. The list below has been abbreviated by excluding WYSIWYG editor specific settings and is subject to change without notice.

Etomite Configuration Settings
Configuration Setting Description
absolute_base_path Installation path calculated from the server root.
relative_base_path Installation path calculated from the working directory.
www_base_path Installation URL path to the working directory.
settings_version 1.0 : Currently installed version number.
date_format %Y-%m-%d : strftime() Date format string.
time_format %I:%M %p : strftime() Time format string.
server_offset_time 0 : Time offset between server and local times in +/-.
server_protocol http : Server protocol can be http or https.
manager_language english : The deafult manager language.
etomite_charset iso-8859-1 : The default character set.
site_name My Etomite Site : The name/title of your site.
site_start 1 : The id of the document where your site starts.
error_page 3 : The id of the 404 error page document.
site_status 1 : 0=offline | 1=online
site_unavailable_message Message to display, or script to run, when the site is offline.
track_visitors 0 : 0=don't log visitors | 1=log visitors
resolve_hostnames 1 : Resolve hostnames rather than simply storing host IP in logs. 0=No 1=Yes
top_howmany 10 : The number of entries to display in statistics reporting.
default_template 3 : Default template pre-selected when creating new documents.
publish_default 1 : Default published status. 0=un-published | 1=published
search_default 1 : Default searchable status. 0=don't include 1=include
cache_default 1 : Default cacheable status. 0=non-cacheable | 1=cacheable
syncsitecheck_default 1 : Default site synchronization setting for documents. 0=no sync | 1=sync
showinmenu_default 0 : Whether a document should have a menu item created. 0=Hide | 1=Show
friendly_urls 0 : Enable Friendly URL's. 0=Disabled | 1=Enabled
friendly_url_prefix  : FURL prefix to prepend onto document id's
friendly_url_suffix .html : FURL suffix to append onto document id's
friendly_alias_urls 0 : Enable Friendly Aliases. 0=Disabled | 1=Enabled
use_udperms 0 : Use user document/group permissions. 0=No 1=Yes
use_uvperms 0 : Use visitor document/group permissions. 0=No 1=Yes
access_denied_message Default access denied message to display for permissions violations.
udperms_allowroot 0 : Should users be able to create documents in the doc root? 0=No 1=Yes
use_mgr_logging 0 : Should a manager audit trail be kept? 0=No 1=Yes
max_attempts 3 : Maximum login attempts before the account is blocked.
use_captcha 0 : Require CAPTCHA code authentication for manager logins? 0=No 1=Yes
captcha_words Comma delimited list of words to be used for CAPTCHA authentication.
signupemail_message The message which is used to send new user login details.
emailsender The From email address for emails.
emailsubject The system email Subject line.
number_of_logs 100 : Default number of log entries to display per page.
number_of_messages 30 : Default number of internal mesages to display per page.
show_doc_data_preview 1 : Controls status of document previews. 0=Disabled 1=Enabled
use_doc_editor 1 : Controls whether a WYSIWYG editor can be used. 0=Disabled 1=Enabled
which_editor 5 : Index of the WYSIWYG editor to use.
use_code_editor 1 : Controls whether EditArea can be used for HTML mode editing. 0=Disabled 1=Enabled
code_highlight 0 : Controls whether EditAre should use code highlighting
strip_image_paths 0 : Controls whether absolute paths should be converted to relative paths.
filemanager_path Default root for the file manager.
upload_files Comma delimited list of allowable upload file types.
inlineview_files Comma delimited list of allowable inline viewable (code view) file types for the file manager.
view_files Comma delimited list of viewable (image view) file types for the file manager.
edit_files Comma delimited list of file types which can be edited from within the file manager.
exclude_paths Comma delimited list of file paths to exclude from the file manager
maxuploadsize Maximum upload file size for the file manager
manager_layout 1 : Frame based or IE drop-down based manager main menu.
release 1.0 : Current software release number.
patch_level .0 : Current software release patch level.
code_name Prelude : Current release branch code name.
full_appname Etomite Content Management System 1.0 (Prelude)
small_version 1 : Small version of the release number.
slogan Fast, Free, Infinitely Flexible : The current software release slogan.

Etomite Parser Results
Tag Description
[ ^q^ ] Number of queries run
[ ^qt^ ] Total query time for page
[ ^p^ ] Total PHP time for page
[ ^t^ ] Total time to render page
[ ^s^ ] Document source - cache or database
Powered by Etomite CMS.