Search found 2 matches

by bpatient
Wed Feb 27, 2008 11:21 am
Forum: Submit Your Suggested Tips & Tricks Here
Topic: mosConfig_ ... and other parameters
Replies: 1
Views: 1355

Re: mosConfig_ ... and other parameters

It appears that I've been taking the long way for the user configuration parameters. An even easier way is this: $usersConfig = &JComponentHelper::getParams( 'com_users' ); $mosConfig_allowUserRegistration = $usersConfig->get( 'allowUserRegistration' ); $mosConfig_useractivation = $usersConfig->...
by bpatient
Tue Feb 26, 2008 1:31 pm
Forum: Submit Your Suggested Tips & Tricks Here
Topic: mosConfig_ ... and other parameters
Replies: 1
Views: 1355

mosConfig_ ... and other parameters

Most of these info are scattered around the forum, apart from the last bit for user registration. That part took me a while to figure it out. $mosConfig_live_site = JURI::base(true); Accessing configuration.php $mosConfig_sitename = $mainframe->getCfg('sitename'); $mosConfig_mailfrom = $mainframe->g...