On Mon, 2009-07-27 at 09:01 +0530, Gaurav Wasan wrote:
> Hi All,
>  
> Is this the correct way to configure background color 
> $config['site']['design'] = array( 'backgroundcolor' => '#FFFFFF', );
> 
> or is 
> $config['site']['design']['backgroundcolor'] = '#FFFFFF'; a correct
> way of changing background color for my laconica instance (my laconica
> website) ?
>  I tried both, but it does'nt work!

The context of that configuration is that it sets the default design
values for the site. For example, if you have created a theme that has
something like body { background-color:#FFFFFF } in the stylesheet, then
you should put $config['site']['design']['backgroundcolor'] = '#FFFFFF';
in config.php. Next time the user clicks on "Use defaults" on the
Account->Design page, it will allow the user to reuse site's default
values.

Here is an example that uses identica theme's values:

$config['site']['design']['backgroundcolor'] = '#F0F2F5';
$config['site']['design']['contentcolor'] = '#FFFFFF';
$config['site']['design']['sidebarcolor'] = '#CEE1E9';
$config['site']['design']['textcolor'] = '#000000';
$config['site']['design']['linkcolor'] = '#002E6E';
$config['site']['design']['backgroundimage'] = null;
$config['site']['design']['disposition'] = 1;

We'll add this to config.php.sample.

-Sarven


_______________________________________________
Laconica-dev mailing list
[email protected]
http://mail.laconi.ca/mailman/listinfo/laconica-dev

Reply via email to