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 11250

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

0 votes

Wrap a single html tag around each block that's generated from a single view

Use function hook_views_pre_render to customize the html, or u can use the view theme templates which u will get for each view block display by clicking on advance tab of view configuration page and f …
madhurjya's user avatar
  • 831
2 votes

How to change view title tag <h1>?

hope this will help you.. function mymodule_views_pre_render(&$view) { if ($view->name == 'view_name') { // Here you can do any php you want to get the title you need for your view. $vie …
madhurjya's user avatar
  • 831
8 votes

Remove width and height from img tag in Drupal output (for certain content type)

function mytheme_preprocess_image(&$variables) { foreach (array('width', 'height') as $key) { unset($variables[$key]); } } copy this on template.php (replace "mytheme" to ur theme name) but …
madhurjya's user avatar
  • 831
3 votes
Accepted

How to add a css class to sidebar first render

Create a template file with name region--sidebar-first.tpl.php in side the your theme template folder. Copy below code to inside the newly created template file <?php if ($content): ?> <div cla …
madhurjya's user avatar
  • 831
1 vote
Accepted

how to get the values of a view in _preprocess_views_view_fields drupal7

hope this will help, function yourtheme_preprocess_views_view_fields(&$vars) { if ($vars[view] -> name == 'yourviewname') { foreach ($vars[view]->result as $key => $value) { …
madhurjya's user avatar
  • 831
0 votes
Accepted

Enabling JavaScript from CKEditor

Hope this will help you, For achieving your goal you need to create a plugin of ckeditor, First of all read more about ckeditor plugin, and create a view to get all the video with the display in a pag …
madhurjya's user avatar
  • 831
0 votes
Accepted

Can't get rid(find) of this margin. Please help!

Inside professional_theme/style.css line no 727 there is css rule, .node { margin: 20px 0; } thats create the margin of 20px white margin.
madhurjya's user avatar
  • 831