Try to edit the node.tpl.php where this info you want to hide is generated
----------------------------------------------------------------------------------------- Some people say the glass is half-full while others say its half-empty....i say bottoms up.
Thanks for reply.
In node.tpl.php I have: print $submitted
This print auhthor and date. I need print only a date, without author. How can I do this, where $submitted variable is defined?
disabling through the GUI disbales in total on content types you choose to have it not show on , this includes date submitted and author. The code seen above, is a theme override to allow for date to show, while author does not show.
In D5 its in administer -> site building -> themes or: yoursite.com/admin/build/themes if you so choose.
click the configure tab at the top
next page, look to top right corner box, remove post information for the content types you choose not to have this information displayed on.
goto CONTENT TYPES
to the right of any content type under OPERATIONS
choose EDIT
look for DISPLAY SETTINGS
un-check "Display author and date information."
that's it
Regards,
Abhi Kalyan
Comments
Go to admin -> themes ->
Go to admin -> themes -> settings. You'll find the information there.
--
Alexandru Badiu
http://www.voidberg.org
Can I hide username, and
Can I hide username, and show only date?
Try to edit the node.tpl.php
Try to edit the node.tpl.php where this info you want to hide is generated
-----------------------------------------------------------------------------------------
Some people say the glass is half-full while others say its half-empty....i say bottoms up.
Thanks for reply. In
Thanks for reply.
In node.tpl.php I have:
print $submittedThis print auhthor and date. I need print only a date, without author. How can I do this, where $submitted variable is defined?
in any case replace the
in any case replace the 'print $submitted' thing ..... ;)
panos
----------------------------
Some people say the glass is half-full while others say its half-empty....i say bottoms up.
Thank You very much!
Thank You very much!
in template.php use function
in template.php use
KOBA - Drupal Webdesign & Webdevelopment
Thank you
You saved my day
where is this in 5.1? is it
where is this in 5.1?
is it better practice to disable it from the drupal gui or just to edit the php file ?
=-=
disabling through the GUI disbales in total on content types you choose to have it not show on , this includes date submitted and author. The code seen above, is a theme override to allow for date to show, while author does not show.
In D5 its in administer -> site building -> themes or: yoursite.com/admin/build/themes if you so choose.
click the configure tab at the top
next page, look to top right corner box, remove post information for the content types you choose not to have this information displayed on.
wow, thanks sooo much for
wow, thanks sooo much for the quick reply!
but i still would like to know, is it better practice just to edit the php file? since i NEVER intend on using this feature
=-=
no, in practice it is always better to avoid hacking core files.
DRUPAL 7 remove "Submitted by" and "date"
goto CONTENT TYPES
to the right of any content type under OPERATIONS
choose EDIT
look for DISPLAY SETTINGS
un-check "Display author and date information."
that's it
Regards,
Abhi Kalyan
=-=
Update
Here is an update for Drupal 7x
On the edit tab there will be a menu on the bottom of the page.
Author username and publish date will not be displayed."
Adjust any other content settings right here such disabling commenting or disable automatic publish to the front page.