« 1 (2)
Mamba Mamba
  • Moderator
  • Moderator
  • Joined: 2004/4/23 14:58
  • From Ohio, USA
  • Group: Webmaster Registered Users Designer Group Super Moderator
  • Posts: 10293
  • Posted on: 2012/12/25 2:04
Re: TDMDownloads 1.62 Final released for XOOPS 2.5.5 #11
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?
Please support XOOPS & DONATE
Use 2.5.8 | Debug | Requests | Bugs
hipoonios hipoonios
  • Friend of XOOPS
  • Friend of XOOPS
  • Joined: 2005/9/23 20:01
  • From Sweden
  • Group: Registered Users
  • Posts: 290
  • Posted on: 2012/12/25 5:11
Re: TDMDownloads 1.62 Final released for XOOPS 2.5.5 #12
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
How to effectively post a question in the Xoops forums? - Read here...
Design by: XOOPS UI/UX Team