xoops forums

Mamba

Moderator
Posted on: 2012/12/25 7:04
Mamba
Mamba (Show more)
Moderator
Posts: 10406
Since: 2004/4/23
#11

Re: TDMDownloads 1.62 Final released for XOOPS 2.5.5

Quote:
The block problem kinda worked. If you add that code you will only see 1 download even if you have more in database.
But solved it by adding the line a little higher up in search.php.

Nice catch!

I was testing only with one download entry, so of course I couldn't see it. Thanks for the testing and feedback.

To which line do you move the Smarty variable clearing, so I don't have to test it anymore?
Support XOOPS => DONATE
Use 2.5.9 | Docs | Modules | Bugs

hipoonios

Friend of XOOPS
Posted on: 2012/12/25 10:11
hipoonios
hipoonios (Show more)
Friend of XOOPS
Posts: 297
Since: 2005/9/24
#12

Re: TDMDownloads 1.62 Final released for XOOPS 2.5.5

On line 217. Just above this line:

$xoopsTpl->assign('lang_thereare'sprintf(_MD_TDMDOWNLOADS_SEARCH_THEREARE,$downloads_Handler->getCount($criteria_2)));


Have no idea if that is the best place. But it works