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

Support archive

next_entry tag doesn't work

Rory Bernstein 11 Feb 2011 19:39 question, complete

I am trying to create a "next entry" link that will obey the order I have set up in my Low Reorder custom field. Here is my entire channel tag:

http://pastie.org/1553803

There is no output at all from the Low next_entry tag (and yes I made sure I am not on the last entry!). You can see I have a native EE type next_entry tag at the end, outside the channel tag, and that one does work but it does not have the correct order.

This is my front-end:
http://lettershop.ehclients.com/desig...

What am I doing wrong?

Replies

  1. Low 13 Feb 2011 16:06

    Hey Rory,

    Please take a closer look at the docs. You're missing several parameters, including the required field="" in the exp:low_reorder:next_entry tag.

    Also, you're nesting the next_entry tag inside a Matrix field. I would advise against that -- the Low Reorder prev/next tags will work with entries only, not Matrix rows.

  2. Rory Bernstein 15 Feb 2011 17:58

    Thanks, Low. I got it working now. I had to take the low next entry tag out of the channel tag too, which I didn't realize. that was keeping the link from being the right one. All set!

  3. Low 16 Feb 2011 09:06

    Cool, glad you got it working.

    For the record, you don't *have* to move the prev/next tags out of the channel:entries tag. Just be sure not to place them inside a Matrix var pair. The docs show examples of both the nested and the non-nested version.