Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Config override for 'Name of your site' in control panel

In the control panel, there's a setting in Admin > General Configuration for 'Name of your site.'

The value entered here appears in the top right hand corner of the control panel.

Is there a config override to set this value, to save having to type it via the control panel?

Thanks,

Stephen

like image 888
Stephen Avatar asked Nov 07 '12 15:11

Stephen


3 Answers

$config['site_label'] = 'My Site Name';

In my experience, while this override indeed exists, it is not honored in the control panel. Basically, whatever is in the config file gets overridden by what's in the control panel. Not the way it is supposed to be but ...

See this bug report for a workaround and detailed explanations.

like image 155
Jérôme Coupé Avatar answered Oct 06 '22 13:10

Jérôme Coupé


There is a bug that prevents this from working.

However, there is also an add-on which fixes it, if you really need the functionality: http://devot-ee.com/add-ons/override_site_name

like image 38
Jeremy Gimbel Avatar answered Oct 06 '22 14:10

Jeremy Gimbel


Try $config['site_label'] = 'My Site Name';

like image 43
foamcow Avatar answered Oct 06 '22 15:10

foamcow