Double title for hikashop content module
- progreccor
-
Topic Author
- Offline
- SEO, webdesign
Less
More
9 years 2 weeks ago #278358
by progreccor
Я не явлюсь официальной службой поддержки!
Я здесь добровольно!
Хочешь получить купон на скидку Hikashop? Спроси меня как!
Double title for hikashop content module was created 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
-- 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.
9 years 2 weeks ago #278381
by GW
Replied by GW on topic Double title for hikashop content module
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
to
and that should fix it. Hope that helps.
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)) {
Code:
if(!empty($title) && hikaInput::get()->getVar('hikashop_front_end_main', 0) && (!$this->module || $this->pageInfo->elements->total)) {
The following user(s) said Thank You: Jerome, progreccor
Please Log in or Create an account to join the conversation.
- progreccor
-
Topic Author
- Offline
- SEO, webdesign
9 years 2 weeks ago #278415
by progreccor
Я не явлюсь официальной службой поддержки!
Я здесь добровольно!
Хочешь получить купон на скидку Hikashop? Спроси меня как!
Replied by progreccor on topic Double title for hikashop content module
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.
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