1
dave_ca
Banner management
  • 2008/7/2 20:52

  • dave_ca

  • Just popping in

  • Posts: 11

  • Since: 2008/6/29


Using XOOPS 2.0.18.1 there is a module for banners, yet I can't find where it will display them.
I'm also using geometric_red, as opposed to the default theme.

The <{$xoops_banner}> tag does not appear to be in the theme.html file of geometric_red.

Can I put it in? and where would I put it?

Thanks!

2
ghia
Re: Banner management
  • 2008/7/3 20:06

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


Quote:
I'm also using geometric_red, as opposed to the default theme.

The <{$xoops_banner}> tag does not appear to be in the theme.html file of geometric_red.

That's odd.
Here it's included:

          <
br /> <br />          td>
        <
td id="centercolumn"
          
          <
table width="100%"  cellspacing="0" cellpadding="0">
            <
tr>
              <
td class="banner"><{$xoops_banner}>td>
            tr>
          table>
          <{if 
$xoops_showcblock == 1}> <table class="cbl" cellspacing="0">
            <
tr
              <
td id="centerCcolumn" colspan="2"
                

and functioning.

3
dave_ca
Re: Banner management
  • 2008/7/3 20:23

  • dave_ca

  • Just popping in

  • Posts: 11

  • Since: 2008/6/29


This is what mine shows:









<{if $xoops_showcblock == 1}>










<{foreach item=block from=$xoops_ccblocks}> <{include file="$xoops_theme/theme_blockcenter.html"}> <{/foreach}>



<{foreach item=block from=$xoops_clblocks}> <{include file="$xoops_theme/theme_blockcenter.html"}> <{/foreach}>



<{foreach item=block from=$xoops_crblocks}> <{include file="$xoops_theme/theme_blockcenter.html"}> <{/foreach}>


4
ghia
Re: Banner management
  • 2008/7/3 21:48

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


You can use my snippet to add the banner.
Copy and insert the five lines after the line with "Display center blocks if any".
Maybe it's an older version.

5
dave_ca
Re: Banner management
  • 2008/7/3 22:35

  • dave_ca

  • Just popping in

  • Posts: 11

  • Since: 2008/6/29


Thanks, added your snippet, cleared template_c.

Banner now functional!

Thanks again

6
limecity
Re: Banner management
  • 2008/7/8 18:26

  • limecity

  • Friend of XOOPS

  • Posts: 1602

  • Since: 2003/7/6 0


is there anyway to set <{$xoops_banner}> as a block?

*edit*
oops nvm. think i may have found something interesting
http://www.stefanosilvestrini.com/stefano-silvestrini/xoops-book/xoops-banners-system.php?easiestml_lang=en
hhttp://www.mounthiking.com
all your hiking gears and gadgets


Login

Who's Online

304 user(s) are online (227 user(s) are browsing Support Forums)


Members: 0


Guests: 304


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