Account created on 1 October 2023, over 1 year ago
#

Recent comments

A small update about this, I managed to get the total of my views using the following code in my twig template

{{ drupal_view_result('frontpage')|length }}

The reason I want to be able to render it like this is because I want the views count to be visible in my Navbar menu and not in page content.

Ah, same as Sunlix, based on the documentation I was expecting the total result of the page.

Thank alot for the help Chi

So I managed to solve this issue. I had to drag "Authenticated user" from the second row al the way to the last row in order for it to not overwrite the other roles (admin and content editor).

This isnt fixed yet? got me confused for a good hour T_T

Production build 0.71.5 2024