1
W1ZeR
Complete Beginer, 2 issues
  • 2004/8/20 13:03

  • W1ZeR

  • Just popping in

  • Posts: 21

  • Since: 2004/8/20


Hi, As the title says, I am a complete beginer at XOOPS and theme design. I have very limited HTML/CSS skills. I know nothing about PHP, JS, etc.

I am trying to stuggle though customising my XOOPS site and am running into problems.

1. Whilst playing around, trying to understand how to control and manipluate the theme, I entered some bits of code that now for some reason will not go away. for example I enteres some text (TEST TEST TEST) in the headerbar. Even tho I have deleted it, saved it and re-uploaded it. It is still there!


2. I want to set a background image in the headerbanner tb. I have tried the following

background="header_background.jpg"
style="background-image: url(header_background.jpg)"
and in the style.css
"background-image: url(header_background.jpg)"

none of these options work and they seem to be affected by problem 1.

Any ideas? I am a total newbie.. so be gentle


2
Daddio
Re: Complete Beginer, 2 issues
  • 2004/9/1 1:10

  • Daddio

  • Just popping in

  • Posts: 5

  • Since: 2004/8/27


Sounds like your problems are from your templates being cached.

Looking at some other similar issues (and having the same problem myself a few days ago), I think you need to delete the files in your templates_c directory. I'm not positive, but you could probably clear the cache directory without issue, too. That should allow the pages to re-compile. The cached files are what is keeping you from seeing the changes.

There is also a setting in the Preferences >> General Settings for "Update module template .html files from theme/your theme/templates directory?" that you can switch to 'yes' to do this automagically. Just turn it off when you go 'live' (like the instructions suggest).

Hope that helps...I'm really new to this, too!

3
tjnemez
Re: Complete Beginer, 2 issues
  • 2004/9/1 1:19

  • tjnemez

  • Home away from home

  • Posts: 1594

  • Since: 2003/9/21


in style.css

#headerbanner {
background-image: url(yoursite.com/image.jpg);
}

in theme.html
<table><tr>
<td id="headerbanner">text or whatever</td>
</tr></table>
or

<div id="headerbanner">text or whatever</div>

Login

Who's Online

171 user(s) are online (101 user(s) are browsing Support Forums)


Members: 0


Guests: 171


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