1
Chainsaw
? = how to put advert banner below wf-Channel start page?
  • 2004/3/5 22:05

  • Chainsaw

  • Quite a regular

  • Posts: 304

  • Since: 2003/9/28


Hi there

I wanted to place the XOOPS advert banners in the center center block but not at the top.

My home page (http://www.albanycc.org.nz) starts up on WF-Channel where I have a Welcome message. I want to place the advert banner below the welcome message.

I created a php block, using the following code, and set it Center Center block with weight of 100.

Quote:

echo xoops_getbanner();


But the banner goes to the top of the center-center block above my Welcome Message.

I've tried looking at the theme.html file but the way the blocks are arranged seem to be done in XOOPS not in the theme.html file.

I suppose the other method would be to get the php block command to load up wf-Channel's "http://www.albanycc.org.nz/modules/wfchannel/index.php?pagenum=1" where the welcome message is. Then I can set this php block to 0 and the advert banner to 100.

Any help will be greatly appreaciated.


2
ladon
Re: ? = how to put advert banner below wf-Channel start page?
  • 2004/3/6 2:06

  • ladon

  • Quite a regular

  • Posts: 284

  • Since: 2003/10/31


Hi, I installed wfchannel to take al look and figured out the following:

note: this way you install the banner within wfchannel defaultpage and there's no need for extra blocks!

Since you have the page where you want the banner to appear as your wfchannel default page, you can use some of the smarty code used in wfchannel the reach your goal. I tried the following and it seemed to work:

(for this you have to be using a template other then the default)
- go to templates
- go to wfchannel
- click on modify wfchannel_index.html
- insert the following code at the bottom:

<{if $article.isdefaultpage == 1}><br>
<
center><{$xoops_banner}></center>
<{/if}>

This way it will only show the banner on the default page! I hope this will work for you. Good luck with your site

3
Chainsaw
Re: ? = how to put advert banner below wf-Channel start page?
  • 2004/3/6 19:22

  • Chainsaw

  • Quite a regular

  • Posts: 304

  • Since: 2003/9/28


Thank you thank you thank you.

It worked exactly the way I wanted it to be.

Bless ya


4
Bleekk
Re: ? = how to put advert banner below wf-Channel start page?
  • 2004/3/6 20:02

  • Bleekk

  • Theme Designer

  • Posts: 940

  • Since: 2002/12/14


how do you import this pulldown menu on the top

5
ladon
Re: ? = how to put advert banner below wf-Channel start page?
  • 2004/3/6 20:51

  • ladon

  • Quite a regular

  • Posts: 284

  • Since: 2003/10/31


He's using the tigra menu. It's not a module. At least not yet I believe. I do know someone is working on it. You can download the menu here. Good luck

Login

Who's Online

151 user(s) are online (116 user(s) are browsing Support Forums)


Members: 0


Guests: 151


more...

Donat-O-Meter

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

Latest GitHub Commits