On 27.Oct.2004 03:26PM +0200, Thomas Klausner wrote:

> The problem is that this dies with can't locate object method
> "database_directory" via package "Kwiki::Config which makes
> sense, as I didn't configure anything, nor have a proper kwiki
> somewhere...

Interesting -- please paste how you're using the formatter.

> So, I want to override Kwiki::Formatter::WikiLink and
> Kwiki::Formatter::TitledWikiLink but how?
> 
> What I want to do is to subclass Kwiki::Formatter, which
> should use all classes/methods as usually, besides WikiLink
> and TitledWikiLink, for which I want to provide custom
> classes/methods that do nothing.

I still haven't sat down to figure out how to subclass it.
(Ingy?) However, I have managed to hijack it and massage its
output for certain bits, if this helps:

    http://xrl.us/do3m

...which massages the output of HyperLink and TitledHyperLink.

-- 
Ian Langworth
Project Guerrilla
Northeastern University
College of Computer and Information Science

Reply via email to