1
astaldaran
banner block?
  • 2004/12/1 13:27

  • astaldaran

  • Just popping in

  • Posts: 73

  • Since: 2004/5/9 1


I was thinking about getting rid of the banner from my theme and just putting it in a block so I could move it around whenever i wanted. However when i tried to put the code

{$xoops_banner}

the banner didn't show up. I tried every format, php, etc. I also tried the example in the blocks section for your site url but it doesn't work. How do you get this to work in a block?

2
irmtfan
Re: banner block?
  • 2004/12/1 13:36

  • irmtfan

  • Module Developer

  • Posts: 3419

  • Since: 2003/12/7



3
astaldaran
Re: banner block?
  • 2004/12/1 13:40

  • astaldaran

  • Just popping in

  • Posts: 73

  • Since: 2004/5/9 1


thank you, i checked the faq but forgot to search the forum.

4
astaldaran
Re: banner block?
  • 2004/12/1 14:15

  • astaldaran

  • Just popping in

  • Posts: 73

  • Since: 2004/5/9 1


Here is a question, and I remembered to search if anyone else tried it but didin't find it, can I use XOOPS adds outside of xoops?

I am hosting a site for someone that is very popular among the community my site is in and so I am wanting to add a footer via the server admin interface, anyway what code do I need to get my XOOPS adds and display them? Can I simply import the common.php?

5
irmtfan
Re: banner block?
  • 2004/12/1 14:26

  • irmtfan

  • Module Developer

  • Posts: 3419

  • Since: 2003/12/7


Quote:
can I use XOOPS adds outside of xoops?

use advertisement XOOPS banner for your business?
i dont know but everything in the package is under GNU/GPL license so you can use banners ,...

Quote:
I am wanting to add a footer via the server admin interface

for put your link at footer must do it at admin --> preferences --> meta tags and footer
you want another way?

6
astaldaran
Re: banner block?
  • 2004/12/1 14:33

  • astaldaran

  • Just popping in

  • Posts: 73

  • Since: 2004/5/9 1


I mean can i show "{$xoops_banner}" outside of xoops. XOOPS is still in control of it and such, I just want to beable to display it in a non-xoops part of my site.

7
irmtfan
Re: banner block?
  • 2004/12/1 14:48

  • irmtfan

  • Module Developer

  • Posts: 3419

  • Since: 2003/12/7


no you cant use XOOPS smarty vaiables outside of site

8
astaldaran
Re: banner block?
  • 2004/12/1 15:11

  • astaldaran

  • Just popping in

  • Posts: 73

  • Since: 2004/5/9 1


ok, well I guess I'll just have to write some code to act like XOOPS and grab the adds. Does not sound to hard.

9
astaldaran
Re: banner block?
  • 2004/12/1 15:50

  • astaldaran

  • Just popping in

  • Posts: 73

  • Since: 2004/5/9 1


I figured I could jsut import the showbanner or the getbanner functions and use them to dispaly the banner. However I can't, even though i don't get any errors, I think I am missing a step somewhere.

I cannot figure out how XOOPS globabl variables get defined in a module, isn't from common.php or? I think if I knew that.. oh well I will keep looking around.

Login

Who's Online

239 user(s) are online (170 user(s) are browsing Support Forums)


Members: 0


Guests: 239


more...

Donat-O-Meter

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

Latest GitHub Commits