Custom system settings fields

Hello everyone,

I need to keep some fields as global settings for my module.

e.g I would like to have an email field that i can change over time and use in my periodic tasks to send messages according to particular conditions, or a location field where i save my positions e.g new york, Rome … and i can edit if necessary. In short, some settings for my custom module!

Anyone who can help me?

If your settings are simple, and system-wide, then you could consider just adding your own entries to config_override.php, in the sugar_config array which should be accessible everywhere. If you need to change these settings in code, you need to find out which function to call to save that sugar_config.

If your settings belong to a specific module, maybe some other solution can be invented.