Skip to content

Instantly share code, notes, and snippets.

@modxws
modxws / modxws-urok12-4.html
Created June 22, 2012 07:25
HTML: modxws-urok12-4
[[!getPage?
&elementClass=`modSnippet`
&element=`getResources`
&showHidden=`1`
&tpl=`articleTpl`
&limit=`3`
&includeContent=`1`
&includeTVs=`1`
&processTVs=`1`
&parents=`[[*id]]`
@modxws
modxws / modxws-urok12-5.html
Created June 22, 2012 07:32
HTML: modxws-urok12-5
<p><li><a class="active" href="index.php?id=12&page=1">1</a></li>
<li><a href="index.php?id=12&page=2">2</a></li>
<li><a href="index.php?id=12&page=3">3</a></li>
<li class="control"><a href="index.php?id=12&page=2">&gt;&gt;</a></li>
<li class="control"><a href="index.php?id=12&page=3">Last</a></li></p>
@modxws
modxws / modxws-urok12-6.html
Created June 22, 2012 07:35
HTML: modxws-urok12-6
<div class="wp-pagenavi">
<span class="pages">Page 1 of 3</span>
<span class="current">1</span>
<a href="#" class="page" title="2">2</a>
<a href="#" class="page" title="3">3</a>
<a href="#">&raquo;</a>
</div>
@modxws
modxws / modxws-urok12-7.html
Created June 22, 2012 07:38
HTML: modxws-urok12-7
<div class="wp-pagenavi">
[[!+page.nav]]
</div>
@modxws
modxws / modxws-urok12-8.html
Created June 22, 2012 07:39
HTML: modxws-urok12-8
<div class="wp-pagenavi">
<span class="pages">Page [[+page]] of [[+pageCount]]</span>
[[!+page.nav]]
</div>
@modxws
modxws / modxws-urok12-9.html
Created June 22, 2012 07:42
HTML: modxws-urok12-9
<a href="[[+href]]" class="page" title="[[+pageNo]]">[[+pageNo]]</a>
@modxws
modxws / modxws-urok12-10.html
Created June 22, 2012 07:43
HTML: modxws-urok12-10
<span class="current">[[+pageNo]]</span>
@modxws
modxws / modxws-urok12-11.html
Created June 22, 2012 07:45
HTML: modxws-urok12-11
<a href="[[+href]]">&lt;&lt;</a>
@modxws
modxws / modws-urok12-12.html
Created June 22, 2012 07:47
HTML: modxws-urok12-12
<a href="[[+href]]">&gt;&gt;</a>
@modxws
modxws / modws-urok12-13.html
Created June 22, 2012 07:48
HTML: modxws-urok12-13
[[!getPage@articlePaging?
&elementClass=`modSnippet`
&element=`getResources`
&showHidden=`1`
&tpl=`articleTpl`
&limit=`3`
&includeContent=`1`
&includeTVs=`1`
&processTVs=`1`
&parents=`[[*id]]`