If I create a variable in config_override:
$sugar_config['variablename'] = 'Y';
How can I access this variable in the _headerModuleList.tpl file?
{if $sugar_config['variablename'] == 'Y'}
I have managed it by tweaking SugarView.php
$ss->assign("variablename", $sugar_config['variablename']);
but I am hoping that there is a way to do it from within the Custom folder.
I think here is your answer:
1 Like