in a new content type (frequently asked question) I uncheck "Display author and date information", this way name and date information is gone but still see user picture before title, how can I disappear it like page content type?

Comments

Ka1 Bashiri’s picture

Title: how to dont show user picture in some content type » how to not show user picture in some content type
Ka1 Bashiri’s picture

find it!
in node--panel--fallback.tpl.php
at profiles/commons/themes/commons/commons_origins/templates/panels/
CHANGED:

 print $user_picture; 

TO:

 if ($user_picture && in_array($node->type, array('blog', 'news', 'etc')))
      print $user_picture; 
Ka1 Bashiri’s picture

Status: Active » Closed (fixed)
docans’s picture

Thanks for this.

I dont understand why this was not added in the first place. Theming commons is like breaking a brick wall with a spoon

docans’s picture

Is there a better way of doing this so i dont have to be adding a new content type to the tpl file every time i create a new content type

docans’s picture

Category: Support request » Bug report
Priority: Normal » Critical
Status: Closed (fixed) » Active