I'm using Author Taxonomy in an own content type ("magazin article"). Currently the author and the date should only appear within the content of this type. Later, it's planned to extend this to other content types. Therefore I have created a category named "Authors" which only belongs to the type "magazine article"). Thus the author's name doesn't show up on nodes of another content type, but - and that's the issue - the date does. Okay, I know it is possible to include a code snippet print author_taxonomy_output($node); into the node.tpl.php file. But it would be much more comfortable to have check boxes for each content type in the configuration of Author Taxonomy where one can select in which content type(s) the author's name and date stamp will appear.

Comments

todd nienkerk’s picture

Assigned: Unassigned » Robbie Sternenberg

Robbie and I will look into this today.

todd nienkerk’s picture

Assigned: Robbie Sternenberg » Unassigned

Note: This feature does not need to be added to the Drupal 6.x branch, as post information is handled on the themes settings page (website.com/admin/build/themes/settings).

todd nienkerk’s picture

Assigned: Unassigned » Robbie Sternenberg

Forgot that issues are set to "unassigned" unless I specifically set the assigned user for each comment. Grr.

Robbie Sternenberg’s picture

Status: Active » Fixed

Fixed in release 1.2

saccard’s picture

Version: 5.x-1.1 » 5.x-1.2
Category: feature » bug
Status: Fixed » Active

I have tested the new release on my test site (drupal 5.14 with author taxonomy 5.1.2). But the date stamp from author taxonomy ist still visible on all pages, regardless of the content type of the page. The category which is used by Author taxonomy belongs only to one content type and the author's name is correctly displayd only on the pages of this content type.

saccard’s picture

Status: Active » Needs review

okay, this little modifications solves the problem (on my test site).
in author_taxonomy.module I changed line 275 from

if ($show_timestamp) {

to

if ($show_timestamp && !empty($author_names)) {

Pls. have a look on it.

todd nienkerk’s picture

Version: 5.x-1.2 » 5.x-1.1
Category: bug » feature
Status: Needs review » Fixed

saccard: Please don't report new bugs in an old feature request. The feature was added, so this issue should remain closed. If there's a bug related to that feature, it should be submitted as a new issue.

I have submitted a new issue here: #363944: Date stamp appears for nodes that shouldn't display author info.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.