[pmwiki-users] Duplicate Page functionality for users
Petko Yotov
5ko at free.fr
Fri Jul 14 03:42:59 CDT 2006
On Friday 14 July 2006 04:56, vijoy abraham wrote:
> I would like to create a 'template' page which users can duplicate, change
> the name, and fill out certain 'field' (though this is just a wiki page,
> not a form). It is for students working on a data entry project. Does
> anyone know of a way to have a 'duplicate a page' function in the interface
Hi, There is a much better feature: Edit templates. Look here:
http://www.pmwiki.org/wiki/Cookbook/EditTemplates
You can also create a form like this
(:input form $ScriptUrl:)
(:input hidden action edit:)
(:input hidden template MyTemplateGroup.MyTemplate:)
Enter new page title:
(:input text pagename size=32:)
(:input submit create "Create!":)
(:input end:)
This will present a textbox to the user; he fills the new page title and then,
he sees a new page where the textarea is not empty but filled with the
content of the page MyTemplateGroup.MyTemplate.
Cheers,
Petko
More information about the pmwiki-users
mailing list