Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
By DeNelo on
Hi,
On every book page I create, my user picture is added. I don't want that.
I just can't figure out how to remove it. The only field in the book content type is the Body field. So where does the user pic come from?
Thanks,
Niels
Comments
=-=
two options:
hide it with css
create a custom tpl.php file from a copy of node.tpl.php and in the new file remove the user picture variable.
Thanks, solved. I went the
Thanks, solved. I went the CSS route. Figuring out how to name the tpl file was too difficult... :)
=-=
node--[MACHINE-NAME-OF-CONTENT-TYPE].tpl.php
[MACHINE-NAME-OF-CONTENT-TYPE] can be found in administer -> structure -> content types -> YOUR CONTENT TYPE
AS an aside, if you don't want to use user-pictures at all, anywhere in the site, you can simply disable the feature @ admin/config/people/accounts