How do expanded Always leave the forum header?

Started by Tarsso, October 11, 2014, 08:57:38 AM

Previous topic - Next topic

Tarsso

Hello, I would always leave the forum header expanded.





I know to remove the "arrow" to expand / collapse I would have to remove the index.template.php following statement:
// the upshrink image, right-floated
echo '
                <img id="upshrink" src="', $settings['images_url'], '/upshrink.png" alt="*" title="', $txt['upshrink_description'], '" style="display: none;" />';
echo '
', empty($settings['site_slogan']) ? '<img id="smflogo" src="' . $settings['images_url'] . '/smflogo.png" alt="Simple Machines Forum" title="Simple Machines Forum" />' : '<div id="siteslogan" class="floatright">' . $settings['site_slogan'] . '</div>', '
</div>
<div id="upper_section" class="middletext"', empty($options['collapse_header']) ? '' : ' style="display: none;"', '>
<div class="user">';


Removing this:

echo '
                <img id="upshrink" src="', $settings['images_url'], '/upshrink.png" alt="*" title="', $txt['upshrink_description'], '" style="display: none;" />';


The problem this way is that there will be the arrow, but with no will be expanded by default.

I request help, thanks

Advertisement: