On 8/15/05, Axel <[EMAIL PROTECTED]> wrote:
> I'm also interested in integrating some default settings for a plugin
> into the site preferences.
> For example if a user would like to have all his default wiki links
> pointing to the base url:
>  http://de.wikipedia.org/wiki/
> it should be possible to set this preferences in the website settings.
> 
> Can someone give me some tips how to implement these things?
I've choosen the same way as in the AcronymsPlugin.

If the user defines a "_wiki" template and writes the following settings:
 wiki_url=http://en.wikipedia.org/wiki/
 image_url=http://www.bliki.info:8080/roller/resources/admin/

every wiki link [[...]] will be transformed to an html link with prefix wiki_url
and every [[Image:...]] link will be transformed to an html link to
the upload resources files.

The next question follows:
What is the easiest way to create a default "_wiki" template for a new
user (just like the '_css' or '_day' templates)?

-- 
Axel Kramer
http://www.bliki.info - der Wiki Weblog
http://www.plog4u.org - Wiki pedia Eclipse Plugin

Reply via email to