You are on page 1of 1

www.modxcms.

com Anatomy

BASIC CHEATSHEET ed. 1.3
Released for ModX Evolution ver. 1.0.2
Released date 20091130
Released by goldsky

Placeholders / Document Objects
[*variable‐name*] or [*tvName*] or API: $modx‐>documentObject['variable‐name']
Built in Template Variables (custom)
id searchable Input Type Widgets @BINDINGS
type cacheable Text Data Grid @FILE file_path
contentType createdby Textarea Floater @DOCUMENT document_id
pagetitle createdon Textarea (Mini) Marquee @CHUNK chunk_name
longtitle editedby RichText Rich Text @SELECT sql_query
p
description editedon DropDown List Menu
p Ticker @EVAL php
@ p p_code
alias deleted Listbox (Single‐Select) View Port @DIRECTORY _path_to_folder
published deletedon Listbox (Multi‐Select) Formats Chunks (HTML)
pub_date deletedby Radio Options HTML Entities {{chunk}} 
unpub_date menutitle Check Box Date Formatter API:$modx‐>getChunk('chunk')
parent donthit Image Unixtime Snippets (PHP)
isfolder haskeywords File Delimited List executed when a page loads.
introtext hasmetatags URL HTML Generic Tag [[cached_snippet]]
content privateweb Email Hyperlink [!uncached snippet!]
[!uncached_snippet!]
richtext privatemgr Number Image API: $modx‐>runSnippet();
template content_dispo Date String Formatter Plugins (PHP)
menuindex hidemenu API: $modx‐>getTemplateVarOutput() associated to specific system events
System Info (PHP & MySQL) Links Modules (PHP)
[^qt^] Query Time (s) [~1~] docID # A module is a collection of resources (e.g. 
[^q^] # of queries API:$modx‐>documentIdentifier plugins, snippets, etc).
[^p^] PHP parsing time (s) API:$modx‐>getDocumentIdentifier('id') META tags
[^ ^] T l l d i
[^t^] Total load time (s)
() Pl h ld
Placeholders admin control panel: Resources ‐‐> Manage ‐‐
d i l l R M
[^s^] Source of the load [+placeholder_name+] eg: [+id+] > META tags ‐ Keywords
SITE‐WIDE SYSTEM SETTINGS
[(allow_duplicate_alias)] [(friendly_url_suffix)] [(site_name)] defined CONSTANTS
[(automatic_alias)] [(manager_language)] [(site_start)] IN_ETOMITE_PARSER
[(cache_default)] [(manager_layout)] [(site_status)] true/false
[(captcha_words)] [(manager_theme)] [(site_unavailable_message)] IN_PARSER_MODE
[(custom_contenttype)] [(number_of_logs)] [(site_unavailable_page)] true/false
[(default_template)] [(number_of_messages)] [(strip_image_paths)] MODX_API_MODE
[(editor_css_path)] [(number_of_results)] [(top_howmany)] true/false
[(emailsender)] [(publish_default)] [(track_visitors)] MODX_BASE_PATH
[(emailsubject)] [(rb_base_dir)] [(udperms_allowroot)] D:/localhost/modx/
[(error_page)] [(rb_base_url)] [(unauthorized_page)] MODX_BASE_URL
[(modx_charset)] [(reset_template)] [(upload_files)] /modx/
[(fck_editor_autolang)] [(resolve_hostnames)] [(upload_maxsize)] MODX_SITE_URL
[(fck_editor_style)]
[( y )] [(search_default)]
[( )] [(use_alias_p
[( path)])] http://localhost/modx/
p // / /
[(fck_editor_toolbar)] [(server_offset_time)] [(use_captcha)] MODX_MANAGER_PATH
[(fck_editor_toolbar_customset)] [(server_protocol)] [(use_editor)] D:/localhost/modx/manager/
[(filemanager_path)] [(settings_version)] [(use_udperms)] MODX_MANAGER_URL
[(friendly_alias_urls)] [(show_preview)] [(webpwdreminder_message)] http://localhost/modx/manager/
[(friendly_urls)] [(signupemail_message)] [(websignupemail_message)] SID
[(friendly_url_prefix)] [(site_id)] [(which_editor)] session id

You might also like