This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.
Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba
3 Posts 1396 Views
8 December 2010 at 2:38am
I have extended SiteConfig and add new field HREmail.
How to retrieve value from this field in code, not in template?
8 December 2010 at 4:19am
Edited: 08/12/2010 4:20am
You could use:
$config = SiteConfig::current_site_config();
// do something here, eg. $config->HREmail;
8 December 2010 at 5:23am