mallchin.com
Joomla! - Gallery2 Searchbot mambot
Wednesday, 10 January 2007

There's a small bug in the gallery2 bridge searchbot for Joomla. Notably, the function utility::g2DateToMambo() has changed to utility::formatdate() as noted in this diff.

To fix we simple need to update the function being called. At the time of writing this is line 63 in mambots/search/gallery2.searchbot.php.

Edit like so:

Old:

  1. $info->created = utility::g2DateToMambo($time);
 

New:

  1. $info->created = utility::formatdate($time);
 

 

Note: This has been fixed in the latest version available here.

 

Address article on the site www.mallchin.com:
http://www.mallchin.com/content/view/64/76/

© mallchin.com, 2010
© All right reserved!
© Printed by Joomla! Ukraine Print Engine, 09.09.2010 01:54
http://www.joomla-ua.org

Quote this article on your site

  Comments (3)
RSS comments
1. Thanks
Written by Rob, on Thursday, 15 March 2007 at 16:40
Cheers, that's solved my problem.
2. Help
Written by Joe, on Friday, 20 July 2007 at 21:25
Where can I find the searchbot code?
3. Written by mallchin, on Saturday, 19 January 2008 at 14:46
Joe, the searchbot can be downloaded here: http://www.gallery-addons.com/docman/doc_details/gallery2_searchbot.html

Only registered users can write comments.
Please login or register.