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.
5
votes
Accepted
Is it a bad practice to use dynamically generated IDs for theming
It is better not to use the id.
You could use this module Block Class which allows you to add a class to the block and you can then style your css using that class.
0
votes
How to create a custom content type region template?
You should theme the node per content type instead of the page. Refer to this article - http://drupal.org/node/17565
Hope this helps you!
0
votes
Can I add a template preprocessor that's more specific than an existing hook?
For the Views module, if you want to know its template file suggestions:
Open edit for your view
Click on 'Theme information'
Use whichever template name that meets requirements
Go back to your view …
2
votes
How to make a page look like it would have w/o tpl
To see the array $var / $variable -
echo "<pre>";
print_r($var); //or $variable whichever is applicable.
echo "</pre>";
This will output the entire $var/$variable array in structured manner and you …
7
votes
Accepted
Printing a block in node.tpl.php
I think module_invoke() is correct and you can simply call that in your tpl file. However,
use
print $block['subject'];
print $block['content'];
instead of
print render($block);
Also
D6 and …