Version Notes
Updated referer parameter and iframe tag
Download this release
Release Info
Developer | GroupDocs |
Extension | GroupDocsViewer |
Version | 1.0.5 |
Comparing to | |
See all releases |
Code changes from version 1.0.4 to 1.0.5
app/code/local/Gdv/Groupdocsviewer/Block/Adminhtml/Cms/Page/Edit.php
CHANGED
@@ -25,9 +25,9 @@
|
|
25 |
if(ans.length<50) { alert('Sorry, but this File ID is too short'); return false; }
|
26 |
if(ans.length>70) { alert('Sorry, but this File ID is too big'); return false; }
|
27 |
// all good continue
|
28 |
-
var cmsName = 'Magento'
|
29 |
-
var cmsVersion = '1.
|
30 |
-
var iframe = '<iframe src="https://apps.groupdocs.com/document-viewer/embed/'+ans+'?&referer='+cmsName+'/'+cmsVersion+'" frameborder="0" width="600" height="400"
|
31 |
var tinyMceContent = tinyMCE.activeEditor.getContent();
|
32 |
// set content
|
33 |
tinyMCE.activeEditor.setContent(tinyMceContent+iframe);
|
25 |
if(ans.length<50) { alert('Sorry, but this File ID is too short'); return false; }
|
26 |
if(ans.length>70) { alert('Sorry, but this File ID is too big'); return false; }
|
27 |
// all good continue
|
28 |
+
var cmsName = 'Magento-Viewer'
|
29 |
+
var cmsVersion = '1.0'
|
30 |
+
var iframe = '<iframe src="https://apps.groupdocs.com/document-viewer/embed/'+ans+'?&referer='+cmsName+'/'+cmsVersion+'" frameborder="0" width="600" height="400">If you can see this text, your browser does not support iframes. Please enable iframe support in your browser or use the latest version of any popular web browser such as Mozilla Firefox or Google Chrome. For more help, please check our documentation Wiki: http://groupdocs.com/docs/display/Viewer/GroupDocs+Viewer+Integration+with+3rd+Party+Platforms</iframe>';
|
31 |
var tinyMceContent = tinyMCE.activeEditor.getContent();
|
32 |
// set content
|
33 |
tinyMCE.activeEditor.setContent(tinyMceContent+iframe);
|
package.xml
CHANGED
@@ -1,20 +1,20 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>GroupDocsViewer</name>
|
4 |
-
<version>1.0.
|
5 |
<stability>stable</stability>
|
6 |
-
<license
|
7 |
<channel>community</channel>
|
8 |
<extends/>
|
9 |
-
<summary>GroupDocs Viewer
|
10 |
-
<description>GroupDocs Viewer
|
11 |
-
|
12 |
-
|
13 |
-
<notes>
|
14 |
-
<authors><author><name>
|
15 |
-
<date>
|
16 |
-
<time>12:
|
17 |
-
<contents><target name="magelocal"><dir><dir name="Gdv"><dir name="Groupdocsviewer"><dir name="Block"><dir name="Adminhtml"><dir name="Cms"><dir name="Page"><file name="Edit.php" hash="
|
18 |
<compatible/>
|
19 |
-
<dependencies><required><php><min>5.3.0</min><max>5.4.
|
20 |
</package>
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>GroupDocsViewer</name>
|
4 |
+
<version>1.0.5</version>
|
5 |
<stability>stable</stability>
|
6 |
+
<license>GPL</license>
|
7 |
<channel>community</channel>
|
8 |
<extends/>
|
9 |
+
<summary>The GroupDocs Viewer extension for Magento lets you embed documents, complete with an online viewer, into Magento pages. Publish documents with GroupDocs Viewer plugin to get a professional look and convenient navigation.</summary>
|
10 |
+
<description>GroupDocs Viewer is an online tool that lets you upload and share documents of many different formats - DOC, DOCX, XLS, XLSX, PPT, PPTX, ODT, PDF, PNG, and many more - with others, regardless of what system or software they use. It allows you to publish documents online and make sure that they look just like you intended them to look.
|
11 |
+

|
12 |
+
With the GroupDocs Viewer extension, it is easy to embed documents with the viewer. Visitors to your site view your documents, presentations and images in a straight-forward, professional-looking interface. As GroupDocs Viewer supports all business as well as common file formats, it can be used as an HTML5 PDF viewer, Microsoft Word viewer, Excel viewer, amongst many others.</description>
|
13 |
+
<notes>Updated referer parameter and iframe tag</notes>
|
14 |
+
<authors><author><name>GroupDocs</name><user>Marketplace</user><email>marketplace@groupdocs.com</email></author></authors>
|
15 |
+
<date>2013-05-29</date>
|
16 |
+
<time>12:57:23</time>
|
17 |
+
<contents><target name="magelocal"><dir><dir name="Gdv"><dir name="Groupdocsviewer"><dir name="Block"><dir name="Adminhtml"><dir name="Cms"><dir name="Page"><file name="Edit.php" hash="b9ae2837ff68b2e5aff882225ea3afac"/></dir></dir><file name="Groupdocsviewer.php" hash="2ab98ae44c640a6f6db59b4d67c4f9aa"/></dir></dir><dir name="controllers"><dir name="Adminhtml"><file name="ViewerController.php" hash="8581889e732003b55a0a1d5cbc9ee9df"/></dir></dir><dir name="etc"><file name="config.xml" hash="d72d6a96b8bc3dcc1c09a7331f0db05f"/></dir><dir name="Helper"><file name="Data.php" hash="6bc4a4889980f633b47a37cb16d699d0"/></dir><dir name="Model"><dir name="Mysql4"><dir name="Groupdocsviewer"><file name="Collection.php" hash="5909054d74e838e456240e0c56563999"/></dir><file name="groupdocsviewer.php" hash="1522ec3ddecaf1bdaee7cb22bd51af72"/><file name="groupdocsviewer.php" hash="1522ec3ddecaf1bdaee7cb22bd51af72"/></dir><file name="groupdocsviewer.php" hash="a8bf450c76627f2f99d47dab7ce4dd8d"/></dir><dir name="sql"><dir name="Groupdocsviewer_setup"><file name="mysql4-install-0.1.0" hash="ff4a22a88da7623de400f7e5fba97a4e"/></dir></dir></dir></dir></dir></target><target name="mageetc"><dir><dir name="modules"><file name="Gdv_Groupdocsviewer.xml" hash="e7ed6019781839f87c6066c82300470c"/></dir></dir></target></contents>
|
18 |
<compatible/>
|
19 |
+
<dependencies><required><php><min>5.3.0</min><max>5.4.15</max></php></required></dependencies>
|
20 |
</package>
|