Tags:
create new tag
, view all tags

FirefoxTWikiSearchBoxAddOnDev Discussion: Page for developer collaboration, enhancement requests, patches and improved versions on FirefoxTWikiSearchBoxAddOn contributed by the TWikiCommunity.
• Please let us know what you think of this extension.
• For support, check the existing questions, or ask a new support question in the Support web!
• Please report bugs below

Development discussion for FirefoxTWikiSearchBoxAddOn

-- MatthiasThullner - 08 Oct 2008

You can publish your search-engine by an link-tag in the Siteheader.
The new Search-Engine will be available on the "SearchEngine-Manager"

--- /usr/share/twiki/templates/view.pattern.tmpl.org    2008-10-13 09:30:41.000000000 +0200
+++ /usr/share/twiki/templates/view.pattern.tmpl        2008-10-13 09:25:02.000000000 +0200
@@ -45,7 +45,7 @@
 %TMPL:P{"contentfooterstylewrapper"}%%TMPL:P{"formbottom"}%%TMPL:P{"attachmentsbottom"}%</div><!-- /patternContent-->
 %TMPL:P{"topicaction"}%%TMPL:P{"footernote"}%%TMPL:END%

-%TMPL:DEF{"standardheader"}%%TMPL:END%
+%TMPL:DEF{"standardheader"}%<link title="TWiki-SearchEngine" type="application/opensearchdescription+xml" rel="search" href="/pub/TWiki/TWiki.xml" />%TMPL:END%
 %TMPL:DEF{"simpleheader"}%%TMPL:P{"flashnote"}%%TMPL:P{"standardheader"}%%TMPL:END%

 %TMPL:DEF{"broadcastmessage"}%%IF{"defined BROADCASTMESSAGE and $BROADCASTMESSAGE != ''" then="<div class="twikiBroadcastMessage">  </div>"}%%TMPL:END%

-- MatthiasRies - 13 Oct 2008

Matthias,

will this be transmitted/installed each time a topic is loaded? Please feel free to add your installation instruction to FirefoxTWikiSearchBoxAddOn#Installation_instructions

-- MatthiasThullner - 13 Oct 2008

The first time you chose the engine,the file will be installed.
As if you copy the file in the directory "searchplugins".
As an example: http://support.microsoft.com/

-- MatthiasRies - 14 Oct 2008

This add-on should be packaged as FirefoxTWikiSearchBoxAddOn.zip so that the download links function properly. Right now you get a file not found message when you click on the download link in AddOnPackage and other query pages.

-- PeterThoeny - 2010-07-23

Edit | Attach | Watch | Print version | History: r5 < r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r5 - 2010-07-23 - PeterThoeny
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2015 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.