This object is in archive! 

Is it possible to make categories specific to a module?

Archived Licences B. 11 years ago

Hi,

I want to make a different module to implement a "Challenge concept". However, the Categories module seems to be shared by all the modules.


Is there a way to identify specific categories to a module?


thank you,

Replies (1)

photo
1

Hello,

There is no way to attach one or more categories to a module by default. But you can create you own logic for example by adding "module_id" or "module_name" column to "categories" table in you custom module installer. Then you be able to change categories fetches by using various event hooks like a Singular_Event::dispatch('<event_name>', $params);

Replies have been locked on this page!