I've got author information set to not display post information in the global theme settings but it is still showing it. How do I turn it off?

Comments

nickbits’s picture

Assigned: Unassigned » nickbits

Hi,

It should be following the global settings. I know I tested this and it worked as it was raised earlier. I will take a look at it, however, it will not be until the weekend. Can you confirm which post types you have (blog, story, page, etc.)

Cheers,
Nick

totaldrupal’s picture

it shows on all I use, story, image and product. I haven't tested the other node types.

nickbits’s picture

Hi,

Thanks for that. I know what the issue is and how to fix it. Just need to find the time. Will get it done ASAP.

Nick

nickbits’s picture

Hi,

As I thought, I did correct that issue. Can you download the Development release and try again please. It works perfect on my test system.

Nick

codevoice’s picture

Can you post a diff for this, or tell us what you did? Thanks.

EDIT: I found the change, in node.tpl.php, changed this:

  <div class="submitted">
    <?php print t('Published by ') . theme('username', $node) .' on ' .format_date($node->created, 'custom', "F jS, Y") ; ?>
 
    <?php if (count($taxonomy)): ?>
        <?php print ' in '.light_print_terms($node->nid) ?>
    <?php endif; ?>
   </div> 

to this:

  <div class="submitted">
  <?php 
	if ($submitted): 
		print t('Published by ') . theme('username', $node) .' on ' .format_date($node->created, 'custom', "F jS, Y") ; 
		$pred = " in ";
	else:
		$pred = "Filed in ";
	endif;
	
	if (count($taxonomy)):
		print $pred.light_print_terms($node);
	endif; ?>
   </div>

and that fixed it for me.

nickbits’s picture

Status: Active » Closed (fixed)

Fix is in node.tpl. I do not have the means to do a diff at present. The submit section divs should read:

    <div class="submitted">
  <?php 
	if ($submitted): 
		print t('Published by ') . theme('username', $node) .' on ' .format_date($node->created, 'custom', "F jS, Y") ; 
		$pred = " in ";
	else:
		$pred = "Filed in ";
	endif;
	
	if (count($taxonomy)):
		print $pred.light_print_terms($node->nid);
	endif; ?>
   </div> 

Hope this is of use.

Nick