Keyword

Counter position

  • AbuSimbel
  • AbuSimbel's Avatar Topic Author
  • Offline
  • New Member
More
9 years 6 months ago #143857 by AbuSimbel
Counter position was created by AbuSimbel
Hello,

I kindly ask for your help with some minor (I hope) modifications for Disqus.

I am relatively new to Joomla and I have limited proficiency with PHP. Can you please tell me what files I need to modify to display the counter (the a.jwDisqusListingCounterLink) for the homepage articles in the <aside> of the article (along with author, date, category etc.) and not after the intro text?
Where is the "hook" defined?

Thank you for your time.

[Disqus 3.5 on Joomla 3.3.6]

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

More
9 years 6 months ago #143859 by Lefteris
Replied by Lefteris on topic Counter position
Hi,

The plugin renders always in the context of the article text . The only thing you can change is make it display before the text. In order to do this, take a look at the file plugins/content/jw_disqus/jw_disqus/tmpl/listing.php .

Note that it is recommended to copy this file into your template folder and make any changes to the copy and not to the original file. The path of the copied file should be '/templates/YOUR_TEMPLATE/html/jw_disqus/listing.php

Let me know if you need more help.

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

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

  • AbuSimbel
  • AbuSimbel's Avatar Topic Author
  • Offline
  • New Member
More
9 years 6 months ago #143862 by AbuSimbel
Replied by AbuSimbel on topic Counter position
Thank you for your reply.
Yes, I already tested placing the "module" before/ after <?php echo $row->text; ?>, but it really does not fit in the design. Is there no way to render it outside the article content?

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

More
9 years 6 months ago #143869 by Lefteris
Replied by Lefteris on topic Counter position
No, there is no way to do this, since this is a "content" plugin. Unless your design is really complex you should be able to position the output using CSS.

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

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

  • AbuSimbel
  • AbuSimbel's Avatar Topic Author
  • Offline
  • New Member
More
9 years 6 months ago #143875 by AbuSimbel
Replied by AbuSimbel on topic Counter position
OK. I understand.

I can place it where I want with absolute position, however it sometimes overlaps other elements when the browser window is resized.

I will aslo try to see if I can call the render function from within the theme template file.

Thank you.

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

More
9 years 6 months ago #143902 by Lefteris
Replied by Lefteris on topic Counter position
You are welcome.

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

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


Powered by Kunena Forum