Posted by atheneris@yahoo.com on January 16, 2011 at 10:34am
How do I get the author information to display near the article time?
http://imaneinstein.com/article/dreams-and-time-travel-can-we-do-our-sle...
How do I get the author information to display near the article time?
http://imaneinstein.com/article/dreams-and-time-travel-can-we-do-our-sle...
Comments
Check your node-article.tpl.php?
You may be missing something in the following from your subtheme's node-article.tpl.php:
<div class="section-date-author">
<?php if ($authors): ?>
<?php print $authors; ?> | <?php print $node_created_rdfa; ?>
<?php endif; ?>
</div><!-- /.section-date-author -->
(Note that I flipped the order of the date and author so that the date followed the author's name. )
It's already there...
Here's the clip from my node-article.tpl.php
<?phpprint $node_created_rdfa;
?>
<?phpif ($authors):
?>
|
<?phpprint $authors;
?>
<?phpendif;
?>
Any other suggestions? I'll take any you have :).
Authors Automatic?
If you create an article as a non-admin, does it automatically add in the author info, or do I need to do that manually? If so that could be my problem. If I need to do so manually, how would I go about this?
Narrowed it down
I have 6 accounts registered as authors, only 1 is actually showing up as author on his blogs. Here is an example of one that is showing:
http://imaneinstein.com/blog/my-essay-ethics
Found it!
It turns out that we didn't know you have to manually create an author bio separate from the profile. Once that was done, I could go back into the articles and add the authors.