1
tomodea
Wordbook v1.16 - Fix for no results for show all entries
  • 2008/3/31 3:38

  • tomodea

  • Just popping in

  • Posts: 47

  • Since: 2008/2/19


I’ve recently started using the Wordbook module. I am using Version 1.16.

I encountered a problem with letter.php where a request to show all entries had no results.

It seems as though this was corrected in Wordbook v1.17 RC 1. However, I can’t find a download for v1.17 anywhere.

In searching the forums I found references to a replacement module called Lexikon but I can’t find a download for this module anywhere.

So I decided to figure out what was wrong with letter.php.

I’m posting the resolution here in case there are others who are using Wordbook v1.16.

Line 74 in letter.php reads:

$queryA = "SELECT w. * , c.name AS catname FROM ".$xoopsDB -> prefix( 'wbentries' )." w LEFT JOIN ".$xoopsDB -> prefix( 'wbcategories' )."c ON w.categoryID = c.categoryID WHERE w.submit = '0' AND w.offline = '0' ORDER BY w.term ASC";

There is a space missing before “c ON w.categoryID”.

The statement should be:

$queryA = "SELECT w. * , c.name AS catname FROM ".$xoopsDB -> prefix( 'wbentries' )." w LEFT JOIN ".$xoopsDB -> prefix( 'wbcategories' )." c ON w.categoryID = c.categoryID WHERE w.submit = '0' AND w.offline = '0' ORDER BY w.term ASC";
Regards, Tom O'Dea
Melbourne, Australia

2
preachur
Re: Wordbook v1.16 - Fix for no results for show all entries
  • 2008/5/31 1:38

  • preachur

  • Just can't stay away

  • Posts: 525

  • Since: 2006/2/4 4


Thank you so much for that fix. :)
Magick can never be restrained, but when freely given is thrice regained!

Login

Who's Online

270 user(s) are online (186 user(s) are browsing Support Forums)


Members: 0


Guests: 270


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