Loading...
 
Skip to main content
Display a Google document

Plugin Google Doc

This wiki plugin, introduced in Tiki3, allows you to include a document from the Google Docs service in a page.

 Note
The user may need to log in to Google before seeing the document.

Parameters

Display a Google document
Introduced in Tiki 3. Required parameters are in bold.
Go to the source code
Preferences required: wikiplugin_googledoc

Parameters Accepted Values Description Default Since
(body of plugin) Leave this empty.
key text Google doc key - for example: pXsHENf1bGGY92X1iEeJJI 3.0
type (blank)
document
slides
spreadsheet
forms
drive
Type of Google document 3.0
name text Name of iframe. Default is "Frame" + the key 3.0
url url The URL of the file on Google Drive 24.0
height digits Height in pixels or % 400 3.0
marginheight digits Margin height in pixels 3.0
marginwidth digits Margin width in pixels 3.0
width digits Width in pixels or % 800 3.0
align (blank)
top
middle
bottom
left
right
Position of frame on page 3.0
editLink (blank)
top
bottom
both
Choose whether to show an edit link and set its location 3.0
frameborder (blank)
1
0
Choose whether to show a border around the iframe 0 3.0
scrolling (blank)
yes
no
auto
Choose whether to add a scroll bar 3.0
size (blank)
small
medium
large
Size of frame. Use instead of width and height. The sizes will fit the Google presentations sizes exactly. 3.0

Google Key

The most important parameter is the Google key. One way to find it is, on your documents list, click-right and go to "Get Link". You will see an URL to share your document. This URL contains the Google document key and you need to copy it to the plugin.

IE (the key is in red colour): https://docs.google.com/forms/d/1fqq6Uq8fwhTV7mvt5iy_dkUE6MtLGJRCk37VKJQNzTI/edit?usp=sharing

Note that on the same modal dialog you will be able to see who has right to see the document.

Examples

Basic syntax

Copy to clipboard
{googledoc key="pXsHENf1bGGY92X1iEeJJI" type="spreadsheet" name="docFrame1" width="400" height="500" align="middle" frameborder="0" marginheight="5" marginwidth="5" scrolling="yes" editLink="both"}

In case you select drive the key is not required, but you must provide the Google Drive link of your file.
Note that type drive does not support documents, spreadsheets, forms, or slides, better to select a type that meets the requirements.

Copy to clipboard
{googledoc key="pXsHENf1bGGY92X1iEeJJI" type="drive" name="docFrame1" url="https://drive.google.com/file/d/1fqq6Uq8fwhTV7mvt5iy_dkUE6MtLGJRCk37VKJQNzTI/view" scrolling="yes"}

Screenshot

Image

Aliases

PluginGoogleDocs | Plugin Google Docs | Plugin Google Doc | GoogleDocs | Google Docs | Google Doc | GoogleDoc | Google Drive | GoogleDrive | Google Drives | GoogleDrives


Created by MatWho. Last Modification: Thursday 22 December, 2022 10:12:19 GMT-0000 by ibrahim mussa.