Version Notes
Client CMS name tracking was added(referer parameter in the URL)
Download this release
Release Info
Developer | Marketplace |
Extension | GroupDocsViewer |
Version | 1.0.4 |
Comparing to | |
See all releases |
Code changes from version 1.0.3 to 1.0.4
app/code/local/Gdv/Groupdocsviewer/Block/Adminhtml/Cms/Page/Edit.php
CHANGED
@@ -25,7 +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
|
|
|
|
|
29 |
var tinyMceContent = tinyMCE.activeEditor.getContent();
|
30 |
// set content
|
31 |
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'
|
29 |
+
var cmsVersion = '1.7'
|
30 |
+
var iframe = '<iframe src="https://apps.groupdocs.com/document-viewer/embed/'+ans+'?&referer='+cmsName+'/'+cmsVersion+'" frameborder="0" width="600" height="400"></iframe>';
|
31 |
var tinyMceContent = tinyMCE.activeEditor.getContent();
|
32 |
// set content
|
33 |
tinyMCE.activeEditor.setContent(tinyMceContent+iframe);
|
package.xml
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>GroupDocsViewer</name>
|
4 |
-
<version>1.0.
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://www.opensource.org/licenses/gpl-license.php">GPL</license>
|
7 |
<channel>community</channel>
|
@@ -10,11 +10,11 @@
|
|
10 |
<description>GroupDocs Viewer allow to view documents and images from GroupDocs Account. Functionalities like File Upload and GroupDocs Acc. File Browsing avalible from "ver. 1.3". 
|
11 |
GroupDocs is a next generation Document Management solution that makes it easier for businesses to collaborate, share and work with documents online. So, organise, view, annotate, compare, assemble and share all your documents with Magento
|
12 |
For more details go to: http://groupdocs.com</description>
|
13 |
-
<notes>
|
14 |
<authors><author><name>Marketplace</name><user>groupdocs</user><email>support@groupdocs.com</email></author></authors>
|
15 |
-
<date>2012-11-
|
16 |
-
<time>
|
17 |
-
<contents><target name="magelocal"><dir><dir name="Gdv"><dir name="Groupdocsviewer"><dir name="Block"><dir name="Adminhtml"><
|
18 |
<compatible/>
|
19 |
<dependencies><required><php><min>5.3.0</min><max>5.4.8</max></php></required></dependencies>
|
20 |
</package>
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>GroupDocsViewer</name>
|
4 |
+
<version>1.0.4</version>
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://www.opensource.org/licenses/gpl-license.php">GPL</license>
|
7 |
<channel>community</channel>
|
10 |
<description>GroupDocs Viewer allow to view documents and images from GroupDocs Account. Functionalities like File Upload and GroupDocs Acc. File Browsing avalible from "ver. 1.3". 
|
11 |
GroupDocs is a next generation Document Management solution that makes it easier for businesses to collaborate, share and work with documents online. So, organise, view, annotate, compare, assemble and share all your documents with Magento
|
12 |
For more details go to: http://groupdocs.com</description>
|
13 |
+
<notes>Client CMS name tracking was added(referer parameter in the URL)</notes>
|
14 |
<authors><author><name>Marketplace</name><user>groupdocs</user><email>support@groupdocs.com</email></author></authors>
|
15 |
+
<date>2012-11-30</date>
|
16 |
+
<time>12:10:33</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="a6fac9edc47727425b36e2ba869560b3"/></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.8</max></php></required></dependencies>
|
20 |
</package>
|