Acess Category Explorer from a 3rd party module
- jameswadsworth
-
Topic Author
- Offline
Less
More
10 years 11 months ago #224738
by jameswadsworth
Acess Category Explorer from a 3rd party module was created by jameswadsworth
-- HikaShop version -- : 2.6.0
-- Joomla version -- : 3.4.5
We are working on integrating hikashop into roksprocket by Rockettheme so that hikashop products can be selected and displayed in a roksproket module. We working on the selection of specific hikashop products. The product selection opens in a popup window and we can list all the products. We would like to user the Explorer tree to filter the categories. Is it possible to access and display the Explorer from a a third party module?
Does the following topic have any relevance?
Frontend Full Category Tree as Backend
-- Joomla version -- : 3.4.5
We are working on integrating hikashop into roksprocket by Rockettheme so that hikashop products can be selected and displayed in a roksproket module. We working on the selection of specific hikashop products. The product selection opens in a popup window and we can list all the products. We would like to user the Explorer tree to filter the categories. Is it possible to access and display the Explorer from a a third party module?
Does the following topic have any relevance?
Frontend Full Category Tree as Backend
Please Log in or Create an account to join the conversation.
10 years 11 months ago #224751
by nicolas
Replied by nicolas on topic Acess Category Explorer from a 3rd party module
Hi,
The category explorer can be displayed from anywhere in HikaShop with the function hikashop_setExplorer once you initialize the HikaShop main helper.
For example:
That is used for the display of the explorer in the popup for selecting related products with the old interface of the product edition page (file 'selectrelated' of the view "product").
So it's not impossible to have it displayed from a 3rd party module, but it's not that simple as the first parameter is supposed to be a HikaShop controller. It will require some tinkering.
The category explorer can be displayed from anywhere in HikaShop with the function hikashop_setExplorer once you initialize the HikaShop main helper.
For example:
Code:
<?php
if(!defined('DS')) define('DS',DIRECTORY_SEPARATOR);
if(!include_once(rtrim(JPATH_ADMINISTRATOR,DS).DS.'components'.DS.'com_hikashop'.DS.'helpers'.DS.'helper.php')) return true;
echo hikashop_setExplorer('product&task=selectrelated&select_type='.$this->type.'&control='.$this->control,$this->pageInfo->filter->filter_id,true,'product'); ?>
So it's not impossible to have it displayed from a 3rd party module, but it's not that simple as the first parameter is supposed to be a HikaShop controller. It will require some tinkering.
Please Log in or Create an account to join the conversation.
- jameswadsworth
-
Topic Author
- Offline
10 years 10 months ago #225694
by jameswadsworth
Replied by jameswadsworth on topic Acess Category Explorer from a 3rd party module
Hi Nicolas, I hope you all had a good Christmas. Thanks for the pointer. I'll let you know how we get on. Thanks, James
Please Log in or Create an account to join the conversation.
Time to create page: 0.045 seconds