By bullettime on
The normal way stories are shown is the title, followed by the user who submitted it and the time it was submitted, and then its content. Is there a way to hide the information about the user who submitted it and the time it was submitted for anonymous users?
Comments
You need to edit your
You need to edit your node.tpl.php (or node-story.tpl.php) template file and add a check to see if the user is logged in or not. eg.
______________________________________________________________________________________________________
mybesinformatik.com - Drupal website development
______________________________________________________________________________________________________
can't find file
Where is it located? I looked into my drupal-5.12 folder and I couldn't find node.tpl.php or node-story.tpl.php
Look in your themes folder,
Look in your themes folder, that's where it should be. (If it's a contributed theme you should have saved that in sites/all/themes, if it's a standard theme that ships with 5.12, it should be in /themes - Be sure you're in the folder of the Theme you're using.)
there it is
it was indeed inside the theme folder...
thats weird, i used slocate and it couldn't find the file.
thanks!
thanks
i edited the file and it worked as expected, thanks!