Problem with the right position module.

  • Posts: 40
  • Thank you received: 2
11 years 9 months ago #121421

-- url of the page with the problem -- : Localhost
-- HikaShop version -- : 2.2.0
-- Joomla version -- : 3.1.5 with Beez3 template
-- Browser(s) name and version -- : Firefox 19.0

I put the shopping cart on the right position. However, if I make a product comparison, my shopping cart module go to down there. Please see the attached pictures.

Do you have any ideas why the source code has been changed on the fly only when I make a product comparison?

Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 26253
  • Thank you received: 4040
  • MODERATOR
11 years 9 months ago #121492

Hi,

Did you overridden the view "product | compare" in your website ?
It looks like there is some HTML error which break the rest of the page layout.

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

Please Log in or Create an account to join the conversation.

  • Posts: 40
  • Thank you received: 2
11 years 9 months ago #121767

No, I didn't. However, after I debugged compare.php, I found that, from the picture, after "if statement", the debugger cursor will stop at $history = -1;"

Is it okay? or a php debugger parses HTML tag but it won't stop at HTML tag?? Do you have any suggestion? Thanks

Attachments:
Last edit: 11 years 9 months ago by eMicroMart.

Please Log in or Create an account to join the conversation.

  • Posts: 26253
  • Thank you received: 4040
  • MODERATOR
11 years 9 months ago #121832

Hi,

It does not come from the PHP. We need to see the result HTML content.
You have a HTML result error so we have to know which is this content is order to understand which element could be the source of this problem. After that we may look at the PHP part.
The DOM inspector is not the source code because it will hide you some errors and try to fix the DOM like it could. And as you see, it do it wrong because the design of your page is broken.
Having a link to your website could be a good first step but unfortunately, you're still under localhost.

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

Please Log in or Create an account to join the conversation.

Time to create page: 0.054 seconds
Powered by Kunena Forum