Document Viewer
nav_first.pngFirst: package:1
Wikidot per-site help
Edited: 08 Nov 2009 12:06 by: pieterh
Comments: 0
Tags:
nav_prev.pngPrevious: package:18
Mini Comments
Edited: 15 Dec 2009 13:00 by: pieterh
Comments: 17
Tags:
Last: package:49
Advanced Search
Edited: 01 May 2012 12:30 by: tsangk
Comments: 68
Tags:
nav_last.png
Next: package:20
Avatar Grab
Edited: 04 May 2010 23:35 by: James Kanjo
Comments: 4
Tags:
nav_next.png

Document Viewer
Package submitted by wstone
21 Dec 2009 12:00

rating: +1+x

This package provides a document viewer for Wikidot: upload and then view documents in your wikis.

Instructions

To install this package in your site, create/edit these pages with the following content:

This page Contains this line
Any Page [[include :csi:include:doc-viewer | site=your-site-name | page=page-with-file | file=file-name.doc | width=900 | height=2000]]

Change variables to match your site:
site = The name of your wiki. eg example.wikidot.com, site=example
page = The page name where the file is stored. eg example.wikidot.com/examplepage, page=examplepage
file = The name of your file (case-sensitive).

The width and the height are in pixels and it is advised that you play around with these until the dimensions are suitable for your site/document.

The document name should NOT contain any spaces. Instead, use a hyphen. eg example-document.doc

This uses the Google Document Viewer and so will accept all types of document that the viewer does.

Example

[[include :csi:include:doc-viewer
|site=csi
|page=package:19
|file=Example-Document.doc
|width=100%
|height=200px
]]

Include files

doc-viewer By wstone 21 Dec 2009 12:01

Comments: 6

Add a New Comment
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License