- 🇫🇷France mably
We have the same problem here as the
view:current-page
token doesn't seem to work, sadly.Our solution was to use Twig with the
current-page:query:page
token which gives something like this:{% if drupal_token("current-page:query:page") > 0 %} Page {{ drupal_token("current-page:query:page") + 1 }} {% endif %}
The
twig_tweak
module is required to be able to use the Twigdrupal_token
function. - 🇫🇷France tostinni
tostinni → changed the visibility of the branch 2928660-page-title- to hidden.
- 🇫🇷France tostinni
@mably where have you put this code ?
There is another issue 🐛 [view:current-page]/[view:page-count] not rendered correctly Active with a similar problem and a functioning MR (thanks to nilesh.addweb → ) but as this one is older, I'm transfering the patch here and close the newest issue as a duplicate from this one.