Post by yegga » Wed Mar 10, 2010 12:25 am

Hello,

None of my tabs show up anymore - why is it? I suspect some javascript shenanigans. Can you help?

flapper.pl/sklep is my site

Active Member

Posts

Joined
Tue Sep 08, 2009 5:03 am

Post by OSWorX » Wed Mar 10, 2010 12:47 am

Of course can we help.

If you are so nice and tell us
* which OpenCart version you have/use
* which Browser is used
* cache cleaned
* some modified

Full Stack Web Developer :: Dedicated OpenCart Development & Support DACH Region
Contact for Custom Work / Fast Support.


User avatar
Guru Member

Posts

Joined
Mon Jan 11, 2010 10:52 pm
Location - Austria

Post by yegga » Wed Mar 10, 2010 12:57 am

opencart 1.3.2
browsers: doesnt show up on any browser: firefox, chrome, safari
cache is cleared, yes.

i think i've mangled the javascript that handles the tabs. could you point me to the piece of code that does that?

Active Member

Posts

Joined
Tue Sep 08, 2009 5:03 am

Post by OSWorX » Wed Mar 10, 2010 1:12 am

Well basically it is only:

* the jQuery library (called via the header.tpl)
* in the template (setting.tpl) at the end the call:

Code: Select all

<script type="text/javascript"><!--
$.tabs('.tabs a'); 
//--></script>
That is it.

Full Stack Web Developer :: Dedicated OpenCart Development & Support DACH Region
Contact for Custom Work / Fast Support.


User avatar
Guru Member

Posts

Joined
Mon Jan 11, 2010 10:52 pm
Location - Austria

Post by yegga » Thu Mar 11, 2010 10:55 pm

where is setting.tpl?

Active Member

Posts

Joined
Tue Sep 08, 2009 5:03 am

Post by OSWorX » Thu Mar 11, 2010 11:54 pm

Code: Select all

../admin/view/template/setting/

Full Stack Web Developer :: Dedicated OpenCart Development & Support DACH Region
Contact for Custom Work / Fast Support.


User avatar
Guru Member

Posts

Joined
Mon Jan 11, 2010 10:52 pm
Location - Austria

Post by yegga » Fri Mar 12, 2010 1:41 am

so i;m calling jquery this way:

<script type="text/javascript" src="catalog/view/javascript/jquery/jquery-1.3.2.min.js"></script>

in setting.tpl and in the header.tpl AND in layout.tpl (which is heavily modified as you may see for yourself at www.flapper.pl/sklep)

still no tabs show up: any ideas?

thank you

Active Member

Posts

Joined
Tue Sep 08, 2009 5:03 am

Post by yegga » Fri Mar 12, 2010 1:47 am

further, you can see the 'more description; tab showing up briefly when i load a new product page, however, this doesnt last for long, a few milliseconds.


thoughts?

Active Member

Posts

Joined
Tue Sep 08, 2009 5:03 am
Who is online

Users browsing this forum: No registered users and 127 guests