Was a bit bored today and thought it would be a good idea to give users the option to add my ddl site to thier search engine list in FireFox.
After a little bit of research i have come up with a simple mod to do this and thought i would share it with you all.
Screenshots:
Demo:
http://evilddl.com/
Install:
create a file called evilsearch.src and add the code below, editing the file to your needs/urls.
Upload that to the root directory of your ddl cms install.
Open header.php and add this code between the HEAD tags.
Now add this code in leftside.php where you want to show the link, again replacing my details with yours.
Enjoy 
After a little bit of research i have come up with a simple mod to do this and thought i would share it with you all.
Screenshots:
Demo:
http://evilddl.com/
Install:
create a file called evilsearch.src and add the code below, editing the file to your needs/urls.
Code:
<search
version="1.0"
name="EViLDDL"
description="Search EViLDDL.COM"
method="post"
action="http://evilddl.com/index.php"
searchForm="http://evilddl.com"
queryEncoding='UTF-8'
queryCharset='UTF-8'
>
<input name="q" user >
<browser
update="http://evilddl.com/evilsearch.src"
updateicon="http://evilddl.com/favicon.ico"
updatecheckdays="30"
>
Open header.php and add this code between the HEAD tags.
Code:
<script type="text/javascript">
function addEngine(url, img, name, desc)
{
if ((typeof window.sidebar == "object") && (typeof window.sidebar.addSearchEngine == "function"))
{
window.sidebar.addSearchEngine (
url,
img,
name,
desc
);
}
else
{
alert("You need a Mozilla based browser such as Firefox to use this.");
}
}
</script>
Now add this code in leftside.php where you want to show the link, again replacing my details with yours.
Code:
<img src="<?=$site_url?>/skins/<?=$skin?>/arrow.gif" height="8" width="4" alt="<?=$keywords?>">
<a href="#" onclick="addEngine('http://evilddl.com/evilsearch.src', 'http://evilddl.com/favicon.ico', 'EViLDDL.COM', 'Search EViLDDL.COM'); return false;">FireFox Plugin</a><BR>