set header upshrink default = up

Started by carpman, May 27, 2005, 07:23:39 AM

Previous topic - Next topic

carpman

Hello, how can i set the upshrink header setting to be default up?

I do not wish to use this feature so have removed icon and JS from index template but need it to default to up for all users!

cheers

[Unknown]

There are more than a couple ways, one would be modifying the template... find this:

// We'll have to use the cookie to remember the header...
if ($context['user']['is_guest'])
$options['collapse_header'] = !empty($_COOKIE['upshrink']);


Replace:

$options['collapse_header'] = true;

If you always want it collapsed.

-[Unknown]

Advertisement: