Uutiset:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu
Advertisement:

Remove Header

Aloittaja KIMBAL, toukokuu 24, 2011, 08:22:06 AP

« edellinen - seuraava »

KIMBAL

Could i ask someone to edit my index.template.php to remove the header of my new forum, I would like everything above the menu tabs to be removed thanks in advance

mashby

Could you let me know which theme this file is from as well as a link to your site? Makes it a little easier to remove stuff that way. :)
Always be a little kinder than necessary.
- James M. Barrie

KIMBAL

http://filepiggy.me/     default 2.0 RC5  I just  had to reinstall so please use this Index.template.php

mashby

Give this one a whirl. Let us know if this is the desired outcome. :)
Always be a little kinder than necessary.
- James M. Barrie

KIMBAL

Thats just what i was looking for thanks so much for your time Mashby its appreciate  ;D

mashby

Sweet, I'll mark this as solved.
Always be a little kinder than necessary.
- James M. Barrie

netshaq

This works great, do you guys have the same template for SMF 1.1.13

thanks

Sir Osis of Liver

For 1.1.13 default theme, in index.template.php -

Find this:



echo '
<div class="tborder" ', $context['browser']['needs_size_fix'] && !$context['browser']['is_ie6'] ? ' style="width: 100%;"' : '', '>



Change it to this:



echo '
<!--div class="tborder" ', $context['browser']['needs_size_fix'] && !$context['browser']['is_ie6'] ? ' style="width: 100%;"' : '', '>





Find this:



</table>
</div>';


// Show the menu here, according to the menu sub template.
template_menu();



Change it to this:



</table>
</div-->';


// Show the menu here, according to the menu sub template.
template_menu();



You can delete the commented text, but make sure it's doing what you want.

When in Emor, do as the Snamors.
                              - D. Lister

netshaq


Advertisement: