1
Cavan
Background image on main page, etc
  • 2004/12/6 15:37

  • Cavan

  • Friend of XOOPS

  • Posts: 218

  • Since: 2004/11/28


I'm admittedly quite the newbie with XOOPS. However, I have one simple question, even though I'm fairly familiar with php/css: Where do I put background images? I'd like to add background images to my main page, as well as to the 'join us' page (two images here actually, one under each heading), but I cannot find where to put the code.
Can someone please point me in the right direction? Thank you.

2
scorpian
Re: Background image on main page, etc
  • 2004/12/6 16:22

  • scorpian

  • Just popping in

  • Posts: 34

  • Since: 2004/11/2


First you need to find out which theme you are using, properly you are using the default theme, so put your images to xoopsInstallDir/themes/default/ directory then modify the theme.html or style.css file to include you images. However as I know, your image will appear on every page if you put it to theme.html, but don't count me on, I am newbie also.

3
tjnemez
Re: Background image on main page, etc
  • 2004/12/6 16:57

  • tjnemez

  • Home away from home

  • Posts: 1594

  • Since: 2003/9/21


Depending on which module you open with you could edit the corresponding template for module or create a custom intro center block. the registration page does not come with a template so not sure where to edit this other than register.php

4
carnuke
Re: Background image on main page, etc
  • 2004/12/6 17:27

  • carnuke

  • Home away from home

  • Posts: 1955

  • Since: 2003/11/5



5
Cavan
Re: Background image on main page, etc
  • 2004/12/6 23:33

  • Cavan

  • Friend of XOOPS

  • Posts: 218

  • Since: 2004/11/28


Thank you, everyone, for all your input...but please let me add to what I previously posted:

We do not start with any specific module---we don't want to since we'd like to have an image on the main page rather than any of the modules appearing there. Right now, this is what the main page looks like:

Clan Mac Simoin

This the other page where we'd like to have two images, one under each heading:

Clan Mac Simoin Join Us
(I realize that the application link doesn't lead to one...it doesn't just yet)

As for theme style, we're using the "phpBB Style" (we like its simple, clean look). I know where my images go, but which theme.html needs to be changed to include the images (path)?

/themes/theme.html?

/phpbbstyle/theme.html?

Or does one of the many index.html's need to be edited?

As far as creating images in blocks---for some reason, I cannot get the image to show, even though I've tried using different paths in the code listed with how to do this.
How should the code look if the image is in the images folder for the theme we're using? Did I put the image in the wrong folder?

We'd really like to get this done ASAP---getting the website finished is just one of the issues we're trying to resolve as quickly as possible---and though XOOPS was by far the best of any OS content management system we could find, we're decidedly new to XOOPS and need a little more help than we anticipated.

Thank you again for all your help.

6
Cavan
Re: Background image on main page, etc
  • 2004/12/7 20:40

  • Cavan

  • Friend of XOOPS

  • Posts: 218

  • Since: 2004/11/28


I've managed to get an image on my main page but now have 2 problems:

1. The image only shows if a user is logged in.

2. If I try to center the image, it repeats below the footer. (obviously, it's in the wrong place in the theme.html)

Can someone please help me fix this? Thank you.

Login

Who's Online

156 user(s) are online (95 user(s) are browsing Support Forums)


Members: 0


Guests: 156


more...

Donat-O-Meter

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

Latest GitHub Commits