This forum is for assistance with theme development.

Which template used for adding nodes

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.

2 Different CSS stylesheets for teaser and full node

Right now I have code like the following
on the node.tpl.php template file:

if ($teaser):
(Teaser Coding)
else:
(Full Node Coding)
endif;

I would like to be able to use different CSS style sheets for the teaser and full node

is their a simple if / else statement I can do in the html.tpl.php or node.tpl.php to do so that anyone knows of?

large space under footer - really annoying!

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?

https://imagizer.imageshack.us/v2/1122x233q50/17/hmqu.png

Thanks.

Main-menu change design

Do you have any tutorials or descriptions of how to make a menu similar to this?
website
or
website 2

Dealing with blocks in custom region template

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.

Pages

Subscribe with RSS Subscribe to RSS - Theme development