1
brash
Wrapping MRTG pages with FreeContent 3.0
  • 2004/1/21 5:00

  • brash

  • Friend of XOOPS

  • Posts: 2206

  • Since: 2003/4/10


Hi All,

I'm wanting to show some of my SNMP stats which are collected by MRTG on my site, and am trying to get the FreeContent 3.0 module to do this. However, for some reason the MRTG page dowsn't display correctly once it is wrapped. For one none of the PNG images are displayed, and two the MRTG page title is cut off at the top. Has anyone got any ideas of how to go about fixing this?


http://www.it-hq.org/modules/freecontent/index.php?id=24

2
brash
Re: Wrapping MRTG pages with FreeContent 3.0
  • 2004/1/21 7:54

  • brash

  • Friend of XOOPS

  • Posts: 2206

  • Since: 2003/4/10


Looking closer at it, it seems that FreeContent is wrapping the image paths incorrectly. The actual path that all my MRTG data is written to is;

http://www.it-hq.org/modules/freecontent/content/2600/

But for some reason FreeContent is wrapping the image paths in the html file as;

http://www.it-hq.org/modules/freecontent/

Anyone know why this would happen? I also noticed that the wrapping feature in TinyContent does the same thing.


3
wjue
Re: Wrapping MRTG pages with FreeContent 3.0
  • 2004/1/21 10:23

  • wjue

  • Quite a regular

  • Posts: 315

  • Since: 2002/8/3 7


For your information:

Freecontent do not alter image src links


wjue

4
brash
Re: Wrapping MRTG pages with FreeContent 3.0
  • 2004/1/21 10:51

  • brash

  • Friend of XOOPS

  • Posts: 2206

  • Since: 2003/4/10


Hi wjue,

I would not have thought that FreeContent would alter the URL's, but it looks as though in my case it is.

The orignal HTML file can be viewed at the link below;

http://www.it-hq.org/modules/freecontent/content/2600/192.168.1.1_4.html

If you right click on the images and goto properties, you can see the correct path.


This link is after this same file has been wrapped with FreeContent;

http://www.it-hq.org/modules/freecontent/index.php?id=24

Here you can see the /contents/2600/ portion of the path has been dropped from the image paths, which results in them not being display due to an incorrect path.

I don't know why this is the case, all I know is it is happening. Perhaps I left something out of the install procedure .

5
brash
Re: Wrapping MRTG pages with FreeContent 3.0
  • 2004/1/22 20:50

  • brash

  • Friend of XOOPS

  • Posts: 2206

  • Since: 2003/4/10


Anyone got any suggestions for this? I might try updating my site to 2.5.X so I can use TinyContent 1.5

Login

Who's Online

173 user(s) are online (108 user(s) are browsing Support Forums)


Members: 0


Guests: 173


more...

Donat-O-Meter

Stats
Goal: AU$15.00
Due Date: Jun 30
Gross Amount: AU$0.00
Net Balance: AU$0.00
Left to go: AU$15.00
Make donations with PayPal!

Latest GitHub Commits