Author image include - Forum | JoomShaper
Staff replied General

Author image include

Asked by J 4 years ago Last activity 4 years ago

6 replies

J Asked this

In the example on
https://demo.joomshaper.com/?template=newsberg
It seems to be embedded into the "article-info" tag

Is this been done into the php or are you using a plugin?

<div class="article-info">
<span class="createdby" itemprop="author" itemscope="" itemtype="https://schema.org/Person" title="Written by Kawshar Ahmed">
<img class="img-responsive author-img" src="/2019/newsberg/media/com_spauthorarchive/users/376-author-6.jpg" alt="Kawshar Ahmed">
<div class="info-block-title">By </div>
<a href="/2019/newsberg/index.php/authors/author/kawshar" itemprop="url">
<span itemprop="name">Kawshar Ahmed</span> </a>
</span>
<span class="category-name" title="Category: Food">
<a href="/2019/newsberg/index.php/food">Food</a>
</span>
<span class="published" title="Published: 21 November 2019">
<time datetime="2019-11-21T11:46:55+00:00" itemprop="datePublished">
2019-11-21  </time>
</span>
<span class="hits">
<span class="fa fa-eye-o" aria-hidden="true"></span>
<meta itemprop="interactionCount" content="UserPageVisits:2185">
Hits: 2185</span>
</div>
J Asked this
4 years ago · edited

Is it this component controlling this ? SP Author Archive Component (v2.0.0)

But is it compatibile with SPPB Pro most recent version & Joomla 4 ?

Do we need to have a Gravatar plugin also? There seems to be little information in your documents.

Thanks J

J Asked this

So a Gravatar account needs to be made for this to work by associating the email address of the Author and targeting the url of the website.

NOW to move the Gravatar avatar to before the content? How do we do this? Do we need to modify a php script to get the class="article-author-information" next to the class="article-info" ?

Thanks for a speedy reply...

Toufiq Senior Staff

Hi there,

Thanks for contacting us. Sorry for the inconvenience. The Author Archive extension is compatible for some specific Template (Newskit, Newsberg).

-Thanks

J Asked this
4 years ago · edited

Ok, Do you know what php file I would need to overide? so I dont have to track it down?

The Newsberg template is using "Helix Ultimate Framework" so I need to know the php file to modify.

thx J

Toufiq Senior Staff

Here is the article details file location

templates/your_template/html/com_content/article/article.php

templates/your_template/html/html/layouts/joomla/content/info_block/author.php

Log in to reply.