11
Mamba
Re: TDMDownloads 1.62 Final released for XOOPS 2.5.5
  • 2012/12/25 7:04

  • Mamba

  • Moderator

  • Posts: 11542

  • Since: 2004/4/23


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.7.x | Docs | Modules | Bugs

12
hipoonios
Re: TDMDownloads 1.62 Final released for XOOPS 2.5.5
  • 2012/12/25 10:11

  • hipoonios

  • Friend of XOOPS

  • Posts: 298

  • Since: 2005/9/24


On line 217. Just above this line:

le="color: #000000"><?php $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