Token replacement in prev and next links

Created on 1 February 2017, almost 8 years ago
Updated 6 March 2024, 8 months ago

There should be a way to provide tokens in Prev/Next links, but currently there is no token replacement happens.

Patch coming.

Feature request
Status

Needs work

Version

1.0

Component

Code

Created by

🇦🇺Australia alex.skrypnyk Melbourne

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • Patch in #2 applies nicely, thanks for the contribution !
    By the way, to make it work, it requires to use global tokens and not views token replacements. For example, to display node title, use [node:title] instead of [title].

    I used method in #9 to hide the first/last inactive items, but a template php function would be better to entirely remove the elements. I'll share my code here if I managed to accomplish this.

Production build 0.71.5 2024