VirtueMart Forum

VirtueMart Dev/Coding Central: VM1 (old version) => Quality & Testing VirtueMart 1.1.x => Virtuemart 1.1 Development (Archiv) => Q&T Resolved => Topic started by: DDPaul on July 15, 2008, 19:46:08 PM

Title: Fix for unable to specify browse template in IE
Post by: DDPaul on July 15, 2008, 19:46:08 PM
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
Title: Re: Fix for unable to specify browse template in IE
Post by: aravot on July 15, 2008, 21:33:11 PM
As mentioned in the post http://forum.virtuemart.net/index.php?topic=42962.msg136405#msg136405 this is fixed in v1.1.2
Title: Re: Fix for unable to specify browse template in IE
Post by: marike on August 07, 2008, 12:40:45 PM
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?