Filter Module

  • Posts: 6
  • Thank you received: 0
12 years 9 months ago #37925

Hi,

I am having a problem with the filter module. I have setup everything according to the steps on how to use the Filter Module. It works on the catalog page but when I use it as a module in another page, it does not work. Please take a look shoxwebdesign.com/aero/capabilities - Here it doesn't work, it refreshes the page with no result. IN this one it works perfectly shoxwebdesign.com/aero/capabilities/catalog -

I have attached a screenshot of my joomla module preferences - thanks for your help.

Attachments:

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

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
12 years 9 months ago #38056

Hi,

Could you try to change the code:

$url = hikashop_completeLink('category&task=listing&Itemid='.$this->params->get('itemid',0));
by:
		$menuClass = hikashop_get('class.menus');
		$menuData = $menuClass->get($this->params->get('itemid',0));
		$type = 'category';
		if(@$menuData->hikashop_params['content_type']=='product'){
			$type = 'product';
		}
		$url = hikashop_completeLink($type.'&task=listing&Itemid='.$this->params->get('itemid',0));

in the file "filter" of the view "product" via the menu Display->Views.
That should help.

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

  • Posts: 6
  • Thank you received: 0
12 years 9 months ago #38071

made the change and did not help. any other ideas?

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

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
12 years 9 months ago #38168

What is the URL of that page when SEF is not activated ?

I don't know why but it seems that the system thinks it is on a products/categories listing and that check is done on the URL so knowing the non SEFed URL of that page might give us some clues.

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

  • Posts: 6
  • Thank you received: 0
12 years 9 months ago #38174

shoxwebdesign.com/aero/index.php?option=...t&view=article&id=49

i have added the module in the article using {loadposition xxx}

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

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
12 years 9 months ago #38362

Hi,

Could you provide a back end access to your website so that we can look at the problem as we cannot reproduce it on our end?

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

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
12 years 9 months ago #38504

It's fixed now. We'll update the code on our end too.

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

  • Posts: 6
  • Thank you received: 0
12 years 9 months ago #38517

Great! THanks for the help!

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

  • Posts: 149
  • Thank you received: 0
12 years 7 months ago #48057

Hello,

it seems that we might also face the same issue with the mod_hikashop_filter. Apparently the module filter form has action resulting back to the same article containing the module (instead of the url to action the listing of the products with the filters).

Can you please let us know of what the fix is for this issue so we can verify if this is our problem

Thanks and regards

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

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
12 years 7 months ago #48109

We fixed a lot of small things in the filtering system for the latest releases, so if you don't have the latest version, just update and it should work.
All of these modifications were done in the files administrator/components/com_hikashop/classes/filter.php components/com_hikashop/views/product/view.html.php and components/com_hikashop/views/product/tmpl/filter.php

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

  • Posts: 149
  • Thank you received: 0
12 years 6 months ago #48192

Hi Nicolas,

Thanks for the update.
The problem is that updating to the latest version of hikashop is not an option for this website. There are a lot of customizations on most of the aspects of the system.
The attempt to upgrade the version broke the whole site.

In addition we have tried to only merge the changes from the three mentioned files above but the website went offline (I guess errors during merge of code, or missing parts from the new code from other files)

Can you please advice on a way forward? It is essential for the project to solve the module filter issue

Thanks again

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

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
12 years 6 months ago #48261

Changes in these three files are required for that fix.
I don't see a way to fix that without applying these changes.

That's why we recommend to not hack into the core files of HikaShop directly so that you can update later on without any problems.

What errors did you get when changing only these three files ?

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

  • Posts: 149
  • Thank you received: 0
12 years 6 months ago #48359

Hi Nicolas,

The website does not load. We can see a blank page.
Same happens in backend when we select to view a filter in the hikashop backend component
We do not see any message/error printed on the screen.

I have found two occurances of what it seems to be a new field in table hikashop_file. The column name file_ordering (in file view.html.php from frontend under product view). I have removed the reference but still facing the same issue.

Can you advice what else could be causing this?
Is it possible that you logic on the website and either fix this or add the fix of filters on current version

Thanks

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

Time to create page: 0.084 seconds
Powered by Kunena Forum