normal Как отключить комментарии в статьях

More
8 years 10 months ago #8219 by Владислав Собченко
Добрый день, как можно отключить комментарии в статьях, в плагинах найти не могу, в модулях тоже.
Прикладываю картинку что именно нужно убрать.
Attachments:

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

More
8 years 9 months ago - 8 years 9 months ago #8224 by qwer qewr
Найди файл disqus.php и измени на
Code:
<?php /** * @package Joomla.Cms * @subpackage Layout * * @copyright Copyright (C) 2005 - 2014 Open Source Matters, Inc. All rights reserved. * @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('JPATH_BASE') or die; ?> <!--<div id="disqus_thread"></div> <script type="text/javascript"> var disqus_shortname = 'omegatheme'; (function() { var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true; dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js'; // dsq.src = '//a.disquscdn.com/embed.js'; (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq); })(); </script> <noscript>Please enable JavaScript to view the <a href="//disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript> <a href="//disqus.com" class="dsq-brlink">comments powered by <span class="logo-disqus">Disqus</span></a>-->

То бишь, закомментируй всё после "?>"
Last edit: 8 years 9 months ago by qwer qewr.

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

More

Warning: Undefined variable $end_tag_params in /home/omegatheme/public_html/libraries/kunena/External/Nbbc/src/BBCode.php on line 2321

Warning: Undefined variable $end_tag_params in /home/omegatheme/public_html/libraries/kunena/External/Nbbc/src/BBCode.php on line 2321

Warning: Undefined variable $end_tag_params in /home/omegatheme/public_html/libraries/kunena/External/Nbbc/src/BBCode.php on line 2321
8 years 9 months ago #8225 by Trung Duong
Hi,

Could you please write your question with English only ?

Best Regards

Support email: services(at)omegatheme(dot)com


Follow Us to keep updated!

[img


[img


[img]...[/img]

[img]...[/img]

[img]...[/img]

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

More
8 years 9 months ago #8226 by Владислав Собченко
And all the solution was found, and so the question was such as to disable comments, which are shown in the image. Just in the Joomla there are not plug-in module that would not turn off comments. Maybe you have another solution? That would not get into the code.

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

More
8 years 7 months ago #8362 by hunterpeace Paha
Спасибо, закомментирование кода помогло. Интересно, почему этот плагин не отображается в разделе "плагины" ? Или я проглядел?

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

More
8 years 5 months ago #8437 by Alex Soliño

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

Time to create page: 0.251 seconds

About Growth

Innovative tech for eCommerce growth

Contact Info

Head: No. 3, 175/55 Lane, Lac Long Quan St., Nghia Do Ward, Cau Giay District, Hanoi City, Vietnam