You are here: Home General Chatter Chatterbox Joomla/VirtueMart Hacks

Clapboard - Full Frontal Nerdity

Add Announcement Here

Joomla/VirtueMart Hacks

Re: Joomla/VirtueMart Hacks

Okay, this was a tough one. Not simply because I didnt know what the hell to search for.  Internet Explorer hated my site for a little while.  Here are the salient details for the issue.

Im running an edited SH_Zinc.  Im using the JSCook menus in Horizontal fashion in the mod_product_categories module.  IE pretty much will not run any code past the JSCook menu.  No idea why.

I discovered that there was a line in the source of the flypage (Im never updating this website ever, ever, ever, btw) on line 160 that called that menu that was supposedly referencing an outside event, and IE doesnt like that.

You need to edit the /modules/mod_virtuemart/vm_JSCook.php file line 133 from

Code:

<script type=\"text/javascript\"><!--

to

Code:

<script type=\"text/javascript\" defer=\"defer\"><!--

And that defers the code from running till the rest of the page has loaded.  I cant make the error go away yet, but I also no longer fail the pageload.  I am okay with this.

I used the following links to help me on this  (in no particular order):

Link 1
Link 2
Link 3
and
a ton of Google.

flicman
Site Admin
useravatar
Online
418 Posts
User info in posts
Administrator has disabled public posting

Re: Joomla/VirtueMart Hacks

$addtocart in the flypage is defined in /components/com_virtuemart/themes/{THEMENAME}/templates/product_details/includes/addtocart_form.tpl.php

In case anyone needs to know.  Shit.

flicman
Site Admin
useravatar
Online
418 Posts
User info in posts
Administrator has disabled public posting

Re: Joomla/VirtueMart Hacks

in case I ever need to do it again, it's important to note that the width of the boxes created by the various browse pages is set in the file

/beta.shoehardware.com/components/com_virtuemart/themes/gears/templates/browse/includes/browse_notables.tpl.php

It was a huge pain in the ass to get that set (again) because one little change and everything goes back to the wrong layout.

flicman
Site Admin
useravatar
Online
418 Posts
User info in posts
Administrator has disabled public posting

Board Info

Board Stats:
 
Total Topics:
179
Total Polls:
0
Total Posts:
699
Posts this week:
1
User Info:
 
Total Users:
94
Newest User:
exsilebizz
Members Online:
1
Guests Online:
304

Online: 
flicman

Forum Legend:

 Topic
 New
 Locked
 Sticky
 Active
 New/Active
 New/Locked
 New Sticky
 Locked/Active
 Active/Sticky
 Sticky/Locked
 Sticky/Active/Locked