Skip to main content

Double title for hikashop content module

More
9 years 2 weeks ago #278358 by progreccor
-- HikaShop version -- : 3.2.0
-- Joomla version -- : 3.7.5
-- PHP version -- : 7.1

Here is the screenshot of the problem


As we can see - there are two identical headers for the module.
This is bug that appears recently after upgrade from from 3.1.1 to 3.2.0

If I choose to disable module title it disappears both.

Address of the problem URL is evastyle.by/odezhda-dlya-devochek

Я не явлюсь официальной службой поддержки!
Я здесь добровольно!

Хочешь получить купон на скидку Hikashop? Спроси меня как!

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

More
9 years 2 weeks ago #278381 by GW
Hi,

after updating to 3.2.0 we had the same issue. It's not so much a bug, but likely because you have an older view override which does not work correctly anymore with the recent changes.

If we're not mistaken you have a view override of the file listing.php. In order to get rid of the double title, in your override you just need to update the line
Code:
if(!empty($title) && JRequest::getVar('hikashop_front_end_main', 0) && (!$this->module || $this->pageInfo->elements->total)) {
to
Code:
if(!empty($title) && hikaInput::get()->getVar('hikashop_front_end_main', 0) && (!$this->module || $this->pageInfo->elements->total)) {
and that should fix it. Hope that helps.
The following user(s) said Thank You: Jerome, progreccor

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

More
9 years 2 weeks ago #278415 by progreccor
yes, it's really helped with the problem.
Thank you for your help!
I can't imagine that the problem could be with override of this file.

Я не явлюсь официальной службой поддержки!
Я здесь добровольно!

Хочешь получить купон на скидку Hikashop? Спроси меня как!

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

Time to create page: 0.159 seconds
Powered by Kunena Forum