Selectable Content Types for Author Taxonomy

saccard - December 23, 2008 - 15:06
Project:Author Taxonomy
Version:5.x-1.1
Component:Code
Category:feature request
Priority:normal
Assigned:Robbie Sternenberg
Status:closed
Description

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

<?php
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.

#1

Todd Nienkerk - December 23, 2008 - 20:04
Assigned to:Anonymous» Robbie Sternenberg

Robbie and I will look into this today.

#2

Todd Nienkerk - December 23, 2008 - 20:10
Assigned to:Robbie Sternenberg» Anonymous

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).

#3

Todd Nienkerk - December 23, 2008 - 20:11
Assigned to:Anonymous» Robbie Sternenberg

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

#4

Robbie Sternenberg - January 12, 2009 - 20:09
Status:active» fixed

Fixed in release 1.2

#5

saccard - January 25, 2009 - 10:14
Version:5.x-1.1» 5.x-1.2
Category:feature request» bug report
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.

#6

saccard - January 25, 2009 - 10:34
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.

#7

Todd Nienkerk - January 25, 2009 - 15:55
Version:5.x-1.2» 5.x-1.1
Category:bug report» feature request
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.

#8

System Message - February 8, 2009 - 16:00
Status:fixed» closed

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

 
 

Drupal is a registered trademark of Dries Buytaert.