[MKDoc-dev] Client-specific Plugins

Sam Tregar sam at tregar.com
Mon Jan 31 17:27:15 GMT 2005


On Mon, 31 Jan 2005, Bruno Postle wrote:

> In 1.6 there is a template inheritance scheme.  This doesn't have a name or
> much documentation, but Petal allows any template or range of templates to be
> overriden.
> 
> For example, if you want to customise the $MKDOC_DIR/templates/document/foo/
> template, you don't have to change anything in the MKDoc source, just copy it
> to $SITE_DIR/resources/templates/document/foo/ and edit it in place.  There is
> no need to restart apache to see template changes.  All the emails are
> templated in this way too.

Alright, cool.  I'll do this for template changes and new templates.
Is there a similar system for overriding Perl modules?  (i.e. the
flo::plugin::Frobnitz::Account::Details I created)

> So with MKDoc-1.8, the CMS is just another plugin.  Though the rump of it
> hasn't yet been refactored to this new system - 1.8 is still very much
> unfinished.

Sounds fascinating!  I'm looking forward to digging into this.

-sam


More information about the MKDoc-dev mailing list