On March 26, 2019 we launched new MODX Forums. Please join us at the new MODX Community Forums.
Subscribe: RSS
  • When I'm into a container I need to go to the next resource/page into that container.
    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>`+]

    using (yams_id) doesnt work.
    my output is something like: (yams_id:en) instead of a page url. [ed. note: fourroses666 last edited this post 7 years, 6 months ago.]
      Evolution user, I like the back-end speed and simplicity smiley