About Me

Josh Lyon

Name: Joshua Lyon
Birthday: August 8, 1985
Location: Grapevine, TX
E-mail: This e-mail address is being protected from spam bots, you need JavaScript enabled to view it

feed image
Home arrow View Blog arrow Gallery2 Joomla Bridge - Search
Mar 27 2007
Gallery2 Joomla Bridge - Search
Written by Josh Lyon   
Tuesday, 27 March 2007
 

Tags : working, install, administrator, criticaladmin, mambotsenable, optimization, mambots, click, forgetting, joomla, gallery2, gallery, bridge, search

In case you haven't read my other posts about search engine optimization, I've been on an SEO kick lately.  I've renamed all my images in the photo gallery so they all have some context now.  Google indexes galleries, but the next step was to be able to search the images from within my own site.  I installed the gallery2 search mambot plugin for joomla, but it wasn't doing anything.  Here's what I did to get it working.

  1. Install the mambot
    -Administrator Backend: Installers > Mambots
  2. Enable the mambot
    -This is the part I was somehow forgetting, but it's critical
    1. Admin Backend: Mambots > Site Mambots
    2. Click the X icon next to the Gallery2 Search mambot to publish it
  3. Change some code that comes default with the Jan 6 release:
    -Go to the searchbot PHP file
    mambots/search/gallery2.searchbot.php

    Look for the code around line 63 like this:
       $info->created = utility::g2DateToMambo($time);

    Change it to this:
      $info->created = utility::formatdate($time);
Related articles.

User Comments (2)RSS feed comment
 
Josh Lyon said:
I just realized that once I enabled the URL Rewrite module in Gallery2 my SEF urls in the searchbot are incorrect. I think this actually has something to do with my OpenSEF component not firing off on the com_search component though.  
 
On the other hand, my gallery URLs look awesome now. instead of index.php?com_gallery2&itemId=17&g2_view=view&g2_itemid=1049  
my urls now look like  
/gallery/europe/
Date: 01/11/2008 04:24:26 AM - Title: URLs Not Working
bob said:
tKn0BL hi great site thx http://peace.com
Date: 01/17/2008 09:30:28 PM - Title: bob

Displaying 2 of 2 comments


Add Comment
Name
E-mail
Title  
Comment
 
Available characters: 600
   Notify me of follow-up comments
  Mathguard security question:
7MA         UT7      
I      K    D 8   J39
8U8   K6D   TPN      
2 M    H      P   3IM
KJB         RQ6      
   
   

 

Add your comment



mXcomment 1.0.8 © 2007-2008 - visualclinic.fr
License Creative Commons - Some rights reserved
< Prev   Next >