DEPRECATION WARNING
This documentation is not using the current rendering mechanism and is probably outdated. The extension maintainer should switch to the new system. Details on how to use the rendering mechanism can be found here.
Google Document Viewer¶
Created: | 2010-02-18T17:33:18 |
---|---|
Changed: | 2011-10-15T23:01:46.760000000 |
Classification: | na15_docviewer |
Description: | The keywords help with categorizing and tagging of the manuals. You can combine two or more keywords and add additional keywords yourself. Please use at least one keyword from both lists. If your manual is NOT in english, see next tab "language" ---- forEditors (use this for editors / german "Redakteure") forAdmins (use this for Administrators) forDevelopers (use this for Developers) forBeginners (manuals covering TYPO3 basics) forIntermediates (manuals going into more depth) forAdvanced (covering the most advanced TYPO3 topics) see more: http://wiki.typo3.org/doc_template#tags ---- |
Keywords: | pdf, viewer, document, google, doc, word, powerpoint |
Author: | nullacht15 GmbH |
Email: | philipp.idler@nullacht15.com |
Info 4: | |
Language: | en,de |
Google Document Viewer - na15_docviewer
Google Document Viewer¶
Extension Key: na15_docviewer
Language: en,de
Keywords: pdf, viewer, document, google, doc, word, powerpoint
Copyright 2000-2010, nullacht15 GmbH, <philipp.idler@nullacht15.com>
This document is published under the Open Content License
available from http://www.opencontent.org/opl.shtml
The content of this document is related to TYPO3
- a GNU/GPL CMS/Framework available from www.typo3.org
Table of Contents¶
`Introduction 3 <#__RefHeading__1243_1481462348>`_
`Users manual 4 <#__RefHeading__1253_1481462348>`_
`Administration 5 <#__RefHeading__1259_1481462348>`_
Introduction¶
What does it do?¶
Show common documents browseable on your website with Google's Document Viewer ( http://docs.google.com/viewer ).These file-formats are supported:
doc,docx,xls,xlsx,ppt,pptx,pdf,pages,ai,psd,tiff,dxf,svg,eps,ps,ttf,xp s,zip,rar
Live Demo¶
You can see a live demonstration here: Live Demonstration
Screenshots¶
Users manual¶
Import from repository and install.Insert new content element and choose “Document Viewer”.
Select a document to display.
Administration¶
You can add the plugin via typoscript
plugin.tx_na15docviewer_pi1 {document = fileadmin/pdf/document.pdf_CSS_DEFAULT_STYLE (.tx-na15docviewer-pi1 iframe { width:100%; height:780px; })}
MARKER < plugin.tx_na15docviewer_pi1
It is recommend to move default css to your own stylesheet and drop default css viaplugin.tx_na15docviewer_pi1._CSS_DEFAULT_STYLE >
Here you can also change height and width of the iframe.
More possibilities¶
You can specify your own iframe tag.
plugin.tx_na15docviewer_pi1 {frameTag = TEXTframeTag.data = register:encodedUrlframeTag.wrap = <iframe src="http://docs.google.com/gview?url=|&embedded=true" frameborder="0"></iframe>}
Or add some alternative Link if the iframe doesn't show up (this example can also be find in ext_typoscript_setup.txt)
plugin.tx_na15docviewer_pi1 {frameTag.stdWrap.cObject = COAframeTag.stdWrap.cObject {10 = TEXT10.data = register:alternateLink10.typolink.parameter = http://docs.google.com/g view?url={register:encodedUrl}10.typolink.parameter.insertData = 120 = TEXT20.data = register:encodedUrl20.wrap = <iframe src="http://docs.google.com/gview?url=|&embedded=true" frameborder="0"></iframe>}_LOCAL_LANG {default {alternatelink = Problems? Click here!}}}
5