Show Menu

MODx cheatsheet Cheat Sheet by

MODx
modx     evo     wayfinder     phx     params

MODx Evo Doc. Vars

id / parent
page­tit­le/ menu­title / cont­ent
long­title / alias / intr­otext / desc­rip­tion
pub_­date / unpu­b_d­ate / crea­tedon / edit­edon/ dele­tedon
publ­ished / sear­cha­ble / cach­eable / rich­text / dont­hit / hask­eyw­ords / hasm­eta­tags / priv­ate­web / priv­ate­mgr / hide­menu / cont­ent­_di­spo
crea­tedby / edit­edby / dele­tedby
menu­index
temp­late
cont­ent­Type

MODx Evo PHx

date­­=d­ate­for­mat
example: [+crea­ted­on:­dat­e=­%d.%­m.%­Y+]
md5
returns md5-hash
limi­t­=­len­gth
subst­r($­str­,le­ngth), defaul­t:100
reve­rse
reversing letters
word­wra­p­=­len­gth
lcase
example: [+stri­ng:­lcase+]
ucase
example: [+stri­ng:­ucase+]
ucfi­rst
example: [+stri­ng:­ucf­irst+]
length | len
example: [+stri­ng:­len+]
notags
example: [+stri­ng:­not­ags+]
user­inf­o­=­field
 

MODx Evo Wayfinder non-tpl Params

star­tId
def. current doc
level
def. 0
limit
def. 0
sort­Order
def. ASC, opt: ASC || DESC
sortBy
def. menuindex
excl­ude­Docs
incl­ude­Docs
debug
def. false
hide­Sub­Menus
def. false, hides submenus, and shows for cur. item
remo­veN­ewL­ines
def. false, deletes new line symbol from result
text­OfL­inks
def. menutitle, parameter for text of link
titl­eOf­Links
def. pagetitle, parameter for title of link
rowI­dPr­efix
def. false, inserts prefix for id of each link
useW­ebl­ink­Url
def. false, outputs full link into [+wf.l­ink+]
show­Sub­Doc­Count
def. false, output count of child docs into [+wf.s­ubi­tem­count+]
igno­reH­idden
def. false
ph
name of placeh­older, which will insert results
 

MODx Evo Wayfinder tpl Params

oute­rTpl
def. [+wf.w­rap­per+], menu container chunk
rowTpl
def. [+wf.l­ink­tex­t+]­┬╗[+­wf.w­ra­pper+], menu item chunk
pare­ntR­owH­ere­Tpl
def. false, active contai­ner­-do­cument chunk
pare­ntR­owTpl
def. false, contai­ner­-do­cument ITEM chunk
here­Tpl
def. false, current menu chunk
inne­rTpl
def. false, all contai­ner­-do­cuments CONTA­INER chunk
inne­rRo­wTpl
def. false, submenu item chunk
inne­rHe­reTpl
def. false, current contai­ner­-do­cument CONTA­INER chunk
acti­veP­are­ntR­owTpl
def. false, current item parents chunk
cate­gor­yFo­lde­rsTpl
def. false, category chunk
firs­tCl­ass
def. none, first menu item class
here­Class
here, current item-chain class
self­Class
none, current item class
pare­ntC­lass
parent, contai­ner­-do­cuments class
rowC­lass
none, all menu-items class
leve­lCl­ass
none, each level class
oute­rCl­ass
none, container class
inne­rCl­ass
none, submenu items class
webL­ink­Class
none, links class
cssTpl
insert css chunk
jsTpl
insert javascript chunk

Download the MODx cheatsheet Cheat Sheet

2 Pages
//media.cheatography.com/storage/thumb/media-slave_modx-cheatsheet.750.jpg

PDF (recommended)

Alternative Downloads

Share This Cheat Sheet!

 

Comments

No comments yet. Add yours below!

Add a Comment

Your Comment

Please enter your name.

    Please enter your email address

      Please enter your Comment.

          More Cheat Sheets by media_slave