General Actions:
Log-in
Register
Wiki:
Main wiki
▼
:
Document Index
»
Space:
Presentations
▼
:
Document Index
»
Page:
WebHome
Search
en
Page Actions:
Export
▼
:
Export as PDF
Export as RTF
Export as HTML
More actions
▼
:
Print preview
View Source
Notes
»
Presentation
Wiki source code of
Presentation
Last modified by
Administrator
on 2010/09/23 14:50
Content
·
Comments
(0)
·
Annotations
(0)
·
Attachments
(0)
·
History
·
Information
Hide line numbers
1: 1 Presentation 2: 3: xwiki integrates [S5>http://www.meyerweb.com/eric/tools/s5/] from [Eric Meyer>http://www.meyerweb.com/eric/]. A tool to create online presentations (powerpoint like). 4: 5: It uses XWiki forms to permit creation of a presentation without any use of HTML. It will generate the HTML that is going to be understood by the S5 stylesheet and javascript. 6: 7: We used a slightly modified version of the S5 model done by [Human Factor>http://www.wats.ca/presentations/humanfactor/]. Our S5 stylesheets and javascript are available [here>http://www.xwiki.com/xwiki/s5/ui2/] 8: 9: 1.1 Create a new presentation 10: 11: To create a new presentation, you should first choose a name for your presentation. 12: 13: <form action="" id="newdoc"> 14: <div> 15: <input type="hidden" name="parent" value="Main.Presentations"/> 16: <input type="hidden" name="template" value="XWiki.PresentationClassTemplate"/> 17: <input type="hidden" name="sheet" value="1"/> 18: <input type="hidden" name="webname" value="Presentations" size="8"/> 19: Document: <input type="text" name="name" value="Name of your presentation" size="60" /> 20: <br /> 21: <br /> 22: <input type="button" value="Create this presentation" onclick='if (updateName(this.form.name)) {this.form.action="../../inline/" + this.form.webname.value + "/" + this.form.name.value; this.form.submit(); }'/> 23: </div> 24: </form> 25: 26: 1.1 Existing Presentations 27: 28: #set ($sql = ", BaseObject as obj where obj.name=doc.fullName and obj.className='XWiki.PresentationClass' and obj.name<>'XWiki.PresentationClassTemplate'") 29: #foreach ($item in $xwiki.searchDocuments($sql)) 30: #set($itemdoc = $xwiki.getDocument($item)) 31: * $itemdoc.name: <a href="$itemdoc.getURL("view")">Preview</a> <a href="$itemdoc.getURL("inline")">Edit</a> <a href="$itemdoc.getURL("view", "xpage=s5b")">Launch</a> 32: #end