11
2newbie
Re: logo.gif... Can someone tell me
  • 2005/5/11 11:58

  • 2newbie

  • Just popping in

  • Posts: 95

  • Since: 2005/4/12


whatever template you "tried to modify" you need to remove this line from it.

<td id="headerlogo"><a href="http://www.stop-n-crop.com/Forums/"><img src="http://www.stop-n-crop.com/Forums/themes/default/logo.gif" width="150" height="80" alt="" /></a></td>


that will remove that "logo with the x in it.

then, system admin>banners and set yourself up at a client. you can then add your banner there. simply upload it from your computer.

check out my site. look at the top right side of homepage. this is where i have included my own banner. Is this what you are attempting ? http://www.inlandempirecommunity.com

12
JMorris
Re: logo.gif... Can someone tell me
  • 2005/5/11 12:00

  • JMorris

  • XOOPS is my life!

  • Posts: 2722

  • Since: 2004/4/11


When you say banner, I'm assuming you mean the logo, since that is what you've added and what is causing the little red "x". If that is the case, you added your logo in the wrong place. You added it above the head tags.

Remove the line you added at the beginning of the file...

<image src="images/sc10.jpg">


Look for the following code:

<td id="headerlogo"><a href="http://www.stop-n-crop.com/Forums/"><img src="http://www.stop-n-crop.com/Forums/themes/default/logo.gif" width="150" height="80" alt="" /></a></td>


Replace that code with this code:

<td id="headerlogo"><a href="http://www.stop-n-crop.com/Forums/"><img src="http://www.stop-n-crop.com/Forums/images/sc10.jpg" alt="" /></a></td>


Hope this helps.

James

---------------------------------------------
Free Web Design Tutorials @ W3Schools!

13
Holly1
Re: logo.gif... Can someone tell me
  • 2005/5/11 12:03

  • Holly1

  • Not too shy to talk

  • Posts: 129

  • Since: 2005/5/4 1


I Created my logo

Trying to remove the image that is there with the red x

IF I remove the logo I created and put up there the missing image with the red X isnt there at all.. but when I put my OWN Logo back its there.

The way I added my image..

I uploaded my image to the images folder. In the Header.php of the XOOPS directory.. First images folder.

Quote:
<image src="images/sc10.jpg">


<?php
// $Id: header.php,v 1.42.4.5 2005/03/29 15:58:11 mithyt2 Exp $
// ------------------------------------------------------------------------ //
// XOOPS - PHP Content Management System //
// Copyright (c) 2000 XOOPS.org //
// <https://xoops.org/> //
// ------------------------------------------------------------------------ //
// This program is free software; you can redistribute it and/or modify //
// it under the terms of the GNU General Public License as published by


Before all the php stuff..


I removed the banner info from my theme/style.css

Quote:


/*

td#headerbanner {width: 100%; background-color: #2F5376; vertical-align: middle; text-align:center;}
td#headerbar {border-bottom: 1px solid #dddddd; background-image: url(hbar.gif);}
*/



now the image is showing with a RED X ONLY When I add my image.. If I remove it its not there.

14
JMorris
Re: logo.gif... Can someone tell me
  • 2005/5/11 12:08

  • JMorris

  • XOOPS is my life!

  • Posts: 2722

  • Since: 2004/4/11


That's the problem... You edited the wrong file. You need to remove that line from header.php and add it to your theme.html, as I suggested above.

XOOPS seperates presentation from application. All presentation stuff (the way your site looks) is handled through the themes and templates. The file you edited is part of the application side (the engine that keeps the site running). The only time you should edit application files (pretty much anything with a .php extention) is if you are adding special functionality.

15
Holly1
Re: logo.gif... Can someone tell me
  • 2005/5/11 12:11

  • Holly1

  • Not too shy to talk

  • Posts: 129

  • Since: 2005/5/4 1


2newbie

yes that is what I am attempting..

WHEN I add a client I dont have a place to upload a banner... I click edit and there is no browse or upload option

16
2newbie
Re: logo.gif... Can someone tell me
  • 2005/5/11 12:17

  • 2newbie

  • Just popping in

  • Posts: 95

  • Since: 2005/4/12


you dont upoload it. you just type in the address to it..

http://www.stop-n-crop.com/Forums/themes/default/logo.gif

it will show up in that spot if you give it the address to your image file.

17
Holly1
Re: logo.gif... Can someone tell me
  • 2005/5/11 12:17

  • Holly1

  • Not too shy to talk

  • Posts: 129

  • Since: 2005/5/4 1


Im trying both so bare with me..

Morris

Where do I Find the td id=header?

18
Holly1
Re: logo.gif... Can someone tell me
  • 2005/5/11 12:19

  • Holly1

  • Not too shy to talk

  • Posts: 129

  • Since: 2005/5/4 1


OOO I see.. but now please help me.. Its SOOOOOO TINY

19
2newbie
Re: logo.gif... Can someone tell me
  • 2005/5/11 12:22

  • 2newbie

  • Just popping in

  • Posts: 95

  • Since: 2005/4/12


you have to manually change the size of that picture file...the last picture that was there was 150x80. if you changed the code on the template or ? the size is still there. you need to find it and change it to the size of your logo


THIS IS THE SOURCE CODE FROM YOUR PAGE. NOTICE THE IMAGE SIZE.....

<td id="headerlogo"><a href="http://www.stop-n-crop.com/Forums/"><img src="http://www.stop-n-crop.com/Forums/themes/default/logo.gif" width="150" height="80" alt="" /></a></td>

20
Holly1
Re: logo.gif... Can someone tell me
  • 2005/5/11 12:29

  • Holly1

  • Not too shy to talk

  • Posts: 129

  • Since: 2005/5/4 1


<table cellspacing="0">
<tr id="header">
<td id="headerlogo"><a href="<{$xoops_url}>/"><img src="<{$xoops_imageurl}>logo.gif" width="150" height="150"/></a></td>
<td id="headerbanner"><{$xoops_banner}></td>
</tr>
<tr>
<td id="headerbar" colspan="2">&nbsp;</td>
</tr>
</table>


Are you referring to those dimensions???

When I change them its not changing the size of my logo.gif

Also, am I suppose to change the xoops_Url and stuff such as those with my own? Now that I uploaded it in the client?

Login

Who's Online

210 user(s) are online (115 user(s) are browsing Support Forums)


Members: 0


Guests: 210


more...

Donat-O-Meter

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

Latest GitHub Commits