I want to add some custom checks to all of my Drupal pages (except the administration pages).
I am using Bartik theme that comes with Drupal 7.26
I added the custom check in node.tpl.php and the check worked for all urls of type /node/%
However, I also want to add this check for node add, edit and delete pages. I cannot do this.
hello, I am having some serious issues with a lot of empty space under the footer. This is really annoying. I just want the footer to be at the end.. not the background. Is there anyway of eliminating this?
So I know the trick for getting a particular block to show up in a custom template -- $block = module_invoke('module', 'block_view', 'whichblock'); print render($block); -- but that seems to break the Block Administration page's settings for any node using said template.
What I want to do instead is to be able to call all the blocks that should be in that region as assigned on the Block Administration page, rather than hardcoding specific blocks.