0

In considering using a Stash list in order to get custom ordering of Previous/Next entries, I see that the docs provide only limited tags to use in the pagination function:

    {previous_page}
                <li><a href="{pagination_url}" class="page-previous">Previous Page</a></li>
    {/previous_page}

Are the other list variables available here as well? Previous entry title? etc..

4
  • Are you talking about pagination, or prev/next entry linking? By definition, pagination URLs cannot have entry titles or anything else, because each page contains more than a single entry. Nov 5, 2014 at 20:00
  • Pagination in stash lists has all of these options available as well as custom entry ordering, so I'm asking specifically about Stash. EE doesn't offer this with previous/next entry linking (but it would be great if it did!) Nov 5, 2014 at 20:08
  • 1
    Ah, gotcha. FY the next/prev entry links do have undocumented {prev_entry->title} and {next_entry->title} variables. Nov 5, 2014 at 21:13
  • 1
    Stash's pagination just loads the native EE pagination library so I think you're going to be out of luck.
    – Tyssen
    Nov 6, 2014 at 6:14

1 Answer 1

0

Thanks to Croxton for this answer on Twitter:

no prev/next row vars but would be easy to get w/ simple plugin or maybe mx_calc used to calculate get_list offset param.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.