Let me preface by saying I have no idea how to write PHP. Everything theme-wise I've done thus far has been through CSS. I work for a busy non-profit, www.wnyamericorps.org, and so I barely have time to do anything, let alone learn PHP. I'm hoping you guys can help me out. Please feel free to show exactly the code I should replace with exactly the new code, I won't be offended if you have to resort to answering me like I'm twelve.

How to I stop the logo from displaying on ONE page?

I am running the Salamander theme. In the theme menu I can turn it off for the whole site, or vise versa. And when I turn it off, put an image in a block, and assign it to the header, it leaves terrible spaces above and below the image.

I just want the logo to go away on ONE page, and its driving me crazy trying to figure it out without knowledge of PHP. Thanks a million!

Comments

alexrayu’s picture

Note what node that page is. Edit it and it shows the node in the address like node/14/edit

Then, copy the page.tpl.php and rename it into page-node-14.tpl.php and in that file, remove the code that says this:

<?php print $logo ?>

Actually, you can even just delete the print $logo part.

- Alexei Rayu.

Drupal Related Services | Sitehound Drupal | Worm Catcher Alpha - blacklist needed!

heatasmallhouse’s picture

Thank you thank you thank you. It worked like a charm and the node-specific page.tpl.php file is a great trick for testing out changes in the future.

Appreciate it.

-Patrick

alexrayu’s picture

I am glad it helped Patrick. Once you know the basic structure of a theme, you wil at once feel the power of what you can do with it.

- Alexei Rayu.

Drupal Related Services | Sitehound Drupal | Worm Catcher Alpha - blacklist needed!