Author Topic: JSCook bug and partial fix  (Read 22843 times)


  • Jr. Member
  • **
  • Posts: 64
Re: JSCook bug and partial fix
« Reply #15 on: November 21, 2010, 22:57:24 pm »
I found a simple solution:

hack modules/mod_virtuemart/vm_JSCook.php

80: '<img src=\"' + ctThemeXPBase + 'darrow.png\" alt=\"arr\" />'

80: '<img src=\"modules/mod_virtuemart/ThemeXP/darrow.png\" alt=\"arr\" />'

does the job for me.

This one works great for me!!


checking my site with page speed i just realized that image size is not set, so to improve SEO i just make this small modification in line 80

         $mymenu_content.= "\n[ '<img src=\"modules/mod_virtuemart/ThemeXP/darrow.png\" width=14px height=14px alt=\"arr\" />','".$db->f("category_name",false)."','".sefRelToAbs('index.php?option=com_virtuemart&page=shop.browse&category_id='.$db->f("category_id").$itemid)."',null,'".$db->f("category_name",false)."'\n ";