Post by svendaems » Mon Apr 11, 2016 9:49 pm

Hello

I've installed Opencart 2.2.0.0 (http://opencart.mamalola.be/) and made a custom template (in fact, I copied the default template & just made some small configuration changes (like colors and background)).

I've currently 2 VQMod's installed, the first one is one to remove the "Availability" from the product page (http://goo.gl/mV726m) which works. The second one (http://goo.gl/LxUhDI) is to remove the headings from the category page, but this one isn't working.

When I check the log files, I get following error:

Code: Select all

******************************1_Mon.log*******************************
---------- Date: 2016-04-11 15:17:47 ~ IP : 141.6.11.25 ----------
REQUEST URI : /vlees
MOD DETAILS:
   modFile   : /home/svendzg119/domains/mamalola.be/public_html/opencart/vqmod/xml/remove_heading_category_pages.xml
   id        : Remove "Heading" from category pages
   version   : 1.0.0
   vqmver    : 2.5.1
   author    : Impairedspook

File Name    : catalog/view/theme/*/template/product/category.tpl(0)
VQModObject::applyMod - SEARCH NOT FOUND (ABORTING MOD): <h2><?php echo $heading_title; ?></h2>

File Name    : catalog/view/theme/*/template/product/category.tpl(0)
VQModObject::applyMod - SEARCH NOT FOUND (ABORTING MOD): <h2><?php echo $heading_title; ?></h2>
----------------------------------------------------------------------
I verified & the exact filename & string does exists.

In the xml file, there is the following line

Code: Select all

<file name="catalog/view/theme/*/template/product/category.tpl">
which I changed to

Code: Select all

<file name="catalog/view/theme/mamalola/template/product/category.tpl">
but then I get this error:

Code: Select all

******************************1_Mon.log*******************************
---------- Date: 2016-04-11 15:32:23 ~ IP : 141.6.11.25 ----------
REQUEST URI : /vlees
MOD DETAILS:
   modFile   : /home/svendzg119/domains/mamalola.be/public_html/opencart/vqmod/xml/remove_heading_category_pages.xml
   id        : Remove "Heading" from category pages
   version   : 1.0.0
   vqmver    : 2.5.1
   author    : Impairedspook

File Name    : catalog/view/theme/mamalola/template/product/category.tpl(0)
VQModObject::applyMod - SEARCH NOT FOUND (ABORTING MOD): <h2><?php echo $heading_title; ?></h2>
----------------------------------------------------------------------
Does anybody has got an idea on how to resolve this?

Newbie

Posts

Joined
Mon Apr 11, 2016 5:52 pm

Post by impairedspook » Wed Apr 13, 2016 1:26 pm

Hi svendaems,

Thanks for downloading 2 of my extensions :) Can you please email me a copy of your category.tpl (catalog/view/theme/mamalola/template/product/category.tpl) so I can have a look and see if I can get this sorted for you.
Email is impairedspook@gmail.com.

Thanks

Active Member

Posts

Joined
Sat Apr 26, 2014 4:44 am

Post by svendaems » Wed Apr 13, 2016 3:16 pm

Hello impairedspook

I've emailed you the category.tpl file. I've also issues with other extensions of you but I removed all except the 2 I mentionned in my post, just to make sure that they aren't blocking each other.

Thanks in advance!
Sven

Newbie

Posts

Joined
Mon Apr 11, 2016 5:52 pm

Post by impairedspook » Wed Apr 13, 2016 3:44 pm

Hi Sven,

Thanks, just sent you an email now :)

Cheers

Active Member

Posts

Joined
Sat Apr 26, 2014 4:44 am

Post by svendaems » Wed Apr 13, 2016 7:58 pm

Found the solution with your help

Thanks to your tip to check 'Extensions -> Modifications', I saw that there was another module installed, called 'Remove Whitespace From Category Title'. The module replaced the <h2> header in the category.tpl with <h2 style="margin-top: 0px; margin-bottom: 10px;"> so that's the reason why that didn't worked.

Thanks for your help & nice support!

Newbie

Posts

Joined
Mon Apr 11, 2016 5:52 pm
Who is online

Users browsing this forum: No registered users and 2 guests