[wikka-community] help with implimenting google search bar

Brian Koontz brian
Sat May 9 03:06:45 GMT 2009


On Fri, May 08, 2009 at 10:56:04PM -0500, Leonidas wrote:
> I'm attempting to implement Google's search bar in my website. I've created
> an action out of it and managed to get it working however this would mean
> that I would have to add this action to every single page manually which
> would be very time consuming. How do I get it into the header and footer of
> my website so that it'll appear regardless of the page your on?

templates/footer.php is probably the file you're after.  Maybe replace
the search box that's there with your Google search bar?

This is a perfect example of how a text search "hook" (as part of the
overall plugin architecture that's slated for 1.3) would be useful for
adding new functionality without having to modify core files.

  --Brian

-- 
Brian Koontz
Wikka Development Team
Systems Support and Random Tasking Dept.




More information about the community mailing list