Hey there guys,
Weird stuff, since a while now, on blog page that are "teamblog" articles, the teamblog avatar AND the blogger avatar appear either one over each other or one under each other...
Like you can see in the screenshot, I've modify a bit the blog post image to have a sweet overlay displaying the title and avatar. I'd like to code something where :
- If it's a blog post by a blogger, the blogger avatar and name are displayed.
- if it's a blog post by a teamblog, the teamblog avatar and name are displayed.
Anyway you could help me with that ?
Much appreciated !
B.
Weird stuff, since a while now, on blog page that are "teamblog" articles, the teamblog avatar AND the blogger avatar appear either one over each other or one under each other...
Like you can see in the screenshot, I've modify a bit the blog post image to have a sweet overlay displaying the title and avatar. I'd like to code something where :
- If it's a blog post by a blogger, the blogger avatar and name are displayed.
- if it's a blog post by a teamblog, the teamblog avatar and name are displayed.
<div class="blog-horizonline">
<div class="blog-horizonline-inner">
<!-- @template: Avatar -->
<?php if( $system->config->get( 'layout_avatar' ) && $system->config->get( 'layout_avatar_in_read_blog' ) && $this->getParam( 'show_avatar_entry' ) ){ ?>
<!-- @template: Avatar -->
<?php echo $this->fetch( 'blog.avatar.php' , array( 'row' => $blog , 'customClass' => 'blog-read-avatar' ) ); ?>
<?php } ?>
<?php if( $this->getParam( 'show_author') ){ ?>
<span class="blog-author">Crafted with love
<?php echo JText::_( 'COM_EASYBLOG_BY' );?> <a href="<?php echo $blog->blogger->getProfileLink(); ?>" itemprop="author"><?php echo $blog->blogger->getName(); ?></a>
</span>
<?php } ?>
</div>
</div>
Anyway you could help me with that ?
Much appreciated !
B.