1
sighter
don't i understand xoops ?
  • 2006/8/12 11:17

  • sighter

  • Just popping in

  • Posts: 6

  • Since: 2006/8/12


Hi all.

I recently downloaded and installed XOOPS and a 'block example' that allowed me to set some buttons as links. The problem is that i can't see the buttons, only the text set as 'alt'. I explain :

<a href="/backend.php" target="_blank"><img src="/var/www2/sobrefondonegro/htdocs/images/buttons/rss.png" alt="RSS" title="Backend RSS" border="0"></a><br>
<a href="/pda.php" target="_blank"><img src="images/buttons/pda.png" alt="PDAs" title="Backend para PDAs" border="0" /></a><br />

</div>Powered by:<br /><div align="center">
<a href="http://www.ubuntulinux.org/" target="_blank"><img src="/images/buttons/ubuntu.png" alt="Ubuntu" title="Powered by Ubuntu Linux" border="0" /></a><br />

no matter how i type the 'img src' tag, i always get RSS, PDAs and Ubuntu in my block, not the buttons.

Maybe it's an image problem because i can't see neither the banners in my site. Nor the ones by default nor the ones i want to set up.

I'm using XOOPS 2.0.14.

Thnx for your help.

Sighter

2
Will_H
Re: dont i understand xoops ?
  • 2006/8/12 11:26

  • Will_H

  • Friend of XOOPS

  • Posts: 1786

  • Since: 2004/10/10


your <img src=......> are wrong.

Go absolute, define your path as

</div>Powered by:<br /><div align="center">
<
a href="http://www.ubuntulinux.org/" target="_blank"><img src="http://www.ubuntulinux.org/images/buttons/ubunto.png" alt="Ubuntu" title="Powered by Ubuntu Linux" border="0" /></a><br />

3
sighter
Re: dont i understand xoops ?
  • 2006/8/12 11:40

  • sighter

  • Just popping in

  • Posts: 6

  • Since: 2006/8/12


Ubuntulinux is not my server !! ^^ I have buttons on my server and links are external ones. Images shown on 'img src' tag are the button ones in my server.

Thnx for the reply anyway !!

P.S I'm trying simply to add another extra image by myself via 'img src' tag but it's not shown :S. I'm thinking on reading an HTML Basic Guide :S:S

4
sighter
Re: dont i understand xoops ?
  • 2006/8/12 11:59

  • sighter

  • Just popping in

  • Posts: 6

  • Since: 2006/8/12


OK, another episode from X-Files :

<img src="http://localhost/modules/system/images/sfn_logo4.jpg">

It wordks perfectly.

<img src="http://localhost/images/sfn_logo4.jpg">

It doesn't work at all.

I checked rights on the two directories and are exactly the same: 777. Why does XOOPS read without problems on modules directory but not in the images one ?

5
Will_H
Re: dont i understand xoops ?
  • 2006/8/12 13:19

  • Will_H

  • Friend of XOOPS

  • Posts: 1786

  • Since: 2004/10/10


try bbcode

or

set autoformat as the block type.

6
kerkyra
Re: dont i understand xoops ?
  • 2006/8/12 13:20

  • kerkyra

  • Just can't stay away

  • Posts: 553

  • Since: 2005/2/14


try removing the first / from the url!
<img src="/images/sfn_logo4.jpg"> if you put it like that it will assume as the root folder from whatever location it is running the code! for example if you have this link somewhere in your news module, it will translate the relative pathe to /modules/news/images/sfn_logo4.jpg

now without the /
<img src="images/sfn_logo4.jpg">

it will look directly to the normal root folder of your website, no matter where you are calling it from, and in the folder /images.

It should be working with the absolute path though! have you tried updating the system module? perhaps try changing the name of the folder images in root or even creating a new one! Weird problems need weird solutions!!!
www.guidemap.gr - Beta is out...

7
sighter
Re: dont i understand xoops ?
  • 2006/8/12 17:08

  • sighter

  • Just popping in

  • Posts: 6

  • Since: 2006/8/12


As u can see, i tried removing the slash but i didn't suceed. I got it typing this strange path. I am already seeing that XOOPS consists on rewrite things to make 'em run. Nobody said it would be easy. I am fighting against tinycontent right now, i can't edit content because i don't have any button to save changes, Did you say the 'url mess' was weird ?.

Greetings
Sighter

Login

Who's Online

200 user(s) are online (133 user(s) are browsing Support Forums)


Members: 0


Guests: 200


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