| Re: Alphabetical Order Bugfix |
| by Wheeler on 2005/3/10 1:37:12 Yes, these type of modules do seem a little useless. In time, when I get my business directory up, I will have a go at it. |
| Re: Alphabetical Order Bugfix |
| by tzvook on 2005/3/9 10:45:02 Quote:
No problem Wheeler, but it's not about the XDIR (or the hacked version) ... it's about the "alphabetic links hack" which I thought might be connected to a lot of modules for Alpha sorting if needed.... due to the ease that it can be connected (when fixed). Actually, I need the hack for the MyEdito module, I linked the Xdir just for alpha-menu test purpose. Quite funny was for me to find out that all the phonebooks are without an Alphabetic sorting (simply useless) or the business directories (Xdir and so..) That's why I try to find something that'll fit all modules or at least quite a few, hope someone will help. I'm still trying to find the problem, though quite lost with it... If somebody knows about an Alphabetic menu for sorting the database, please post here... |
| Re: Alphabetical Order Bugfix |
| by Wheeler on 2005/3/8 17:16:07 hey thanks Mith, it's so obvious lol. tzvook, from recent threads, I am aware you have a hacked version of xdir. I also thought I read somewhere your alpha links hack came from WF-Downloads. Sorry, I guess I can not help you. This is beyond the focus of the work which I'm currently conducting. The code I have should fix the alphabetical listings when the 'pagenav' is used. If your ordered listings carries over to the next page you are okay. |
| Re: Alphabetical Order Bugfix |
| by tzvook on 2005/3/8 13:16:19 Wheeler I Don't see anything that is helping with the alphabetic sorting for the letters() function. I don;t use it @ the MyDownloads mudule, I use it @ the Xdir + the Myedito + Xdir hacked to a phonebook, If you want me to... I can send you the whole module to look @ ... It seems to come from the direction of - le="color: #000000"><?php $rankings[$e]['title'] I hoped to implement it @ the MyEdito - so it more or less "close" my requirements from a "homepages" module, so If you want to take a look at a hacked Xdirectory with the "letters()" you might find the problem ... http://www.meant4u.com/xdirectory.zip Mith, I would have ask you too, but I'm sure you're loaded with code to go over ![]() Anyway, it might be a really small thing we missed here, and then it'll be easy to add to a lot of mudules, so it's worth the try. |
| Re: Alphabetical Order Bugfix |
| by Mithrandir on 2005/3/8 8:56:46 le="color: #000000"><?php $result = $xoopsDB->query($sql, $xoopsModuleConfig['perpage'] , $start); $total_numrows['count'] = $xoopsDB->getRowsNum($xoopsDB->query($sql)); // Added by Wheeler You already have the $result, so no need to run the query again Instead use this: le="color: #000000"><?php $result = $xoopsDB->query($sql, $xoopsModuleConfig['perpage'] , $start); $total_numrows['count'] = $xoopsDB->getRowsNum($result); // Added by Wheeler, optimised by Mith ;-)
|