Update Hikashop v2.6.1 to v2.6.2 content module

  • Posts: 9
  • Thank you received: 0
9 years 4 months ago #235961

-- HikaShop version -- : 2.6.2
-- Joomla version -- : 3.4.5
-- PHP version -- : 5.6
-- Browser(s) name and version -- : Chrome
-- Error-message(debug-mod must be tuned on) -- : White Page

After update Hikashop from v2.6.1 to v2.6.2 the website is unable to load the page.
I see a white page with an arrow of hikashop content module (slider) but nothing else.
In source code i see only code of this conent module, so i disable the slider and the page was able to load. I noticed that the problem is caused in layaout settings of content module (slider) when user selects image_pane, and many other options. Can i fix that?

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

  • Posts: 84233
  • Thank you received: 13675
  • MODERATOR
9 years 4 months ago #236008

Hi,

We actually completely redone the listing_pane view file so that it doesn't require mootools at all anymore and it works with CSS.
I see however that your template compress the CSS on your website, so it would explain why it doesn't work after the update since your template isn't using the new version of the CSS of HikaShop.
I would recommend to turn off the CSS compression of your template and see if that helps.

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

  • Posts: 9
  • Thank you received: 0
9 years 4 months ago #236038

Thanks for the response. I disabled the css optimise which compress the css but steel the same. I get a white page with one arrow of hikashop content module slider.

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

  • Posts: 84233
  • Thank you received: 13675
  • MODERATOR
9 years 4 months ago #236060

Hi,

So if you turn on the "error reporting" setting of your Joomla configuration and try again, what error message do you get on that white page ?

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

  • Posts: 9
  • Thank you received: 0
9 years 4 months ago #236656

Hi, the error reporting to maximum gave the following.
Fatal error: Can't use method return value in write context in .../public_html/sites/colorcopy3d-gr/components/com_hikashop/views/product/tmpl/listing_img_pane.php on line 22

Last edit: 9 years 4 months ago by s19k15.

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

  • Posts: 13201
  • Thank you received: 2322
9 years 4 months ago #236658

Hi,

Please edit the indicated file and replace the line 22 from:

if(!empty($this->params->get('pane_height','')))
By:
if($this->params->get('pane_height','') != '')

The following user(s) said Thank You: spotstv

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

  • Posts: 9
  • Thank you received: 0
9 years 4 months ago #236707

I will give it a try. Also it will be nice to add a feature that makes module content fullwidth and display products by size of sceen, so then it will be resisable based on template.

Last edit: 9 years 4 months ago by s19k15.

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

  • Posts: 9
  • Thank you received: 0
9 years 4 months ago #236745

Ok it is woriking, thanks a lot!

Also this change must done in files:
listing_fade.php
listing_img_pane.php
listing_slider_horizontal.php
listing_slider_vertical.php

Please also think my suggestion about the resizing.

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

  • Posts: 9
  • Thank you received: 0
9 years 4 months ago #236748

Also i want to report an another problem in same content module.
The links to the products inludes path /content/hikashop/ when they are displayed on other pages than the eshop menu even i have enable sef urls. If they are displayed in eshop menu then the links looks right.

These are my settings...
Simplified breadcrumbs
Yes
Remove products and categories id in URLs
Yes
Remove cart id in URLs
Yes
Alias automatic filling
Yes

Last edit: 9 years 4 months ago by s19k15.

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

  • Posts: 13201
  • Thank you received: 2322
9 years 4 months ago #236714

Hi,

Could you give us more precision about what you mean by "resizable based on template" ?

Actually, if you enable the "bootstrap mode" option in Configuration > Display and you have a template compatible with bootstrap 2 the layout will be responsive. So if you have 3 columns, on smartphones there will be only one column.

Regarding the url, you have to select a menu for the "menu" option in your module settings.
Or use the canonical urls feature.

Last edit: 9 years 4 months ago by Xavier.

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

  • Posts: 9
  • Thank you received: 0
9 years 4 months ago #236841

Thanks urls are working!

For "resizable based on template" i mean that content module could display products based on width and not columns.
For example when i resize the window in my browser and template width is not standart but relative the content module could display products to fill the width of template, it is ok if the last product displayed as half and not complete...

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

  • Posts: 13201
  • Thank you received: 2322
9 years 4 months ago #236852

Hi,

So you don't want responsive design ? When resizing, the products must not be changed to one column but stay to fit the full width of the template ?
If it is, you have to disable the "Enable bootstrap" option.
Else, a screenshot could help me to understand the situation.

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

Time to create page: 0.107 seconds
Powered by Kunena Forum