CoreBOSBB
Suggestion - Action menu - not showed when modules disabled - Printable Version

+- CoreBOSBB (https://discussions.corebos.org)
+-- Forum: Support (https://discussions.corebos.org/forumdisplay.php?fid=17)
+--- Forum: Administrator Support (https://discussions.corebos.org/forumdisplay.php?fid=8)
+--- Thread: Suggestion - Action menu - not showed when modules disabled (/showthread.php?tid=2131)

Pages: 1 2


Suggestion - Action menu - not showed when modules disabled - rslemer - 03-23-2021

Today, when I disabled a specific module, system still shows in action menu your link

In fact showed "Module not activated" when clicked.

But I think is better, or more user friendly if system not showed that's links, when module not active ..

see images

What you think about it?


RE: Suggestion - Action menu - not showed when modules disabled - joebordes - 03-23-2021

I will add that to our to-do list

you know that those links are just business actions and that you can deactivate them easily with a mass edit, right?


RE: Suggestion - Action menu - not showed when modules disabled - rslemer - 03-25-2021

I was thinking about an automatic way
but I could read the table of modules and change in the table of links, via sql correct?


RE: Suggestion - Action menu - not showed when modules disabled - joebordes - 03-25-2021

we will implement an automatic way, but you do not have to do any SQL for this

all the actions in the application are defined in the business actions module

you can go to the business actions module, select all the records related to the module you have deactivated and use mass edit to deactivate the actions, it is just a mass edit, no database nor SQL needed


RE: Suggestion - Action menu - not showed when modules disabled - rslemer - 03-25-2021

Sorry, I am not explain right way

when I said, automatic, I plan to say, with not manually action ...


RE: Suggestion - Action menu - not showed when modules disabled - joebordes - 03-25-2021

I understand. I repeat: I have added that to our to-do list, but in the meantime, you can deactivate the actions in the business actions module easily with a mass edit, no SQL needed


RE: Suggestion - Action menu - not showed when modules disabled - rslemer - 03-25-2021

Sure, @Joe

Thanks for your attention.


RE: Suggestion - Action menu - not showed when modules disabled - inspectorflint - 12-28-2022

Hello:

I need to add a custom action button in a custom module. What is the correct way to do it? I try to create a new Business action, but it dont woks, and I dont know the correct way to do it. I try this , only an example to show a button linj¡ked to google:

[attachment=1188]

Thanks


RE: Suggestion - Action menu - not showed when modules disabled - joebordes - 12-28-2022

the button you defined in that screen will be available only for the administrator or uses in the selected rows.

I tried the same in demo, created a record only for the testdmy user and it appeared correctly in the payments module

https://demo.corebos.com/index.php?module=BusinessActions&action=DetailView&viewname=0&start=&record=44726&;

https://demo.corebos.com/index.php?module=CobroPago&action=DetailView&record=14294
user: testdmy
pass: TeJNV6hePqZ9


RE: Suggestion - Action menu - not showed when modules disabled - inspectorflint - 12-28-2022

Thanks, Joe, but I can´t access to BusinessAction module. When I try to it, I see a CSRF Error.

[attachment=1189]

I  can see the button in the payment module, but I don´t see the BusinessAntions module in the menu

In my instalation, I have the administrator role, anything that I do it´s wrong.

Regards