1
AZMATT
Add Banners to theme?
  • 2004/11/12 7:18

  • AZMATT

  • Not too shy to talk

  • Posts: 124

  • Since: 2004/11/12


Hi i'm using a them for my site at www.azlancers.net and the banners arent available on the header. How do i make them available? I have banners in the banners section already and its activated in the admin preferences. How can i add it to the theme? Thanks, Matt

2
smdcom
Re: Add Banners to theme?

simply add this smarty code <{$xoops_banner}> in your theme.html wherever you want it to be.


3
JasonMR
Re: Add Banners to theme?
  • 2004/11/12 7:27

  • JasonMR

  • Just can't stay away

  • Posts: 655

  • Since: 2004/6/21


In an editor open the following file
XOOPS_ROOTE/themes/YOUR_THEME/theme.html

Look for the following code:

<table class="head_table" cellpadding="0" cellspacing="0">
  <
tr
    <
td class="head_logo"><a href="http://azlancers.net/"><img name="logo" src="http://azlancers.net/themes/imago06c/images/logo.gif" width="222" height="79" border="0" alt="IMAGO:THEMES"></a></td>
    <
td><div align="right"><img name="head_r1_c5" src="http://azlancers.net/themes/imago06c/images/head_left.gif" width="364" height="79" border="0" alt=""></div></td>
  </
tr>

  <
tr
    <
td colspan="2" class="head_bar"></td>
  </
tr>
</
table>


And replace with this:

<table class="head_table" cellpadding="0" cellspacing="0">
  <
tr
    <
td class="head_logo">
          <
a href="http://azlancers.net/">
              <
img name="logo" src="http://azlancers.net/themes/imago06c/images/logo.gif" width="222" height="79" border="0" alt="IMAGO:THEMES" />
            </
a>
        </
td>
        <
td>
          <{
$xoops_banner}>
        </
td>
    <
td>
          <
div align="right">
              <
img name="head_r1_c5" src="http://azlancers.net/themes/imago06c/images/head_left.gif" width="364" height="79" border="0" alt="" />
            </
div>
        </
td>
  </
tr>
  <
tr
    <
td colspan="3" class="head_bar"></td>
  </
tr>
</
table>


That should do the trick....

update...
oops, was a little slow there...

4
AZMATT
Re: Add Banners to theme?
  • 2004/11/12 7:35

  • AZMATT

  • Not too shy to talk

  • Posts: 124

  • Since: 2004/11/12


Didn't work =/

5
smdcom
Re: Add Banners to theme?

go to system admin -> preferences -> edit general settings -> Update module template = Yes

have you done that?

6
smdcom
Re: Add Banners to theme?

lol. you edit your previous post.. i think you do perfectly in the previous post...

7
AZMATT
Re: Add Banners to theme?
  • 2004/11/12 7:42

  • AZMATT

  • Not too shy to talk

  • Posts: 124

  • Since: 2004/11/12


K that worked, but now my header is all messed up, how do i move the banner over to the right abit, and how do i move the pic that's on the left back over to the left? heh, thanks again

8
AZMATT
Re: Add Banners to theme?
  • 2004/11/12 7:43

  • AZMATT

  • Not too shy to talk

  • Posts: 124

  • Since: 2004/11/12


*edit*

9
JasonMR
Re: Add Banners to theme?
  • 2004/11/12 7:46

  • JasonMR

  • Just can't stay away

  • Posts: 655

  • Since: 2004/6/21


Sorry for that, I forgot to remove the width with the right logo. Look for width="364" and just remove it, that should work....

10
AZMATT
Re: Add Banners to theme?
  • 2004/11/12 7:46

  • AZMATT

  • Not too shy to talk

  • Posts: 124

  • Since: 2004/11/12


k

Login

Who's Online

186 user(s) are online (105 user(s) are browsing Support Forums)


Members: 0


Guests: 186


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Mar 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits