Search Results
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 |
Use it for questions about rendering or modifying the HTML markup produced by a module/theme.
1
vote
Unset regions for specific content type
The easiest way I've found to achieve this is to have a custom page.tpl.php file for your particular content type. That way you can remove the regions you don't need from the specific template file.
…
1
vote
0
answers
585
views
Add a custom body class to node edit/create page [duplicate]
In D8 how could I add a body class to a node create or edit page in a custom theme?
Am thinking there should be a way of doing this via the preprocess_html function in my theme file.
Please note tha …
0
votes
1
answer
683
views
Unable to render fields in node.html.twig
I'm trying to get individual fields printed on my node template, but am unable to get anything other than {{ content }} to work.
I'm using 8.5.0 and I'm not seeing any errors in the log. The page ren …
1
vote
Accepted
Unable to render fields in node.html.twig
Field Layout (and also Layout Builder module) moves Drupal towards theming within the UI, so if you're looking to theme with twig files, I'd recommend not installing them. …
2
votes
Accepted
How to add button to header
There are a couple of ways of achieving this:
First way is to edit your theme's page.tpl.php file and add your custom html into the correct region. This will ensure your button will appear on all pag …
0
votes
How to create a view that outputs an HTML list?
It looks like you need to group the rows by your "File Usage: Entity Label (Assurance particuliers)" field.
To do that go to the "HTML List" settings and select that field in the dropdown of the "Gro …