Thread Rating:
  • 1 Vote(s) - 4 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[SOLVED] Add module to mobile
#1
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


Attached Files Thumbnail(s)
   
Reply
#2
Let me narrow down the question:

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

Thanks
Reply
#3
Omar is on vacation, he will answer when he gets back.
Joe
TSolucio
Reply
#4
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.
Reply
#5
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.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)