cancel
Showing results for 
Search instead for 
Did you mean: 

use getStoreConfig in _afterSave()

SOLVED

use getStoreConfig in _afterSave()

Hi, I have some trouble with backend implementation for a field.

 

in System>Configuration I create a field, in backend I use :

 

_afterSave() , but when i try to check information in the field with

getStoreConfig("mysection/mygroup/myfield").

 

I get back the previous value and not the new one.


I've checked on google but can't find how to get the new values ...
any one have a idee or solution ?

 

thanks for your help

1 REPLY

Re: use getStoreConfig in _afterSave()

Find solution , value are here :

 

$this->_data['groups']['nameOfTheGroup']['fields']['NameofTheField']['value'];