Keyword

Output at a specific location

  • xerox21
  • xerox21's Avatar Topic Author
  • Offline
  • New Member
More
10 years 11 months ago #54178 by xerox21
Output at a specific location was created by xerox21
Hi!

Currently block with comments displayed immediately after the withdrawal of the content is not very convenient. How can I display a block with comments given in my site template?

Thanks in advance!

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

  • xerox21
  • xerox21's Avatar Topic Author
  • Offline
  • New Member
More
10 years 11 months ago #54179 by xerox21
Replied by xerox21 on topic Re: Output at a specific location
Surely no one asked this question ???

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

  • Yiota
  • Yiota's Avatar
  • Visitor
10 years 11 months ago #54180 by Yiota
Replied by Yiota on topic Re: Output at a specific location
This is a content plugin which means that you can only show it where content is rendered.
You can move it in a different position in your item page (above the text, for example) or listing though.

Let me know what you need to do.

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

  • xerox21
  • xerox21's Avatar Topic Author
  • Offline
  • New Member
More
10 years 11 months ago - 10 years 11 months ago #54181 by xerox21
Replied by xerox21 on topic Re: Output at a specific location
The screenshot shows what I have and what I want to get. I want to block a comment is displayed in the right me div, but not immediately after the content.

Screenshot: sdrv.ms/1ekGkAO

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

  • xerox21
  • xerox21's Avatar Topic Author
  • Offline
  • New Member
More
10 years 11 months ago #54182 by xerox21
Replied by xerox21 on topic Re: Output at a specific location
Excuse me, here is a screenshot)))

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

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
10 years 11 months ago #54183 by Krikor Boghossian
Replied by Krikor Boghossian on topic Re: Output at a specific location
You can override the output of the plugin to what you want. Eg. wrap the comments block with that div.

Just copy the /plugins/content/jw_disqus/tmpl folder (in Joomla! 1.5) or /plugins/content/jw_disqus/jw_disqus/tmpl (in Joomla! 2.5+) inside your Joomla! template's /html folder, rename to /html/jw_disqus and start tweaking the HTML and CSS.

If you want it to appear outside of the $this->item->text hook you can try placing elements from article.php directly in your article file.

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