From 9c5f4761d8bf785ca98d5fda66fbbe9dbe11897c Mon Sep 17 00:00:00 2001 From: joey Date: Tue, 28 Aug 2007 01:59:01 +0000 Subject: * Support for looking in multiple directories for underlay files. * Plugins can add new directories to the search path with the add_underlay function. * Split out smiley underlay files into a separate underlay, so if the plugin isn't used, the wiki isn't bloated with all those files. --- doc/todo/conditional_underlay_files.mdwn | 7 ++++++- doc/todo/wikiwyg/discussion.mdwn | 3 +++ 2 files changed, 9 insertions(+), 1 deletion(-) (limited to 'doc/todo') diff --git a/doc/todo/conditional_underlay_files.mdwn b/doc/todo/conditional_underlay_files.mdwn index 87f70696b..14ab4dac3 100644 --- a/doc/todo/conditional_underlay_files.mdwn +++ b/doc/todo/conditional_underlay_files.mdwn @@ -21,4 +21,9 @@ hackish. > plugins were enabled. > > Using the conditionals in a page to control what other pages get built -> feels complex to me, --[[Joey]] +> feels complex to me. +> +> Instead, this has been implmented as the `add_underlay()` function. +> [[done]] +> --[[Joey]] + diff --git a/doc/todo/wikiwyg/discussion.mdwn b/doc/todo/wikiwyg/discussion.mdwn index 642576b7c..79bb83a87 100644 --- a/doc/todo/wikiwyg/discussion.mdwn +++ b/doc/todo/wikiwyg/discussion.mdwn @@ -70,6 +70,9 @@ changes.diff: you have something pretty specific in mind. I can talk to you about that more on IRC later(assuming my internet is working right). * Basically the idea is to change `$config{underlaydir}` to an array.. + Ok, take a look at the new `add_underlay()` function. You can now just + `add_underlay("wikiwyg")` and it'll look in + /usr/share/ikiwiki/wikiwyg/ for the files. * When is the WIKIWYG variable in misc.tmpl used? * The WIKIWYG variable in misc.tmpl is used for the edit page. I believe that is what you wanted me to do (Check [Revision 3840][]). -- cgit v1.2.3