Home page
[[Wayfinder?
&startId=`0`
&outerTpl=`wfOuter`
&rowTpl=`wfRow`
&firstClass=``
&lastClass=``
&hereClass=`active`
]]
outerTpl:
rowTpl:
<li><a href="[[+wf.link]]" title="[[+wf.title]]" class="[[+wf.classnames]]"><span>[[+wf.linktext]]</span></a></li>
[[Wayfinder?
&startId=`0`
&outerTpl=`wfOuter`
&rowTpl=`wfRowFooter`
]]
rowTpl:
<li><a href="[[+wf.link]]" title="[[+wf.title]]"><span>[[+wf.linktext]]</span></a></li>
[[getResources?
&parents=`6`
&limit=`8`
&showHidden=`0`
&hideContainers=`1`
&resources=`-7,-841,-847`
&includeTVs=`1`
&tpl=`nieuwBinnengekomen`
&sortby=`editedon`
&sortdir=`DESC`
]]
tpl nieuwBinnengekomen:
<li><a href="[[~[[+id]]]]">[[+pagetitle]] [[+tv.automaatSchakelTaalDemontage]]</a></li>
[[*one]]
input options:
@EVAL return $modx->runSnippet('getResources', array( 'parents'=>'11','hideContainers'=>'0','includeContent'=>'1','depth'=>'10','tpl'=>'listOne','context'=>'web','limit'=>'0', 'includeTVs'=>'1','processTVs'=>'1','sortby'=>'editedon','sortdir'=>'DESC'));
tpl listOne:
[[+pagetitle]]==
<p class="titleBox"><a href="[[~[[+id]]]]">[[+pagetitle]]</a></p>
<p class="modelBox">[[+tv.modelOne]]</p>
<span class="fotobox"><img src="[[+tv.foto1One:phpthumbof=`w=200&h=100&f=jpeg`]]" alt="[[+pagetitle]]" /></span>
<span class="prijsBox"><strong>[[+tv.valutaOne]] [[+tv.prijsOne]]</strong></span>
<a href="[[~[[+id]]]]" class="meerinfo"><span>Meer informatie</span></a>
||
[[*two]]
input options:
@EVAL return $modx->runSnippet('getResources', array( 'parents'=>'12','hideContainers'=>'0','includeContent'=>'1','depth'=>'10','tpl'=>'listTwo','context'=>'web','limit'=>'0', 'includeTVs'=>'1','processTVs'=>'1','sortby'=>'editedon','sortdir'=>'DESC'));
tpl listTwo:
[[+pagetitle]]==
<p class="titleBox"><a href="[[~[[+id]]]]">[[+pagetitle]]</a></p>
<p class="modelBox">[[+tv.modelNieuw]]</p>
<span class="fotobox"><img src="[[+tv.foto1Two:phpthumbof=`w=200&h=100&f=jpeg`]]" alt="[[+pagetitle]]" /></span>
<span class="prijsBox"><strong>[[+tv.valutaTwo]] [[+tv.prijsTwo]]</strong></span>
<a href="[[~[[+id]]]]" class="meerinfo"><span>Meer informatie</span></a>
||
[[*Three]]
input options:
@EVAL return $modx->runSnippet('getResources', array( 'parents'=>'13','hideContainers'=>'0','includeContent'=>'1','depth'=>'10','tpl'=>'listThree','context'=>'web','limit'=>'0', 'includeTVs'=>'1','processTVs'=>'1','sortby'=>'editedon','sortdir'=>'DESC'));
tpl listThree:
[[+pagetitle]]==
<p class="titleBox"><a href="[[~[[+id]]]]">[[+pagetitle]]</a></p>
<p class="modelBox">[[+tv.modelThree]]</p>
<span class="fotobox"><img src="[[+tv.foto1Three:phpthumbof=`w=200&h=100&f=jpeg`]]" alt="[[+pagetitle]]" /></span>
<span class="prijsBox"><strong>[[+tv.valutaThree]] [[+tv.prijsThree]]</strong></span>
<a href="[[~[[+id]]]]" class="meerinfo"><span>Meer informatie</span></a>
||
I will post sub pages tomorrow