- Posts: 3
COMMUNITY FORUM
- Forum
- Free Joomla Extensions & Templates
- DISQUS Comments for Joomla!
- [Solved] View Comments link showing up in "Top Position"
[Solved] View Comments link showing up in "Top Position"
- dbarron
- Topic Author
- Offline
- New Member
Less
More
16 years 3 months ago - 16 years 3 months ago #15730
by dbarron
[Solved] View Comments link showing up in "Top Position" was created by dbarron
First, thank you for making such a great extension for Joomla 1.5.x. I have been looking for a way to simply add a comment system and DISQUS does it for me. Installing your extension and getting it customized was so simple. However, I noticed a small issue. When ever I view just an article on its own page, the link "View Comments" shows up in the "Top Position" just above my "Newsflash" Module. It will shift the text of the Newsflash down to make room pushing text into my menu. It does not show up in the "Top Position" when you are on a blog section or category layout.
Any thoughts or suggestions. Thank you.
Any thoughts or suggestions. Thank you.
Please Log in or Create an account to join the conversation.
- dbarron
- Topic Author
- Offline
- New Member
Less
More
- Posts: 3
16 years 3 months ago - 16 years 3 months ago #15731
by dbarron
Replied by dbarron on topic Re: View Comments link showing up in "Top Position"
Thought I would post a screen shot of what I am speaking about. This is a fresh install on the rhuk_milkyway template and all I have done is activate Disqus and fill in my username. Does anyone have any solutions or is this normal for the link to also be in the top position.
Thanks
Thanks
Please Log in or Create an account to join the conversation.
- dbarron
- Topic Author
- Offline
- New Member
Less
More
- Posts: 3
16 years 3 months ago - 16 years 3 months ago #15732
by dbarron
Replied by dbarron on topic Re: View Comments link showing up in "Top Position"
Well, I found a solution. Inside the jw_disqus.php delete the following code under the section, /** just before content is output, returns output to be displayed */
The other solution is just not use the newsflash. The disqus plugin places "View Comments" in front of every article even if it is being used in the newsflash plugin.
It would be nice in future disqus plugin updates if you can exclude/include "view comments" from certain sections/categories. Or be able to turn the "before content is output" feature off or on.
if($_REQUEST['view']=='article'){
return '
<div class="disqus_jumptocomments">
<a href="'.$_SERVER['REQUEST_URI'].'#disqus_thread">View Comments</a>
</div>
';
}
The other solution is just not use the newsflash. The disqus plugin places "View Comments" in front of every article even if it is being used in the newsflash plugin.
It would be nice in future disqus plugin updates if you can exclude/include "view comments" from certain sections/categories. Or be able to turn the "before content is output" feature off or on.
Please Log in or Create an account to join the conversation.
- mwoodwar
- Offline
- New Member
Less
More
- Posts: 1
16 years 2 months ago #15733
by mwoodwar
Replied by mwoodwar on topic Re: [Solved] View Comments link showing up in "Top Position"
I would agree, it would be wonderful to be able to specify where you did and did not want comments. I'm using an uncategorized page as my 'home page' and it's a bit inappropriate to have a "View Comments" link.
Mark
ps G R E A T plugin!!
Mark
ps G R E A T plugin!!
Please Log in or Create an account to join the conversation.
- Forum
- Free Joomla Extensions & Templates
- DISQUS Comments for Joomla!
- [Solved] View Comments link showing up in "Top Position"