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 97205

Use it for questions about rendering or modifying the HTML markup produced by a module/theme.

1 vote

Get path of uploaded file inside a Twig template

In my case I had a paragraph type with a file field. I wanted to get a url of file-field inside paragraph's template. Not sure why but above solution of @berramou did not work for me. So what I did is …
Vik Durve's user avatar
1 vote
1 answer
93 views

Suggested template file is not working for Custom Search's template

I have installed Custom Search module for my drupal7 setup. I am trying to modify template files for search-result and search-results. By default its using template files from contrib module's theme …
Vik Durve's user avatar
0 votes

How to change view's field (Custom-Text field specifically) value based on other field value...

I referred the code from this source https://drupal.stackexchange.com/a/262718/97205 which was also helpful and figured out following solution: function THEMENAME_preprocess_views_view_fields(&$varia …
Vik Durve's user avatar
2 votes
2 answers
2k views

How to change view's field (Custom-Text field specifically) value based on other field value...

I have created a taxonomy-term view. I have added two fields in a view: term-id and custom-text field. I want to check if term-id has children and depending upon the result, I want to set markup in …
Vik Durve's user avatar