Advertisement:

Author Topic: Adding on banners  (Read 3103 times)

Offline vegas tennis club

  • Semi-Newbie
  • *
  • Posts: 29
Adding on banners
« on: August 28, 2009, 04:01:01 AM »
hi, i was wondering how i would add my own banner up at the top of my forum? 

thanks for any help!

Offline shadow82x

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 11,278
  • Gender: Male
    • cmblaber on LinkedIn
Re: Adding on banners
« Reply #1 on: August 28, 2009, 02:27:39 PM »
Yes its possible, depending on your theme you can add a code like:
Code: [Select]
echo '
<img src="http://bannerurl.com/image.png" alt="banner" border="0" />';
In your themes Index.template.php
Colin B
Former Spammer, Customize, & Support Team Member

Offline vegas tennis club

  • Semi-Newbie
  • *
  • Posts: 29
Re: Adding on banners
« Reply #2 on: August 30, 2009, 04:24:12 AM »
i'm sorry, i'm a newb and that was a bit confusing...  can you be a little bit more "step by step?"  sorry!  but thank you for your assistance!!!

Offline shadow82x

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 11,278
  • Gender: Male
    • cmblaber on LinkedIn
Re: Adding on banners
« Reply #3 on: August 30, 2009, 01:08:17 PM »
OK, so you want to add a banner at the top of your forum right?

Assuming your using the default theme, in ./Themes/default/index.template.php
Code: (Find) [Select]
// Show the menu here, according to the menu sub template.
template_menu();
Code: (Add After) [Select]
echo '
<img src="http://bannerurl.com/image.png" alt="banner" border="0" />';

Than please modify the image URL directly in that code.
« Last Edit: August 30, 2009, 01:39:49 PM by Shadow82x »
Colin B
Former Spammer, Customize, & Support Team Member