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.
0
votes
Bootstrap theme - add or remove classes in $navbar_classes
To improve on MrD's very good answer, I added a little extra to make the code a little less breakable.
In your template.php file for your subtheme, create the following hook.
function YOURTHEME_pre …
1
vote
1
answer
55
views
Adding an external image to a views output
I am trying to alter the output of a view with a tpl.php file. My goal is to insert an image immediately after another image in the view. This should only happen for 1 result. That is to say, if the …
0
votes
Accepted
Adding an external image to a views output
I've come to the conclusion that I believe the best/easiest way to do this is by adding another field to my content type, and inserting the associated image in that field. Even though I've created a f …
0
votes
1
answer
173
views
Preventing a block's custom template file from being cached
I have built a module that needs to provide a small piece of dynamic content on every page load of a certain content type. It works great, however the section of code I provided is always cached in Dr …
0
votes
Preventing a block's custom template file from being cached
Probably not the best way to do this, but I was able to overcome this by rebuilding the theme cache when this block was run using:
<?php
drupal_theme_rebuild();
I'd love if someone could help with …