1
Chebizza
System Banner
  • 2010/12/12 1:19

  • Chebizza

  • Just popping in

  • Posts: 13

  • Since: 2009/6/13


I have a 2.5.0 Xoops and the theme xt-tri2 and I want to take away the search in the header and instead have the system banners shown there. Like in default theme that comes with the xoops.
Is this possible to do?
How do I get the banner there?

As you can see inside the red marking the search is on the right side, there is were I want to have my system banner rotator.

Resized Image

2
Chebizza
Re: System Banner
  • 2010/12/12 1:25

  • Chebizza

  • Just popping in

  • Posts: 13

  • Since: 2009/6/13


You can see mysite here:http://www.gamingworld.se

3
option
Re: System Banner
  • 2010/12/12 4:21

  • option

  • Just popping in

  • Posts: 50

  • Since: 2006/5/24


claro que puedes:
<div><{$xoops_banner}></div>
in you -->themes/you_theme/theme.html

4
ghia
Re: System Banner
  • 2010/12/12 10:21

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


You have to compare the theme.html files and replace one part with the other.

5
Chebizza
Re: System Banner
  • 2010/12/12 12:34

  • Chebizza

  • Just popping in

  • Posts: 13

  • Since: 2009/6/13


Thank you Ghia

I replaced the code search with this:

<{if $xoops_banner and $xoops_banner != '&nbsp;'}>
                <{
includeq file="$theme_name/xobanner_commercial.html"}>
            <{else}>
                <{
includeq file="$theme_name/xobanner.html"}>
            <{/if}>


and I also had to add 2 files in My_theme/xotpl -
xobanner.html
andxobanner_commercial.html

Now it looks like this:

Resized Image


How can I move it to the left and make a </ br>?

6
ghia
Re: System Banner
  • 2010/12/12 16:22

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


Probably some CSS instructions are missing for the banners as eg float:right;

Login

Who's Online

132 user(s) are online (81 user(s) are browsing Support Forums)


Members: 0


Guests: 132


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