solved Can you add more than one instance of a module ?

John Bizley
John Bizley
@john-bizley
10 years ago
251 posts
If you have lets say the forum module and maybe photo galleries can these modules be cloned so you have more than one forum module or photo galleries module ? If so what's the best way to do this ?
updated by @john-bizley: 01/01/15 05:34:50AM
brian
@brian
10 years ago
10,148 posts
John Bizley:
If you have lets say the forum module and maybe photo galleries can these modules be cloned so you have more than one forum module or photo galleries module ? If so what's the best way to do this ?

Yeah you could - you'd need to make sure all the places the module directory name used inside the module (i.e. jrGallery) was changed AND you'd want to modify the new modules init function (in include.php), but after that the core should see it as a "unique" module.

Make sure and check out Aparna if you haven't:

https://www.jamroom.net/the-jamroom-network/networkmarket/66/aparna

It's designed for creating new "modules" by cloning itself and letting you customize the forms and views that are created.

Hope this helps!


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
John Bizley
John Bizley
@john-bizley
10 years ago
251 posts
Cool thanks Brian
brian
@brian
10 years ago
10,148 posts
John Bizley:
Cool thanks Brian

No problem!


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net

Tags