1
mlw4428
Help!
  • 2006/1/4 22:23

  • mlw4428

  • Just popping in

  • Posts: 40

  • Since: 2006/1/2 2


I'm using the theme fydarkblack and it doesn't display any banners. How can I make it display that banner (i'm assuming you have to add code to the css stylesheet). I'm using the newest version of Xoops. I don't know any web programming languages so if it's possible please include the code to use. Thanks.

2
FruityB
Re: Help!
  • 2006/1/4 22:31

  • FruityB

  • Not too shy to talk

  • Posts: 161

  • Since: 2005/5/19


mlw4428, place this code Quote:
<{$xoops_banner}>
into the theme.html file.
(whereever you want the banners to showup)


remember to set the banners up in admin etc
http://www.fruitybids.2babe.com
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
My xoops server is focked! using this for now!

3
mlw4428
Re: Help!
  • 2006/1/4 22:42

  • mlw4428

  • Just popping in

  • Posts: 40

  • Since: 2006/1/2 2


Quote:

FruityB wrote:
mlw4428, place this code Quote:
<{$xoops_banner}>
into the theme.html file.
(whereever you want the banners to showup)


remember to set the banners up in admin etc


This is my theme file:

DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<
html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<{$xoops_langcode}>" lang="<{$xoops_langcode}>">
<
head>
<
meta http-equiv="content-type" content="text/html; charset=<{$xoops_charset}>" />
<
meta http-equiv="content-language" content="<{$xoops_langcode}>" />
<
meta name="robots" content="<{$xoops_meta_robots}>" />
<
meta name="keywords" content="<{$xoops_meta_keywords}>" />
<
meta name="description" content="<{$xoops_meta_description}>" />
<
meta name="rating" content="<{$xoops_meta_rating}>" />
<
meta name="author" content="<{$xoops_meta_author}>" />
<
meta name="copyright" content="<{$xoops_meta_copyright}>" />
<
meta name="generator" content="XOOPS" />
<
title><{$xoops_sitename}> :: <{$xoops_pagetitle}>title>
<
link href="<{$xoops_url}>/favicon.ico" rel="SHORTCUT ICON" />
<
link rel="stylesheet" type="text/css" media="all" href="<{$xoops_url}>/xoops.css" />
<
link rel="stylesheet" type="text/css" media="all" href="<{$xoops_themecss}>" />
<
script type="text/javascript">

script>
head>
<
body>
<
table width="100%" cellspacing="0" cellpadding="0" border="0">
<
tr>
<
td valign="top">
<
table class="topbkg" width="100%" cellspacing="0" cellpadding="0" border="0">
<
tr>
<
td><a href="<{$xoops_url}>/"><img src="<{$xoops_url}>/themes/<{$xoops_theme}>/images/logo.gif" border="0" alt="<{$xoops_sitename}>" title="<{$xoops_sitename}>" />a>td>
<
td align="center" width="100%"><{$xoops_banner}>td>
tr>
table>
<
table width="100%" border="0" cellspacing="0" cellpadding="2">
<
tr>
<
td align="center" class="topnav">&nbsp;<a href="<{$xoops_url}>/"><{$xoops_sitename}>a>&nbsp; &#8226; 
<a href="<{$xoops_url}>/modules/news/">Newsa>&nbsp; &#8226; 
<a href="<{$xoops_url}>/modules/newbb/">Foruma>
tr>
table>

  <
table cellspacing="0">
    <
tr>
      <
td id="leftcolumn" valign="top">



<{foreach 
item=block from=$xoops_lblocks}>
<
div class="blockTitle"><img src="<{$xoops_url}>/themes/<{$xoops_theme}>/images/point_01.gif" width="13" height="13" align="middle" border="0" alt="" hspace="3" /><{$block.title}>div>
<
div class="blockContent"><{$block.content}>div>
<{/foreach}>



      td>

      <
td id="centercolumn" valign="top">



<{if 
$xoops_showcblock == 1}>
        <
table cellspacing="0">
          <
tr>
            <
td id="centerCcolumn" colspan="2">



            <{foreach 
item=block from=$xoops_ccblocks}>
<
div style="padding: 5px;">
  <
fieldset>
    <
legend class="blockTitle"><{$block.title}>legend>
    <
div class="blockContent"><{$block.content}>div>
  fieldset>
div>
            <{/foreach}>



            td>
          tr>
          <
tr>
            <
td id="centerLcolumn">



<{foreach 
item=block from=$xoops_clblocks}>
<
div style="padding: 0px 0px 0px 8px;">
  <
fieldset>
    <
legend class="blockTitle"><{$block.title}>legend>
    <
div class="blockContent"><{$block.content}>div>
  fieldset>
div>
<{/foreach}>



            td><td id="centerRcolumn">



<{foreach 
item=block from=$xoops_crblocks}>
<
div style="padding: 0px 5px 0px 0px;">
  <
fieldset>
    <
legend class="blockTitle"><{$block.title}>legend>
    <
div class="blockContent"><{$block.content}>div>
  fieldset>
div>
<{/foreach}>



            td>
          tr>
        table>
<{/if}>



        <
div id="content">
          <{
$xoops_contents}>
        div>
      td>
<{if 
$xoops_showrblock == 1}>

     <
td id="rightcolumn" valign="top">



<{foreach 
item=block from=$xoops_rblocks}>
<
div class="blockTitle"><img src="<{$xoops_url}>/themes/<{$xoops_theme}>/images/point_01.gif" width="13" height="13" align="middle" border="0" alt="" hspace="3" /><{$block.title}>div>
<
div class="blockContent"><{$block.content}>div>
<{/foreach}>



<{/if}>
      td>
    tr>
  table>
<
table width="100%" border="0" cellspacing="0" cellpadding="2">
<
tr><td align="center" class="topnav">
<
div class="gensmall"><{$xoops_footer}> :: <a href="http://theme4u.simnext.com/" target="_blank">Theme4ua>div>
td>tr>table>
body>
html>


Where would I put it? A weird quirk is that it shows up when you're logging on/out.

4
FruityB
Re: Help!
  • 2006/1/4 22:56

  • FruityB

  • Not too shy to talk

  • Posts: 161

  • Since: 2005/5/19


It's already there dude.. it should show up next to your logo at the top of the site.
Quote:
<{$xoops_sitename}>
<{$xoops_banner}>


As for the only showing up when you log in/out??? The only thing I can think of is the settings in the Group section? maybe you can modify it so that all can see?
http://www.fruitybids.2babe.com
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
My xoops server is focked! using this for now!

5
mlw4428
Re: Help!
  • 2006/1/4 23:42

  • mlw4428

  • Just popping in

  • Posts: 40

  • Since: 2006/1/2 2


No, because while I can't see it on the frontpage I can see it in administration section and during those transitional pages (the ones that say something like "please click here if the site doesn't automatically refresh").

Login

Who's Online

845 user(s) are online (68 user(s) are browsing Support Forums)


Members: 0


Guests: 845


more...

Donat-O-Meter

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

Latest GitHub Commits