Request to add default content for New Page

28 views
Skip to first unread message

Erastian Sy

unread,
Nov 13, 2016, 10:11:08 PM11/13/16
to Roadkill Wiki
Is there a way to add default content/template for a new page? If there is none, is this possible to be implemented?

Chris Small

unread,
Nov 14, 2016, 6:25:09 AM11/14/16
to Roadkill Wiki
You could add a text plugin to do this (if you're comfortable with C#):


You drop the plugin into the bin\Plugins folder and it'll be picked up  

Just implement BeforeParse and prepend text. You may want to read the text the from a configuration file first. It's not ideal versus templates, something I want to explore in the next version.


Chris

On Mon, 14 Nov 2016 at 03:11 Erastian Sy <nait...@gmail.com> wrote:
Is there a way to add default content/template for a new page? If there is none, is this possible to be implemented?

--
You received this message because you are subscribed to the Google Groups "Roadkill Wiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email to roadkillwiki...@googlegroups.com.
To post to this group, send email to roadki...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/roadkillwiki/e2efc8a2-8993-4783-bf41-7b39d6f2f52b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages