All Low add-ons are now owned by EEHarbor. Read the blog post.

Support archive

Next previous tags

Preston Thomas 18 Dec 2015 16:59 question, complete

Hello

I am trying to get the next previous tags to work but it seems to only keep going to the current page and not the next or previous entries? What am I doing wrong?

{exp:low_reorder:prev_entry set="portfolioReorder" url_title="{url_title}"}

{url_title}

{if no_results}{/if}

Replies

  1. Low 18 Dec 2015 17:04

    If you're using it inside another Entries tag, use the prefix="" parameter to avoid variable name conflicts:

    {exp:low_reorder:prev_entry set="portfolioReorder" url_title="{url_title}" prefix="prev:"} 
    {prev:url_title}
    {/exp:low_reorder:prev_entry}

  2. Preston Thomas 19 Dec 2015 07:31

    {prev:url_title}

  3. Low 19 Dec 2015 08:27

    Did you manage to get it working now?

  4. Preston Thomas 19 Dec 2015 08:30

    Yes the trick was using the prefix in the link
    {prev:url_title}

    {exp:low_reorder:prev_entry set="portfolioReorder" url_title="{url_title}" prefix="prev:"}

    a href="{prev:url_title}" title="{prev:url_title}">{prev:url_title}<'/a

    {if no_results}{/if}
    {/exp:low_reorder:prev_entry}