[Moin-user] Themes, #prefix/share/moin/htdocs/ directory

Fred Drake fdrake at gmail.com
Sat Sep 10 20:42:01 EDT 2005


On 9/10/05, Nir Soffer <nirs at actcom.net.il> wrote:
> If you want to change the behavior of your theme, but use the same
> "look" as another theme, you don't have to create a new theme
> directory.

Actually, I think I want both behavioral and presentation changes,
eventually.  I'll start with presentation for now, as much as
possible.

> > Am I missing something about how a theme can be defined?  I'd like to
> > have a single place that defines a theme?
> 
> Its not possible currently, as theme has two parts, code and static
> files. Static files are installed in your
> prefix/share/moin/htdocs/theme, usually accessible at
> <http://localhost/wiki/theme>

Right.  Should these files be static across MoinMoin releases, or are
they release-specific?

> Currently there is no farm plugin directory. Until we have one, you
> have to install theme files in all the wikis, or use
> symlinks/hardlinks.

Symlinks create a little bit of pain, but less than having copies of
everything to keep in sync.  I've moved the entire data/plugin/
directory to a shared location and added a symlink for now.  Thanks
for the hint!

> The shared files of each theme should be at the htdocs directory, if
> you want to share them with multiple versions of moin, you can copy or
> link them from one location.

Guess that'll be the plan here as well; looks like only one more
symlink is needed.

Thanks!


  -Fred

-- 
Fred L. Drake, Jr.    <fdrake at gmail.com>




More information about the Moin-user mailing list