1
Xman04
How to reference an Image URL for a banner?
  • 2004/10/19 20:10

  • Xman04

  • Not too shy to talk

  • Posts: 180

  • Since: 2004/7/12


Hi,

I'm having trouble using the Banner administration section in the System module.

What is the proper format/code for referencing an Image URL address in the banner administration section? XOOPS provides an Image URL input box for inputting the banner image address. However, I cannot figure out what to put in place of "DOMAININSTALLDIR".

The XOOPS banners that come with the default installation of XOOPS are not displaying. I clicked on edit to see how one of the banner images was addressed, and it shows the following in the Image URL input box:

DOMAININSTALLDIR/images/banners/xoops_banner.gif

When I right click on where the banner image should be displaying and view the properties of the rendered HTML address, it shows the following:

http://mysite.com/community/modules/system/DOMAININSTALLDIR/images/banners/xoops_banner.gif

I tried replacing DOMAININSTALLDIR with the installation folder name for XOOPS and with a couple of diffent XOOPS path functions, but that doesn't work either.

I know that there is a simple answer to this, but I have no clue.

Dave

2
JackJ
Re:How to reference an Image URL for a banner?
  • 2004/10/19 23:14

  • JackJ

  • Community Support Member

  • Posts: 747

  • Since: 2003/8/31


In banners admin in the box called "image url" you just put the path to wherever the image is uploaded to ie.

http://www.yoursite.com/xoopsdirectory/myimage.gif

In the other box called "click url" you just add the path that the user will be led to when they click the banner i.e.

http://www.yoursite.com

Don't need to add code in the HTML code box unless you have appropriate banner coding

If you have problems post back, remember to make sure banners are activated in XOOPS general prefs

3
Xman04
Re:How to reference an Image URL for a banner?
  • 2004/10/20 2:27

  • Xman04

  • Not too shy to talk

  • Posts: 180

  • Since: 2004/7/12


Hi Jack,

I originally used the full path for my image (as you suggested), but XOOPS rendered an incorrect URL address for some reason. I tried the full path again after receiving your post, and now it is working. Thus, I'm not sure what went wrong earlier.

Anyway, it is working now, so I'm happy!

Thank you for the help,
Dave

Login

Who's Online

236 user(s) are online (144 user(s) are browsing Support Forums)


Members: 0


Guests: 236


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