Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 77963

The Views module allows creating lists of entities with a flexible query builder.

0 votes
1 answer
78 views

views_get_view() not accepting arguments?

I can confirm view work in views UI, also with handwritten contexual filters in UI. How can I solve this? …
Lub's user avatar
  • 61
0 votes

views_get_view() not accepting arguments?

View "commerce_wishlist_page" was created by module itself. There appeared to be some problem with the view configuration itself, because when I re-created the view with exactly same values the error …
Lub's user avatar
  • 61
-1 votes
1 answer
468 views

How do I override a view template in my theme folder properly?

So I turned on theme debugging to see the template suggestions and picked views-view-field.html.twig, copied the file to my theme, renamed it to match the suggestion, cleared the cache and it looks like …
Lub's user avatar
  • 61
0 votes

Unable to check if variable is empty in views twig

Okay, so It looks like this works: {% if title|trim|spaceless|striptags|length != 0 %} Which looks incredibly stupid but well...
Lub's user avatar
  • 61
0 votes
2 answers
1k views

Unable to check if variable is empty in views twig

I am trying to overwrite views-view-unformatted.html.twig file and want to check if title variable is empty or not, but whatever I do, it always acts just like it is not empty. … 'views-row views-row-' ~ loop.index ] %} <div{{ row.attributes.addClass(row_classes) }}> {{- row.content -}} </div> {% endfor %} {% if title|render|trim|length is not empty %} </div> {% endif …
Lub's user avatar
  • 61
0 votes
0 answers
226 views

How to speed up View render time in Drupal Views?

is there is so much stuff going on for EACH of the row / field in terms of build-in hooks, event subscribers, theme files etc. which I have no control over that together they make up the majority of views
Lub's user avatar
  • 61