Hello, I am a complete xwiki newbie and I was wondering if there's a 'quick and easy' way to create a document template or a form that people can use to enter specific information into a new page/topic. I know that there's a document HowToCreateADocumentTemplate, but I get an error upon trying to access it. Thanks for your help, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Jamie A. D. Szafran Intern, Ground Operations, KSC National Aeronautics and Space Administration The opinions expressed herein are my own and are not necessarily those of NASA or Kennedy Space Center. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Hi Jamie, Here is the content of the page you couldn't access. I don't know much about this but I hope it helps :) To create and use a document template: * create a standard wiki document for your template * use the following HTML to allow the creation of a document from your template: #includeTopic("xwiki:XWiki.XWikiCommonJavascript") <form action="" id="newdoc"> <input type="hidden" name="parent" value="${doc.fullName}" /> <input type="hidden" name="template" value="XWiki.YourTemplateName" /> <input type="hidden" name="webname" value="Main" size="8" /> Title: <input type="text" name="name" value="Name of your document" /> <br /> <br /> <input type="button" value="Create this document" onclick='if (updateName(this.form.name)) {this.form.action="../../inline/" + this.form.webname.value + "/" + this.form.name.value; this.form.submit(); }'> </form> See example [DocumentTemplateExample] There is also this previous thread you might want to look at: http://mail-archive.objectweb.org/xwiki-users/2006-07/msg00098.html Regards, Catalin On 6/11/07, jamie.a.szafran@nasa.gov <jamie.a.szafran@nasa.gov> wrote:
Hello,
I am a complete xwiki newbie and I was wondering if there's a 'quick and easy' way to create a document template or a form that people can use to enter specific information into a new page/topic. I know that there's a document HowToCreateADocumentTemplate, but I get an error upon trying to access it.
Thanks for your help, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Jamie A. D. Szafran Intern, Ground Operations, KSC National Aeronautics and Space Administration
The opinions expressed herein are my own and are not necessarily those of NASA or Kennedy Space Center. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-- You receive this message as a subscriber of the xwiki-users@objectweb.org mailing list. To unsubscribe: mailto:xwiki-users-unsubscribe@objectweb.org For general help: mailto:sympa@objectweb.org?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Hi, There is a tutorial to create a FAQ application. http://www.xwiki.org/xwiki/bin/view/DevGuide/Tutorials There you will get to know how to create documents following a particular template. Regards Roopesh jamie.a.szafran@nasa.gov wrote:
Hello,
I am a complete xwiki newbie and I was wondering if there's a 'quick and easy' way to create a document template or a form that people can use to enter specific information into a new page/topic. I know that there's a document HowToCreateADocumentTemplate, but I get an error upon trying to access it.
Thanks for your help, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Jamie A. D. Szafran Intern, Ground Operations, KSC National Aeronautics and Space Administration
The opinions expressed herein are my own and are not necessarily those of NASA or Kennedy Space Center. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
------------------------------------------------------------------------
-- You receive this message as a subscriber of the xwiki-users@objectweb.org mailing list. To unsubscribe: mailto:xwiki-users-unsubscribe@objectweb.org For general help: mailto:sympa@objectweb.org?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
------------------ DigitalGlue, India
participants (3)
-
Catalin Hritcu -
jamie.a.szafran@nasa.gov -
Roopesh P Raj