Open sreichel opened 6 years ago
Sounds like a good idea to me
what does "you have to add permissions for all variables manually" mean? I have a problem using the variables from the imprint in blocks.
{{config path='general/imprint/web'}}
The field is empty. Where do I have to set which permission? I have a M1 1.9.4.x (I tested different 1.9.4). The result is always the same. I copy the content of src into the shop, clear cache, log out, log in, MageSetup -> Variables of imprint can not be output. Is this a bug in 1.9.4.x? The installation is new and empty, only Firegento MageSetup
$var = Mage::getModel('admin/variable');
$var->setData(['variable_name' => 'general/imprint/web', 'is_allowed' => 1]);
$var->save();
Or if you want to do it manually:
System > Permissions > Variable > Create new
Name: general/imprint/web Is Allowed: yes
If you want to use imprint config setting in CMS pages/blocks, you have to add permissions for all variables manually ...
Should we whitelist these variables via setup?