1
etoolman
BUG in mylinks module with massive number of links
  • 2006/4/6 20:53

  • etoolman

  • Just popping in

  • Posts: 9

  • Since: 2006/3/20


This bug probably wouldn't come up with the normal XOOPS site, so I guess I pushed the envelope. I have about 108 categories listed and one of them has about 3000 links in it. When I go to that page the module attempts to display ALL of the pages on the pagenav. That causes the screen to be about 2000+ pixels wide of something of the sort. I looked at the code and I don't think the person who wrote it took into account massive links.

As a quick fix I did something like this:
if( ( $counter % 15 ) == 1 )
$page_nav .= "
";

This causes the pagenav to have a
every 15 page links, which at least keeps it from making the page really . It's cheesy, but it fixed the problem for now. What really needs to be done is to have the pagenav be able to navigate through a page list gracefully. If anyone has a mod like this or knows of an update to the mylinks module I would be interested to hear about it..


eToolMan

2
gestroud
Re: BUG in mylinks module with massive number of links
  • 2006/4/6 21:00

  • gestroud

  • Home away from home

  • Posts: 1538

  • Since: 2004/12/22


Try the Weblinks module. Pretty powerful and lets you import your categories, links, votes, and comments from the mylinks module

https://xoops.org/modules/repository/singlefile.php?cid=40&lid=1473

3
gestroud
Re: BUG in mylinks module with massive number of links
  • 2006/4/6 21:02

  • gestroud

  • Home away from home

  • Posts: 1538

  • Since: 2004/12/22


There are 15583 Links in our Database

HOLY COW!

Login

Who's Online

295 user(s) are online (262 user(s) are browsing Support Forums)


Members: 0


Guests: 295


more...

Donat-O-Meter

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

Latest GitHub Commits