Fusionpbx menu via shell script

Status
Not open for further replies.

dgxa

Member
May 19, 2021
41
2
8
34
Lima, Peru
Hello all I come back here to ask your appreciated help with this case

I built an script in Bourne Shell to create a custom menu, all ok with the data injection via shell script for postgresql but when access to the panel with the user I can´t see nothing.

The case that to solve this i have to go to Menu manager select my new menu and access to each title configuration and save changes from the web panel and access again. This solve the problem but how can do to take a clean access without make this process?
 

hfoster

Active Member
Jan 28, 2019
682
81
28
34
Are you updating the menu_language table too? The only reason I say this, is I discovered that when I made a custom menu and users were set to 'British English' then the menu bar just would display blank.
 

dgxa

Member
May 19, 2021
41
2
8
34
Lima, Peru
Yes, you have the reason, the table v_menu_languages it had not information about the menu and during the troubleshooting process i discover that v_menu_item_groups had the same problem

Thank you for your help
 
Status
Not open for further replies.