Skip to main content

Load hikashop framework/files?

11 years 9 months ago #190453 by shpuser
-- HikaShop version -- : 2.3.5

I develop a small custom feature where i load images with ajax, my question is, how can i load hikashop framework/files and image tools in my external file?

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

11 years 9 months ago #190468 by nicolas
Hi,

The code:
Code:
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;
will initialize HikaShop. This supposes that Joomla's framework is already loaded. If not, it will break.

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

Time to create page: 0.040 seconds
Powered by Kunena Forum