1
rob777
Sections module and Internet Explorer problem
  • 2005/4/13 20:28

  • rob777

  • Just popping in

  • Posts: 45

  • Since: 2005/1/21


Hi,

First off, I am using XOOPS v 2.0.9, Apache version 1.3.33 (Unix), PHP version 4.3.10, MySQL version 4.0.24-standard.

I'm trying to use Sections module as a 2nd article modoule (wfsections is my first article module).

I have two categories (sections) displayed on the sections/index.php page. When using NS 7 or Firefox I can see the categories listed, but when viewing with Internet explorer There is only a block with a red X and name of the category (looks like a broken image displaying the alt tag) for each one of the categories.

I didn't think that the category titles were published as images? But they seem to be when using IE. I thought I remebered a problem with IE and Newbb images discussed a while back on here, but I can't find it to reference and see if that is the same problem I am having with Sections v 1.

I ran phpdebug--no problems there.

Any Ideas?

Thanks,
Rob

2
ackbarr
Re: Sections module and Internet Explorer problem

Sections expects that each category will be represented by an image. Since there is no way to "turn-off" this, you'll have to modify /modules/sections/index.php

Find (in function listsections):
echo "<td><a href='index.php?op=listarticles&secid=$secid'><img src='images/$image' border='0' alt='$secname'></a>";

Change to:
echo "<td><a href='index.php?op=listarticles&secid=$secid'>$secname</a>";

3
rob777
Re: Sections module and Internet Explorer problem
  • 2005/4/13 22:56

  • rob777

  • Just popping in

  • Posts: 45

  • Since: 2005/1/21


Thanks Ackbarr! That worked perfectly!


Rob

4
rob777
Re: Sections module and Internet Explorer problem
  • 2005/4/13 23:25

  • rob777

  • Just popping in

  • Posts: 45

  • Since: 2005/1/21


Oops, one more thing. There was an image trying to display on the sections/index.php?op=listarticles&secid= page (the page inside a category that lists all the articles)

But I found the problem (thanks to ackbarr's help with my first problem). So if anyone else is having this similar problem.

Go to /modules/sections/index.php
at about line 73 delete the following code.
Quote:
echo "<div><img src='images/$image' border='0'><br /><br />";

Login

Who's Online

208 user(s) are online (165 user(s) are browsing Support Forums)


Members: 0


Guests: 208


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