<![CDATA[ YAMS and PrevJumpNext? - MODX Community Forums]]> https://forums.modx.com/thread/?thread=78812 <![CDATA[YAMS and PrevJumpNext?]]> https://forums.modx.com/thread/78812/yams-and-prevjumpnext#dis-post-434319 For a normal website u can use the snippet "PrevJumpNext".
But this isn't build for Yams.


Is there anyone out there who succesfully has a link to the next or prev page into a container?


[! PrevJumpNext? &tpl=`PrevNextDiv` &displayWhat=`menutitle` &includeFolders=`0` &displayFixed=`0` &useJump=`0` &displayNoPrevNext=`1` &displayTotal=`0` &displayTitle=`1`  &sortBy=`menuindex` &sortHow=`DESC` !]


<div class="PrevJumpNext">
[+phx:if=`[+PJN_prevID+]`:is=`-1`:then=`« Prev`:else=`<a href="[~[+PJN_prevID+]~]">« Prev[+PJN_prevText+]</a>`+]
[+phx:if=`[+PJN_nextID+]`:is=`-1`:then=`Next »`:else=`<a href="[~[+PJN_nextID+]~]">Next »[+PJN_nextText+]</a>`+]
</div>


using (yams_id) doesnt work.
my output is something like: (yams_id:en) instead of a page url.]]>
fourroses666 Aug 22, 2012, 02:34 PM https://forums.modx.com/thread/78812/yams-and-prevjumpnext#dis-post-434319