5098 Posts in 1518 Topics by 1115 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 809 Views |
-
How to retrieve value from SiteConfig

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? -
Re: How to retrieve value from SiteConfig

8 December 2010 at 4:19am Last edited: 8 December 2010 4:20am
You could use:
$config = SiteConfig::current_site_config();
// do something here, eg. $config->HREmail;
| 809 Views | ||
|
Page:
1
|
Go to Top |


