Post by knot2smartz » Wed Jun 02, 2010 1:14 am

Hello all,

On local host 1.4.7 OC with Keyword Highlighter Mod installed any keywords highlighted within the content area causes all the tabs, add to cart button not to work, and the main picture now opens up in same full screen page.
Other products without keywords highlighted work normal.

Using FireFox.....haven't tried other browsers.

Any ideas how to make this jscript not override the others....?

Thanks a bunch.... This mod makes sense to use, and would like to.

Code: Select all

//<![CDATA[
// The id of the element we will search in
var CONTAINER_ID = 'content';
// Higlight start tag
var HIGHLIGHT_START = '<span style="color:#F00;border-bottom: 1px dotted #F00;" title="keyword match">';
// Highlight end tag
var HIGHLIGHT_END = '</span>';

// DON'T CHANGE THIS !
eval(function(p,a,c,k,e,d){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--){d[e(c)]=k[c]||e(c)}k=[function(e){return d[e]}];e=function(){return'\\w+'};c=1};while(c--){if(k[c]){p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c])}}return p}('$(a).x(p(){5(!a.n(l)){b s}4 k=z A(a.D);4 7,d,6;5(k.q(\'?\')==-1){b s}7=k.c(\'?\');7=7[1].c(\'&\');o(4 i B 7){d=7[i].c(\'=\');5(d[0]==\'y\'){6=C(d[1]);6=6.c(\' \');o(4 j=0;j<6.8;j++){5(6[j].8>=3){r(6[j])}}b h}}b h});p r(e){4 2=a.n(l).v;4 g=\'\';4 i=-1;4 w=e.m();4 9=2.m();H(2.8>0){i=9.q(w,i+1);5(i<0){g+=2;2=\'\'}E{5(2.f(\'>\',i)>=2.f(\'<\',i)){5(9.f(\'/u>\',i)>=9.f(\'<u\',i)){g+=2.G(0,i)+F+2.t(i,e.8)+I;2=2.t(i+e.8);9=2.m();i=-1}}}}a.n(l).v=g;b h}',45,45,'||bodyText||var|if|keywords|parts|length|lcBodyText|document|return|split|keyValue|searchTerm|lastIndexOf|newText|true|||href|CONTAINER_ID|toLowerCase|getElementById|for|function|indexOf|doHighlight|false|substr|script|innerHTML|lcSearchTerm|ready|keyword|new|String|in|decodeURI|location|else|HIGHLIGHT_START|substring|while|HIGHLIGHT_END'.split('|'),0,{}));
//]]>
Last edited by i2Paq on Wed Jun 02, 2010 1:42 am, edited 1 time in total.
Reason: Code-tags added

Newbie

Posts

Joined
Wed Jun 02, 2010 12:49 am

Post by i2Paq » Wed Jun 02, 2010 1:44 am

Where can I find that mod?

Norman in 't Veldt
Moderator OpenCart Forums

_________________ READ and Search BEFORE POSTING _________________

Our FREE search: Find your answer FAST!.

[How to] BTW + Verzend + betaal setup.


User avatar
Global Moderator

Posts

Joined
Mon Nov 09, 2009 7:00 pm
Location - Winkel - The Netherlands

Post by knot2smartz » Wed Jun 02, 2010 2:02 am

It's in the Extensions tab above, Other/1.4.7 filter...

http://www.opencart.com/index.php?route ... nload_id=2

Newbie

Posts

Joined
Wed Jun 02, 2010 12:49 am

Post by i2Paq » Wed Jun 02, 2010 2:22 am

knot2smartz wrote:It's in the Extensions tab above, Other/1.4.7 filter...

http://www.opencart.com/index.php?route ... nload_id=2
Aha, I see that it has bug by looking at the comments.

Norman in 't Veldt
Moderator OpenCart Forums

_________________ READ and Search BEFORE POSTING _________________

Our FREE search: Find your answer FAST!.

[How to] BTW + Verzend + betaal setup.


User avatar
Global Moderator

Posts

Joined
Mon Nov 09, 2009 7:00 pm
Location - Winkel - The Netherlands

Post by knot2smartz » Wed Jun 02, 2010 12:23 pm

Comments tab showing no comments..... was it erased....

Well, any way I added the Tag Cloud mod.... added 'Apple' in the cloud (default products), clicked on apple tag in cloud, the highlighter works through that, guess it's a search function, well none of the content area functions work doing that either.

Bummer :( , cuz key words all lit up look purty cool.....

Newbie

Posts

Joined
Wed Jun 02, 2010 12:49 am
Who is online

Users browsing this forum: No registered users and 19 guests