Getting a configuration object :
$config =& JFactory::getConfig();Now getting the Value :
you need to get 'fromname'.It is present in the file "JoomlaBase/configuration.php".You can get 'fromname' by getValue() function as shown below.$config->getValue( 'fromname' );

No comments:
Post a Comment
Thanks....