[dokuwiki] Re: Search Result


On 28 Feb 2008, at 18:30, Gerry Weißbach wrote:

Thx, Todd,

now, after reading the doc, it works just fine :)
the fulltext.php hack is not the best "use it out of the box" solution, but fits for the moment ... I hope the hack becomes part of the regular code.

Sinc
Gerry.


Am 28.02.2008 um 19:20 schrieb Todd Augsburger:

The two plugins are now documented at:
  http://wiki.splitbrain.org/plugin:text
and
  http://wiki.splitbrain.org/plugin:searchtext



A couple of notes:

- You can package two or more plugins into one archive. Each plugin sits in its own directory. This allows you to package the searchtext plugin with the plain text renderer. Its also possible to include more than one plugin "component" in a plugin.

- Is there a reason why you used the long format for your event rather than the simpler, trigger_event()?

e.g.

---    $text     = rawWiki($id);
+++ $text = trigger_event('FULLTEXT_SNIPPET_GETTEXT', $id, 'rawWiki');


- Chris

--
DokuWiki mailing list - more info at
http://wiki.splitbrain.org/wiki:mailinglist

Other related posts: