pmfx / Ditto-to-DocLister-Reference-Tables

Parameters Reference Tables

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Ditto to DocLister Reference Tables

Main parameters

Ditto Parameter Ditto Example DocLister Parameter DocLister Example
config &config=`CONFIG_NAME`
dateFormat ------------- ------------- -------------
dateSource ------------- ------------- -------------
debug &debug=`1` ✔️ ✔️
depth &depth=`3` ✔️ ✔️
display &display=`10` ✔️ ✔️
documents &documents=`25,32,108` ✔️ ✔️
extenders &extenders=`request` ✔️ ✔️
format ------------- ------------- -------------
hiddenFields ------------- ------------- -------------
hideFolders &hideFolders=`1` addWhereList &addWhereList=`isfolder=0`
hidePrivate ------------- ------------- -------------
id ------------- ------------- -------------
keywords ------------- ------------- -------------
language ------------- ------------- -------------
noResults ------------- ------------- -------------
orderBy &orderBy=`pagetitle ASC` ✔️ ✔️
parents &parents=`0` ✔️ ✔️
phx ------------- ------------- -------------
randomize &randomize=`1` orderBy &orderBy=`RAND()`
removeChunk ------------- ------------- -------------
save ------------- ------------- -------------
seeThruUnpub ------------- ------------- -------------
showInMenuOnly &showInMenuOnly=`1` addWhereList &addWhereList=`hidemenu=0`
showPublishedOnly &showPublishedOnly=`1` addWhereList &addWhereList=`published=1`
sortBy &sortBy=`pagetitle` ✔️ ✔️
sortDir &sortDir=`ASC` ✔️ ✔️
start &start=`3` ✔️ ✔️
total &total=`100` ✔️ ✔️
where ------------- ------------- -------------

More Extenders Examples

Description Ditto Example DocLister Examples
enable request extender for display,tpl,sortDir,sortBy parameters &extenders=`request` &good=`display,tpl,sortDir,sortBy` &extenders=`request` &requestActive=`display||tpl||sortDir:g:(ASC,DESC)||sortBy:g:(*):int`
------------- ------------- -------------
------------- ------------- -------------
------------- ------------- -------------
------------- ------------- -------------

Filtering

Ditto Parameter Ditto Example DocLister Parameter DocLister Example
filter ------------- ------------- -------------
globalFilterDelimiter ------------- ------------- -------------
localFilterDelimiter ------------- ------------- -------------

More Doclister Filtering Examples

Description Ditto Example DocLister Example
show news in homepage with tv selection &filter=`NewsInHOME,yes` &filters=`AND(tv:NewsInHOME:is:yes)`
show news (in sidebar) excluded the current document &filter=`id,[*id*],2` &filters=`AND(id:isnot:[*id*])`
------------- ------------- -------------
------------- ------------- -------------
------------- ------------- -------------
------------- ------------- -------------

More DocLister filtering examples can be found here: http://www.evolution-docs.com/extras/doclister/filters

Pagination

Ditto Parameter Ditto Example DocLister Parameter DocLister Example
paginate &paginate=`1` ✔️ &paginate=`pages`
paginateAlwaysShowLinks &paginateAlwaysShowLinks=`1` PrevNextAlwaysShow &PrevNextAlwaysShow=`1`
paginateSplitterCharacter ------------- ------------- -------------
tplPaginateCurrentPage ------------- ------------- -------------
tplPaginateNextOff &tplPaginateNextOff=`CHUNK_NAME` TplNextI &TplNextI=`CHUNK_NAME`
tplPaginatePage &tplPaginatePage=`CHUNK_NAME` TplPage &TplPage=`CHUNK_NAME`
tplPaginatePrevious ------------- ------------- -------------
tplPaginatePreviousOff &tplPaginatePreviousOff=`CHUNK_NAME` TplPrevI &TplPrevI=`CHUNK_NAME`

More Doclister Pagination Examples

Description Ditto Example DocLister Example
------------- ------------- -------------
------------- ------------- -------------
------------- ------------- -------------
------------- ------------- -------------
------------- ------------- -------------

Templates

Ditto Parameter Ditto Example DocLister Parameter DocLister Example
outerTpl &outerTpl=`NewsOuterTpl` ownerTPL &ownerTPL=`NewsOuterTpl`
tpl &tpl=`NewsTpl` ✔️ ✔️
tplAlt ------------- ------------- -------------
tplCurrentDocument ------------- ------------- -------------
tplFirst &tplFirst=`NewsTplFirst` ✔️ ✔️
tplLast &tplLast=`NewsTplLast` ✔️ ✔️

About

Parameters Reference Tables