1
RImark
Can't get my banners working
  • 2005/10/17 23:29

  • RImark

  • Just popping in

  • Posts: 24

  • Since: 2004/10/20


1. BANNERS @ TOP NOT WORKING
I vauguely remember there is a trick to this, something to do with caching but I can't get my banners working.

They are turned on in the Preferences Page

I have three banners active

There is nothing at all appearing in the header of the page.

What am I missing?


2. SIDE BLOCK BANNERS
How can I display rotating display of banners in a side block as well as at the top of the page?


Thanks!

RImark

2
jdseymour
Re: Can't get my banners working

For your banners to work, make sure you have something like the following in your theme.html:

<td id="xoopsbanner"><{$xoops_banner}></td>

HTH.

3
JMorris
Re: Can't get my banners working
  • 2005/10/18 4:12

  • JMorris

  • XOOPS is my life!

  • Posts: 2722

  • Since: 2004/4/11


Quote:
2. SIDE BLOCK BANNERS
How can I display rotating display of banners in a side block as well as at the top of the page?


You won't want to mix horizontal (ex: 468x60) banners with verticle banners (ex: 120x600), but if you only want to display verticle banners on your site, you can use the following code in a custom block.

le="color: #000000"><?php echo ('<center>'); global $xoopsConfig; if ($xoopsConfig['banners'] == 1) { //Display Banner echo (xoops_getbanner()); } echo ('</center>');


Hope this helps.

James
Insanity can be defined as "doing the same thing over and over and expecting different results."

Stupidity is not a crime. Therefore, you are free to go.

Who's Online

563 user(s) are online (489 user(s) are browsing Support Forums)


Members: 0


Guests: 563


more...

Donat-O-Meter

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

Latest GitHub Commits