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
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Favorites infavorites:mine
infavorites:1234
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 user 12010

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

4
votes
David is right, but if you want to use the $title elsewhere in the page you can use this approach. Step 1. Create a show/hide title variable using hook_preprocess_page() in your custom module (or th …
answered Sep 20 '13 by batigolix
2
votes
1answer
Following the instructions on how to create a custom template for taxonomy terms I managed to add a template suggestion for a particular view mode of the taxonomy term entity by using hook_theme_sugge …
asked Oct 14 '16 by batigolix
2
votes
I like dashohoxha's solution of the hook_theme implementation but was not able to get it working. After some more googling I found a variation that worked nice for me: /** * Implements hook_theme(). …
answered Nov 15 '14 by batigolix
6
votes
These are 2 ways (there are certainly more) to add custom ckeditor stylesets using the drupal wyswiwyg module. Using the contributed module Ckeditor Styles Using hook_wysiwyg_editor_settings_alter …
answered Feb 24 '14 by batigolix
0
votes
You can get the total count of a query that is extended with PagerDefault with $num_rows = $query->countQuery()->execute()->fetchField(); This query fetches all nodes with pager and counts the to …
answered Dec 19 '13 by batigolix
2
votes
You can have full control over the taxonomy/term/ID page by intercepting the menu call with hook_menu_alter() and let the content be generated by a custom function. This allows you to completely cust …
answered Apr 24 '14 by batigolix