News:

Support the VirtueMart project and become a member

Main Menu

Fix for unable to specify browse template in IE

Started by DDPaul, July 15, 2008, 19:46:08 PM

Previous topic - Next topic

DDPaul

I finally managed to find a solution (hack?) to solve the IE problem of not being able to specfiy a browse page or flypage using IE7/VISTA. See
http://forum.virtuemart.net/index.php?topic=42962.0
for details.

The fix is simple. Modifying the method endTab in
root/administrator/components/com_virtuemart/classes/htmlTools.class.php
from
function endTab() {
echo "</div>";
}
to
function endTab() {
echo '<!--[if IE]><br /><br /><br /><br /><br /><br /><br /><br /><![endif]-->';
echo "</div>";
}
"solves" the problem in that it doesn't affect the Firefox display (which works) and correctly renders the  category information tab in IE. Unfortunately it also appends some additional blank lines to the images tab in IE but at least the panel displays all the necessary information.

I have no clue why this works but it does.

DDPaul


marike

I also am having the problem that changing browse and flypage options in my Virtuemart webshop doesn´t make any difference.

I tried to change the following doc: administrator/components/com_virtuemart/classes/htmlTools.class.php as suggested above but that after doing that strange texts became visible in the browse area of my webshop.

Upgrading to Virtuemart 1.1.2, as suggested one message up didn´t help either....I am seeing the same webshop layout no matter what browse option and flypage option I chose, by the was both with IE and Firefox

I read somewhere else that you need to change something in the jos_vm_category doc, but I don´t know where/how I can do that, and what I should do exactly, anyone?