Hi, I’ve been trying to solve this problem by my self before to bother you but I have’t been able to find any real solution. There is an issue using mega filter pro, after any option is hit, the new results do not have the scripts working (hover effects, zoom etc..). It seems a small problem , but is important for my site, because I play a video on hover for each product. Losing this feature make the search a bit useless.
Is there any easy solution or tips you could give me to try to find a solution to this problem? Y tried to code a few ideas to run the scripts again after the filters are rendered but the closer I could get was a timer that reloads the scripts every n time or reloading the entire page. Both solutions are quite bad to be honest.
oc version: 2.0.1.1
Pavilion version: 1.2.5
Mega filter pro version: 2.0.2.6
Thanks in advance.
|
|
I found a solution:
I created a custom JS function in the category.tpl with a copy of all scripts in it and then I’m calling this function from Mega Filter Pro JavaScript custom code afterRender. It seems to work fine, but I’m not sure if this is the best approach. Please let me know if this is OK or if I should do it in any other way.
Thanks a lot.
|
|
You can try the following solution:
1. Replace your catalog/view/theme/pavilion/template/tb/header.tpl with the attached one.
2. Open the megafilter pro module administration panel and go to Settings -> Javascript. Replace the ‘JavaScript custom code’ text area with the following: MegaFilter.prototype.afterRender = function( htmlResponse, htmlContent, json ) {
var self = this;
typeof tbApp != "undefined" && $.each($.merge(tbApp.sciprtLoadFunctions, tbApp.windowLoadFunctions), function(index, value) {value()});
};
It should look like this image
Does this work for you ?
BR,
ThemeBurn team
|
|
Hi,
To include the following line of javascript custom code and filter module header doubled sections and products, overlaps content. When I comment the javascript line “typeof tbApp != “u…” all work fine but no hover effects on filtered pages.
The rest of uploaded files work ok.
Thanks in advanced for your help!!!
Best Regards,
Toni
Maskezapatos.com
|
|
Hi,
we actually have the same issue.
We would like to download the attachements, but its impossible.
How can we get on to the solution?
Cheers, Daniel
|
|
Is this solution (header file and piece of code) is applicable for BurnEngine theme?
I’ve got the same issue with broken hover and MFP.
|
|
@ostashenkods
Have you applied all the steps described here:
http://support.themeburn.com/topic/mega-filter-pro-plus
BR,
ThemeBurn team
|
|