I looked through all of the templates that are available for pLog, and I noticed that all of them don't show the full name for the authors of the posts. I made the following change to allow this to work.
Change:
<span class="date">
{$postOwner->getUsername()}
| {$locale->formatDate($postDate,"%d %B, %Y %H:%M")}
</span>
To:
<span class="date">
{if strlen($postOwner->getFullName()) > 0 }
{$postOwner>getFullName()}
{else}
{$postOwner->getUsername()}
{/if}
| {$locale->formatDate($postDate,"%d %B, %Y %H:%M")}
</span>
No comments:
Post a Comment