How to validate admin config options for Magento module -


i trying create magento module. module has 2 config options in admin menu .i.e, "enabled" , "api_key". want check , throw , error "api_key" option if "enabled" options set 1. using backend module unable "enabled" option passed server when updating. getstoreconig returns value in database not current one. regards, vijay

you need create observer on event admin_system_config_changed_section_{yoursection}, stated answer:

https://magento.stackexchange.com/a/3014 (credit fabian blechschmidt)


Comments

Popular posts from this blog

blackberry 10 - how to add multiple markers on the google map just by url? -

php - guestbook returning database data to flash -

delphi - Dynamic file type icon -