Live Helper Chat support forum.. Forum is locked. New place for questions - Github Discussions

You are not logged in.

Announcement

#1 2013-10-02 21:35:14

Octavio Durana
Member
Registered: 2013-09-27
Posts: 7

How to enable module?

Hi


I added a new module, and now I'm trying to run it so i add a link in the top menu for the module, /site-admin/fileuploader/upload/ but it always redirects me to /site-admin/, do i have to add it to the lhextension_autload array? If it is the case can you tell me in what format?

Thanks


https://groups.google.com/forum/#!topic … F7KHDDvTss

Offline

#2 2013-10-02 21:49:13

Remigijus Kiminas
Administrator
From: Lithuania
Registered: 2012-09-23
Posts: 3,661
Website

Re: How to enable module?

Hi,
1. Your module should have been as extension in first place.
2. Extension have to be activated in settings/settings.ini.php3. If you created a pure module. Directly in modules folder, then make sure you have module.php file
4. Make sure you have disabled cache http://livehelperchat.com/article/view/405. Take a look at demo extension I did.
Good luck smile


2013/10/2 Octavio Durana <le.rou...***.com>

Hi


I added a new module, and now I'm trying to run it so i add a link in the top menu for the module, /site-admin/fileuploader/upload/ but it always redirects me to /site-admin/, do i have to add it to the lhextension_autload array? If it is the case can you tell me in what format?


Thanks


Offline

#3 2013-10-02 21:51:48

Remigijus Kiminas
Administrator
From: Lithuania
Registered: 2012-09-23
Posts: 3,661
Website

Re: How to enable module?

Extension autoload is file for custom php clases autoload. Content may look like.
return array (        //'erTranslationClassLhTranslation'     => 'extension/fileuploader/classes/uploader.php'

);

2013/10/2 Remigijus Kiminas <rem...***.com>

Offline

Board footer