1
Sargon
XoImgUrl, editing a theme
  • 2008/5/2 8:58

  • Sargon

  • Just popping in

  • Posts: 21

  • Since: 2008/4/26


I am trying to customize the default theme that comes with xoops.
I am trying to put an image in the body of the theme.html.
So I tried to do it the same way I saw it is done in other part of the code, something like this:

<img src="<{xoImgUrl MenuCrop.jpg}>" alt="" width="800" height="165" usemap="#MenuCrop" style="border-

style:none" />

I put MenuCrop.jpg in the same places I found logo.gif which use the same syntax, but I see a red x instead of the image.
Where is xoImgUrl defined?
Also, is there a guide on how to edit a theme?
Thank you.

2
Anonymous
Re: XoImgUrl, editing a theme
  • 2008/5/2 9:05

  • Anonymous

  • Posts: 0

  • Since:


Try putting the image in the "Uploads" folder as that's where XOOPS image-manager uploads to.

This might not work but it's worth a try

3
Sargon
Re: XoImgUrl, editing a theme
  • 2008/5/2 11:14

  • Sargon

  • Just popping in

  • Posts: 21

  • Since: 2008/4/26


I want to know what is the proper way of adding an image to a theme.
I could simply write a hardcoded relative URL, but then I won't learn how to program for xoops.
I need some guide to teach me how to edit a theme.

4
avtx30
Re: XoImgUrl, editing a theme
  • 2008/5/2 11:25

  • avtx30

  • Not too shy to talk

  • Posts: 181

  • Since: 2006/10/12


A very good resource here:http://www.hodajuku.org/modules/tinyd/

The page is in Japanese but use can you google translate tools to read it in English.
Xoops Demos:
http://www.nhatban.net/info/a0021.html

5
kris_fr
Re: XoImgUrl, editing a theme
  • 2008/5/2 11:26

  • kris_fr

  • Theme Designer

  • Posts: 1009

  • Since: 2005/12/31



Login

Who's Online

167 user(s) are online (112 user(s) are browsing Support Forums)


Members: 0


Guests: 167


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