Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: FireFox Search Bar  (Read 2347 times)

toolman

  • Newbie
  • *
  • Karma: 2
  • Posts: 31
    • Magazyn kodów - największa baza tipsów, kodów i solucji do gier
FireFox Search Bar
« on: June 06, 2009, 11:57:06 PM »

This addon gives You Search Bar for FireFox.
Download search plugin v1.
Files in package:
search_plugin/.htaccess
search_plugin/search.php
search_plugin/search.png



INSTALLATION

1. Extract and copy catalog "search_plugin" to snews catalog on server.
2. Edit index.php, in <head> section add line :
Code: [Select]
<head>
...

<link rel="search" type="application/opensearchdescription+xml" href="search_plugin/search.xml" title="<?php echo s('website_title'); ?>" />

...
</head>

If Your server not supported htaccess add this line:
Code: [Select]
<head>
...

<link rel="search" type="application/opensearchdescription+xml" href="search_plugin/search.php" title="<?php echo s('website_title'); ?>" />

...
</head>

You can also replace search.png by Your own 16x16 px png icon.


THATS ALL!

To add new search engine click the search icon on Search Bar.




How it works? Look it on my page: Magazyn kodów

P.S.
Sorry for my bad english ;P

NOTE
If You are using this mod: http://mdj.us/snews-cms/hacks-mods/sef-seo-search-for-snews-website/  replace in search_plugin/search.php line:

Code: [Select]
<Url type="text/html" method="post" template="'.$host_name.'/search_engine">
with:

Code: [Select]
<Url type="text/html" method="post" template="'.$host_name.'/search/">
« Last Edit: June 30, 2010, 08:41:17 PM by toolman »
Logged

danreb

  • Newbie
  • *
  • Karma: -1
  • Posts: 2
    • OyConcepts
Re: FireFox Search Bar
« Reply #1 on: June 08, 2009, 06:18:23 AM »

 :) Wow this is really cool!
Logged

toolman

  • Newbie
  • *
  • Karma: 2
  • Posts: 31
    • Magazyn kodów - największa baza tipsów, kodów i solucji do gier
Re: FireFox Search Bar
« Reply #2 on: June 30, 2009, 10:23:22 PM »

UPDATE 2009-06-30
If You are using this mod: http://mdj.us/snews-cms/hacks-mods/sef-seo-search-for-snews-website/  replace in search_plugin/search.php line:

Code: [Select]
<Url type="text/html" method="post" template="'.$host_name.'/search_engine">
with:

Code: [Select]
<Url type="text/html" method="post" template="'.$host_name.'/search/">
First post updated.
« Last Edit: June 30, 2009, 10:26:35 PM by toolman »
Logged