Warning: Expiry date cannot have a year greater then 9999 in /home/kilandor/seditioforge.com/system/common.php on line 244
A complete implementation for Seditio - Google CSE Business Edition 1.0.0 - Seditio Forge
A complete implementation for Seditio
Author: Trustmaster
Submitted by: Trustmaster
Date: 2008-03-12 11:26
Comments: (0)
Ratings:
 
Average members rating (out of 10) : Not yet rated   
Votes: 0
Features:
See Google CSE Business Edition features.

Requirements:
- PHP 5 with SimpleXML and cURL
- Google CSE Business Edition account (already set up and configured for your site)

Installation:
1.Put «cse» into your Seditio «plugins» folder.
2.Go to your Administration panel, install and configure the plugin.
3.Customize «plugins/cse/tpl/cse.tpl» for desired layout.
4.Target your search forms to this plugin (see below).

This plugin accepts search queries from GET forms all over your site. All you need is to add following parameters to your forms:
action is «plug.php?e=cse», other parameters may be appended to action string;
- q (required) — search query text input;
- c (optional) — a CSE label to search in;
- d (optional) — show results starting from this number.

Examples:

A most common form example:
HTML4STRICT Code:

<form action="plug.php" method="get">
<input type="hidden" name="e" value="cse" />
<input type="text" name="q" />
<input type="submit" value="Search" />
</form>


This form will search in pages labeled "Forum" only:
HTML4STRICT Code:

<form action="plug.php" method="get">
<input type="hidden" name="e" value="cse" />
<input type="hidden" name="c" value="forum" />
<input type="text" name="q" />
<input type="submit" value="Search" />
</form>


This is a simple example how to search from address bar:
HTML4STRICT Code:

<a href="plug.php?e=cse&q=my+query">My query</a>
.



Download : Google CSE Business Edition 1.0.0
Size: 108KB, downloaded 182 times
Copyright © 2008 Domain.Com. All Rights Reserved.
Page created in 0.533 seconds