CoreBOSBB
[SOLVED] Add module to mobile - Printable Version

+- CoreBOSBB (https://discussions.corebos.org)
+-- Forum: Support (https://discussions.corebos.org/forumdisplay.php?fid=17)
+--- Forum: Modules/Extension Support (https://discussions.corebos.org/forumdisplay.php?fid=9)
+--- Thread: [SOLVED] Add module to mobile (/showthread.php?tid=1196)



[SOLVED] Add module to mobile - addady2 - 08-02-2018

Hello,

I want to add ServiceContracts module to the mobile interface.
Following the doc http://corebos.org/documentation/doku.php?id=en:mobileui:introduction#a_little_bit_of_history
I add Mobile_Related_Modules  Global Variable with those values:

Contacts,Potentials,HelpDesk,Documents,Timecontrol,ServiceContracts

But it not availabe on the mobile interface

Attach screenshut.

Thank you


RE: Add module to mobile - addady2 - 08-16-2018

Let me narrow down the question:

The mobile interface don't support all modules.
How can I add new module to the interface?

Thanks


RE: Add module to mobile - joebordes - 08-16-2018

Omar is on vacation, he will answer when he gets back.


RE: Add module to mobile - addady2 - 08-17-2018

I solve it by adding the module to berli_crmtogo_modules table.

PHP Code:
INSERT INTO berli_crmtogo_modules (`crmtogo_user`, `crmtogo_module`, `crmtogo_active`, `order_num`) VALUES ('13''ServiceContracts''1''17'); 

Regarding new Corebos users, instead of inserting to the SQL table. Maybe you can  update in modules/Mobile/Mobile.php the $supported_module array?!
I will check and update later.


RE: [SOLVED] Add module to mobile - omarllorens - 08-20-2018

I've arrived late. Sad 

 As far as I remember, you should not worry about new users. When the new user access the first time to mobile interface, check if he has any settings saved and add to him all the modules that the admin user has.

So for this, we normally execute this Insert query to the admin user, user id = 1.