SecondDescription Plugin conflicts with Content - LoadModule Joomla plugin

11.10.2019 08:37
#1
sergeytolkachyov
User sergeytolkachyov
Name: Sergey
11.10.2019
Posts: 106
Quote
SecondDescription Plugin conflicts with Content - LoadModule Joomla plugin

Hello.
I try to use a joomla Load module plugin in product description field but it not works. I have installed the second product description addon.
If frontend second desciption plugin enabled that {loadposition module_position_name} isn't work. If second description is off - all is ok, Joomla LoadModule works fine.


Joomla: 3.9.12
JoomShopping: 4.18.3
PHP: 7.2
MySQL: 5.7

Joomla developer. https://web-tolk.ru JoomShopping Bitrix24 integration, custom developing.
 
11.10.2019 15:11
#2
sergeytolkachyov
User sergeytolkachyov
Name: Sergey
11.10.2019
Posts: 106
Quote
Aw: SecondDescription Plugin conflicts with Content - LoadModule Joomla plugin

Solved this problem. Need to update plugin code

$view->_tmp_product_html_after_buttons .= '<div class="second_description">' $product->second_description.'</div>';


to
$view->_tmp_product_html_after_buttons .= '<div class="second_description">'.JHtml::_("content.prepare", $product->second_description).'</div>';


in file plugins/jshoppingproducts/second_description_for_product/second_short_description_for_product.php


Last change: 11.10.2019 15:13

Joomla developer. https://web-tolk.ru JoomShopping Bitrix24 integration, custom developing.
 
21.12.2019 10:10
#3
admin
(Support Team)
User admin
Name: Admin
05.08.2010
Posts: 25852
Quote
Aw: SecondDescription Plugin conflicts with Content - LoadModule Joomla plugin

addon version?
Second short Description for a Product 1.0.2?

 


Copyrights MAXXmarketing GmbH. Alle Rechte vorbehalten
Durch die Nutzung dieser Website stimme ich zu, dass Cookies zur optimalen Gestaltung der Website sowie zur Analyse der Nutzung der Website verwendet werden. Weiterführende Informationen finden Sie hier. OK, einverstanden.