Keyword

[SOLVED] Moving the disqus box below the author name

More
8 years 2 weeks ago #152779 by huki
What I have:
  1. Article
  2. Disqus box
  3. Author name

What I want:
  1. Article
  2. Author name
  3. Disqus

I have created an override of com_content/views/article/tmpl/default.php where I have added this statement:
<?php echo JLayoutHelper::render('joomla.content.info_block..author', array('item' => $this->item, 'params' => $params, 'position' => 'below')); ?> (line 120) just below:
<div itemprop="articleBody">
<?php echo $this->item->text;?>

I want to display the author name just below my articles. But your plugin load the disqus box between the article and the author name. So I am looking for a way to load your plugin just below the author name, or maybe it could be easier to load it just below the div <div itemprop="articleBody">

Any idea?

ps: thanks for your awesome plugins!

Please Log in or Create an account to join the conversation.

More
8 years 2 weeks ago #152810 by Lefteris
Replied by Lefteris on topic Moving the disqus box below the author name
Hi,

This cannot be done. The plugin always renders where the text is.

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.

More
8 years 2 weeks ago #152828 by huki
Thanks for your reply !
I found a way by overriding the w_disqus/tmpl/article.php

For those who wonder, you simply need to retrieve the author name between the “echo $row->text” (which actually prints the article ) and the disqus comment box.

Please Log in or Create an account to join the conversation.

More
7 years 4 months ago #159468 by DaveOzric
Replied by DaveOzric on topic Moving the disqus box below the author name
Hello, I too am looking at where this plugin loads some of it's links and want to adjust them a little. Why is the developer saying it's not possible when you did it?

My link in the blog is between the text (content) and the read more button. I would like to see this below the read more or even above the author, date, etc.

Can you offer some options for this?

Thank you

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum