Publisher review:Search Zoom Media Gallery - A searchbot to integrate Zoom Media Gallery into the mambo-wide search function. A searchbot to integrate Zoom Media Gallery into the mambo-wide search function. It searches categories on name, description, and keywords. It searches images on name, filename, description, and keywords. Each category or image with a match will be returned in the search results.
Very straightforward searchbot, but it does require a hack to one Zoom file. Once installed, you need to add this code:
// Added to support Zoom Searchbot Code (v 0.4) // By rprince // A key of -1 means that an extra parameter, imgid, has been passed. // This block will find the key for the appropriate image and set it $key to that value. // Then control will pass to the normal view.php functionality. if ($key == -1) { $imgid = $_REQUEST['imgid']; $key = 0; foreach ($zoom->_gallery->_images as $image) { if ($image->_id == $imgid) { // If this is the right image, leave the loop. Key is already set correctly. break; } else { $key ; } } } // End of Zoom
Searchbot Code in mamboroot/components/com_zoom/view.php immediately following this line: defined( '_VALID_MOS' ) or die( 'Direct Access to this location is not allowed.' );
Search Zoom Media Gallery is a PHP script for Joomla / Mambo Modules scripts design by RPrince.
It runs on following operating system: Windows / Linux / BSD.
Operating system:Windows / Linux / BSD