can't hide login field in new node template

tonyoverwater - July 3, 2009 - 10:27

Hello,

I am trying to hide the login field in my site and i managed to do it for the normal pages but for the pages that have a different content type and that relate to a different page-node.tpl.php it doesn't work. They still appear what ever I do.

Any ideas?

Greetings

Tony

Can you explain how you have

imp7 - July 3, 2009 - 15:47

Can you explain how you have hidden the login field in the 'normal pages', if you just made it hidden in the node.tpl.php from what I understand it will hide it for all the nodes types that don't have a tpl.php to their content type. In this case you will have to do it one by one in the templates you have made or do some kind of preprocess/include php.

solved it

tonyoverwater - July 4, 2009 - 20:02

I solved it now. It was a stupid thing. It was not a login but a comment link that I had to remove. I can check that in every post I do in order to display it or not. Thank you for your time.

Tony

 
 

Drupal is a registered trademark of Dries Buytaert.