I have a module, that is just a list of items. Relating to content.
I also have another module, which is a global config sort of module, which has one item in it.
What I’m looking to do, is on the content module, have a checkbox, then when ticked, will update the row in the global config table to set is_published to 1.
How would i go about this?
Could I use a partial or some other way using Ajax?
As Tom commented this is not really a lot of information and no, partials and ajax aren’t both apples. However this is what you could do:
Which is the 2 things I assumed could be “global config table”.
If you add more info, we can perhaps be more helpful. Thanks!