Drupal Developer Drupal model I am utilizing is v7.34. I am utilizing sub-theme created from Bootstrap as base theme. My downside is, I wish to override Drupal Development “Consumer Login Block” and put it in Drupal Development header area (prime bar), so I create these file in templates folder in my sub-theme:
-
web page.tpl.php
//this merely do print render($web page['header']);
-
region–header.tpl.php
$search_block = module_invoke('search', 'block_view', 'search'); $login_block = module_invoke('person', 'block_view', 'login'); print render($search_block); print render($login_block);
-
search-block-form.tpl.php
//this copied from base theme and solely modified some html tag
-
block–user–login.tpl.php
//this merely print out some easy textual content print ("blahhhhhhhhhhhhhh");
Drupal Developer result’s, solely search block is rendered as override, and Drupal Development login block is rendered as default block, not rendered as Drupal Development one I override. I did some search however nothing matches my fault.