1
macmend
Banners
  • 2005/4/21 21:53

  • macmend

  • Quite a regular

  • Posts: 285

  • Since: 2004/2/27


I cannot get banners to display on my site, and I thought I might be able to get them to display in a block, could anyone tell me what i wouold need to put ina block to make the XOOPS banners display.

2
Bassman
Re: Banners
  • 2005/4/21 22:39

  • Bassman

  • Friend of XOOPS

  • Posts: 1272

  • Since: 2003/5/23


No, your theme doesn't have the banner code in it ;)
However, if you want a banner directly below the header, in between the left and right columns, look in theme.html for
Quote:




and add

Quote:

<{$xoops_banner}>



I believe the same will work in a custom block, if you select html as the block type.

3
jlm69
Re: Banners
  • 2005/4/22 0:30

  • jlm69

  • Module Developer

  • Posts: 719

  • Since: 2002/7/19


If it is in a custom block it needs to be

echo xoops_getbanner();

and set the block type to php

4
macmend
Re: Banners
  • 2005/4/22 10:13

  • macmend

  • Quite a regular

  • Posts: 285

  • Since: 2004/2/27


I had laready tried editing the theme in different ways and no success, I have tried both these suggestions but cannot get the banners to appear!

5
Bassman
Re: Banners
  • 2005/4/22 12:35

  • Bassman

  • Friend of XOOPS

  • Posts: 1272

  • Since: 2003/5/23


Do you have banners activated?

Login

Who's Online

440 user(s) are online (89 user(s) are browsing Support Forums)


Members: 0


Guests: 440


more...

Donat-O-Meter

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

Latest GitHub Commits