Version Notes
Did we add new features?
Yes
Did you fix a bunch of Bugs?
Yes
Well then, what in funkytown did you do?
Fixed a character limitation bug with imports
Added Magento Notifications to make clients aware of available updates and bug fixes on Magento Connect.
Updated Licensing.
Download this release
Release Info
Developer | Gareth Price |
Extension | Clearandfizzy_EnhancedCMS |
Version | 1.2.0 |
Comparing to | |
See all releases |
Code changes from version 1.1.2 to 1.2.0
- app/code/community/Clearandfizzy/EnhancedCMS/ABOUT.html +17 -0
- app/code/community/Clearandfizzy/EnhancedCMS/Block/Adminhtml/Cms/Block.php +1 -1
- app/code/community/Clearandfizzy/EnhancedCMS/Block/Adminhtml/Cms/Block/Grid.php +1 -1
- app/code/community/Clearandfizzy/EnhancedCMS/Block/Adminhtml/Cms/Enhanced/Abstract/Grid.php +1 -1
- app/code/community/Clearandfizzy/EnhancedCMS/Block/Adminhtml/Cms/Enhanced/Abstract/Upload.php +1 -1
- app/code/community/Clearandfizzy/EnhancedCMS/Block/Adminhtml/Cms/Enhanced/Abstract/Upload/Form.php +1 -1
- app/code/community/Clearandfizzy/EnhancedCMS/Block/Adminhtml/Cms/Enhanced/Block/Grid.php +1 -1
- app/code/community/Clearandfizzy/EnhancedCMS/Block/Adminhtml/Cms/Enhanced/Block/Upload.php +1 -1
- app/code/community/Clearandfizzy/EnhancedCMS/Block/Adminhtml/Cms/Enhanced/Block/Upload/Form.php +1 -1
- app/code/community/Clearandfizzy/EnhancedCMS/Block/Adminhtml/Cms/Enhanced/Page/Grid.php +1 -1
- app/code/community/Clearandfizzy/EnhancedCMS/Block/Adminhtml/Cms/Enhanced/Page/Upload.php +1 -1
- app/code/community/Clearandfizzy/EnhancedCMS/Block/Adminhtml/Cms/Enhanced/Page/Upload/Form.php +1 -1
- app/code/community/Clearandfizzy/EnhancedCMS/Block/Adminhtml/Cms/Page.php +1 -1
- app/code/community/Clearandfizzy/EnhancedCMS/Block/Adminhtml/Cms/Page/Grid.php +1 -1
- app/code/community/Clearandfizzy/EnhancedCMS/Helper/Data.php +28 -4
- app/code/community/Clearandfizzy/EnhancedCMS/Model/Import/Abstract/Csv.php +29 -5
- app/code/community/Clearandfizzy/EnhancedCMS/Model/Import/Block.php +28 -4
- app/code/community/Clearandfizzy/EnhancedCMS/Model/Import/Block/Csv.php +28 -4
- app/code/community/Clearandfizzy/EnhancedCMS/Model/Import/Page.php +28 -4
- app/code/community/Clearandfizzy/EnhancedCMS/Model/Import/Page/Csv.php +28 -4
- app/code/community/Clearandfizzy/EnhancedCMS/Model/Notification/Feed.php +55 -0
- app/code/community/Clearandfizzy/EnhancedCMS/Model/Observer/.DS_Store +0 -0
- app/code/community/Clearandfizzy/EnhancedCMS/Model/Observer/Notification/Feed.php +40 -0
- app/code/community/Clearandfizzy/EnhancedCMS/README.txt +3 -0
- app/code/community/Clearandfizzy/EnhancedCMS/controllers/Adminhtml/Cms/Enhanced/BlockController.php +27 -6
- app/code/community/Clearandfizzy/EnhancedCMS/controllers/Adminhtml/Cms/Enhanced/PageController.php +28 -4
- app/code/community/Clearandfizzy/EnhancedCMS/etc/adminhtml.xml +22 -7
- app/code/community/Clearandfizzy/EnhancedCMS/etc/config.xml +43 -9
- app/code/community/Clearandfizzy/EnhancedCMS/etc/system.xml +23 -10
- package.xml +17 -15
app/code/community/Clearandfizzy/EnhancedCMS/ABOUT.html
ADDED
@@ -0,0 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<p>Export and Import CMS Pages & Static Blocks between servers via CSV files</p>
|
2 |
+
|
3 |
+
<h2>About Enhanced CMS</h2>
|
4 |
+
<p>Often our Content Management teams need to develop and test their content
|
5 |
+
on a staging or local server before synchronising their changes across to our production database.
|
6 |
+
Using this extension you can export and import CMS Pages & Static Blocks from one server
|
7 |
+
to another via CSV Files.</p>
|
8 |
+
|
9 |
+
<h2>Key Features</h2>
|
10 |
+
<p>
|
11 |
+
<strong>*</strong> Export / Import CMS > Static Blocks as a CSV File.<br />
|
12 |
+
<strong>*</strong> Export / Import CMS > Pages as a CSV File.
|
13 |
+
</p>
|
14 |
+
|
15 |
+
<h2>Support and Guarantee</h2>
|
16 |
+
<p>This is a FREE plugin and comes with limited email support.</p>
|
17 |
+
<p>Please note that this extension is provided as is. It is recommended to always backup your installation prior to use.</p>
|
app/code/community/Clearandfizzy/EnhancedCMS/Block/Adminhtml/Cms/Block.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
/**
|
3 |
* @category Clearandfizzy
|
4 |
* @package Clearandfizzy_EnhancedCMS
|
5 |
-
* @copyright Copyright (c)
|
6 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
7 |
*
|
8 |
*/
|
2 |
/**
|
3 |
* @category Clearandfizzy
|
4 |
* @package Clearandfizzy_EnhancedCMS
|
5 |
+
* @copyright Copyright (c) 2015 Clearandfizzy Ltd. (http://www.clearandfizzy.com/)
|
6 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
7 |
*
|
8 |
*/
|
app/code/community/Clearandfizzy/EnhancedCMS/Block/Adminhtml/Cms/Block/Grid.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
/**
|
3 |
* @category Clearandfizzy
|
4 |
* @package Clearandfizzy_EnhancedCMS
|
5 |
-
* @copyright Copyright (c)
|
6 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
7 |
*
|
8 |
*/
|
2 |
/**
|
3 |
* @category Clearandfizzy
|
4 |
* @package Clearandfizzy_EnhancedCMS
|
5 |
+
* @copyright Copyright (c) 2015 Clearandfizzy Ltd. (http://www.clearandfizzy.com/)
|
6 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
7 |
*
|
8 |
*/
|
app/code/community/Clearandfizzy/EnhancedCMS/Block/Adminhtml/Cms/Enhanced/Abstract/Grid.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
/**
|
3 |
* @category Clearandfizzy
|
4 |
* @package Clearandfizzy_EnhancedCMS
|
5 |
-
* @copyright Copyright (c)
|
6 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
7 |
*
|
8 |
*/
|
2 |
/**
|
3 |
* @category Clearandfizzy
|
4 |
* @package Clearandfizzy_EnhancedCMS
|
5 |
+
* @copyright Copyright (c) 2015 Clearandfizzy Ltd. (http://www.clearandfizzy.com/)
|
6 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
7 |
*
|
8 |
*/
|
app/code/community/Clearandfizzy/EnhancedCMS/Block/Adminhtml/Cms/Enhanced/Abstract/Upload.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
/**
|
3 |
* @category Clearandfizzy
|
4 |
* @package Clearandfizzy_EnhancedCMS
|
5 |
-
* @copyright Copyright (c)
|
6 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
7 |
*
|
8 |
*/
|
2 |
/**
|
3 |
* @category Clearandfizzy
|
4 |
* @package Clearandfizzy_EnhancedCMS
|
5 |
+
* @copyright Copyright (c) 2015 Clearandfizzy Ltd. (http://www.clearandfizzy.com/)
|
6 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
7 |
*
|
8 |
*/
|
app/code/community/Clearandfizzy/EnhancedCMS/Block/Adminhtml/Cms/Enhanced/Abstract/Upload/Form.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
/**
|
3 |
* @category Clearandfizzy
|
4 |
* @package Clearandfizzy_EnhancedCMS
|
5 |
-
* @copyright Copyright (c)
|
6 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
7 |
*
|
8 |
*/
|
2 |
/**
|
3 |
* @category Clearandfizzy
|
4 |
* @package Clearandfizzy_EnhancedCMS
|
5 |
+
* @copyright Copyright (c) 2015 Clearandfizzy Ltd. (http://www.clearandfizzy.com/)
|
6 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
7 |
*
|
8 |
*/
|
app/code/community/Clearandfizzy/EnhancedCMS/Block/Adminhtml/Cms/Enhanced/Block/Grid.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
/**
|
3 |
* @category Clearandfizzy
|
4 |
* @package Clearandfizzy_EnhancedCMS
|
5 |
-
* @copyright Copyright (c)
|
6 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
7 |
*
|
8 |
*/
|
2 |
/**
|
3 |
* @category Clearandfizzy
|
4 |
* @package Clearandfizzy_EnhancedCMS
|
5 |
+
* @copyright Copyright (c) 2015 Clearandfizzy Ltd. (http://www.clearandfizzy.com/)
|
6 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
7 |
*
|
8 |
*/
|
app/code/community/Clearandfizzy/EnhancedCMS/Block/Adminhtml/Cms/Enhanced/Block/Upload.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
/**
|
3 |
* @category Clearandfizzy
|
4 |
* @package Clearandfizzy_EnhancedCMS
|
5 |
-
* @copyright Copyright (c)
|
6 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
7 |
*
|
8 |
*/
|
2 |
/**
|
3 |
* @category Clearandfizzy
|
4 |
* @package Clearandfizzy_EnhancedCMS
|
5 |
+
* @copyright Copyright (c) 2015 Clearandfizzy Ltd. (http://www.clearandfizzy.com/)
|
6 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
7 |
*
|
8 |
*/
|
app/code/community/Clearandfizzy/EnhancedCMS/Block/Adminhtml/Cms/Enhanced/Block/Upload/Form.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
/**
|
3 |
* @category Clearandfizzy
|
4 |
* @package Clearandfizzy_EnhancedCMS
|
5 |
-
* @copyright Copyright (c)
|
6 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
7 |
*
|
8 |
*/
|
2 |
/**
|
3 |
* @category Clearandfizzy
|
4 |
* @package Clearandfizzy_EnhancedCMS
|
5 |
+
* @copyright Copyright (c) 2015 Clearandfizzy Ltd. (http://www.clearandfizzy.com/)
|
6 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
7 |
*
|
8 |
*/
|
app/code/community/Clearandfizzy/EnhancedCMS/Block/Adminhtml/Cms/Enhanced/Page/Grid.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
/**
|
3 |
* @category Clearandfizzy
|
4 |
* @package Clearandfizzy_EnhancedCMS
|
5 |
-
* @copyright Copyright (c)
|
6 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
7 |
*
|
8 |
*/
|
2 |
/**
|
3 |
* @category Clearandfizzy
|
4 |
* @package Clearandfizzy_EnhancedCMS
|
5 |
+
* @copyright Copyright (c) 2015 Clearandfizzy Ltd. (http://www.clearandfizzy.com/)
|
6 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
7 |
*
|
8 |
*/
|
app/code/community/Clearandfizzy/EnhancedCMS/Block/Adminhtml/Cms/Enhanced/Page/Upload.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
/**
|
3 |
* @category Clearandfizzy
|
4 |
* @package Clearandfizzy_EnhancedCMS
|
5 |
-
* @copyright Copyright (c)
|
6 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
7 |
*
|
8 |
*/
|
2 |
/**
|
3 |
* @category Clearandfizzy
|
4 |
* @package Clearandfizzy_EnhancedCMS
|
5 |
+
* @copyright Copyright (c) 2015 Clearandfizzy Ltd. (http://www.clearandfizzy.com/)
|
6 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
7 |
*
|
8 |
*/
|
app/code/community/Clearandfizzy/EnhancedCMS/Block/Adminhtml/Cms/Enhanced/Page/Upload/Form.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
/**
|
3 |
* @category Clearandfizzy
|
4 |
* @package Clearandfizzy_EnhancedCMS
|
5 |
-
* @copyright Copyright (c)
|
6 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
7 |
*
|
8 |
*/
|
2 |
/**
|
3 |
* @category Clearandfizzy
|
4 |
* @package Clearandfizzy_EnhancedCMS
|
5 |
+
* @copyright Copyright (c) 2015 Clearandfizzy Ltd. (http://www.clearandfizzy.com/)
|
6 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
7 |
*
|
8 |
*/
|
app/code/community/Clearandfizzy/EnhancedCMS/Block/Adminhtml/Cms/Page.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
/**
|
3 |
* @category Clearandfizzy
|
4 |
* @package Clearandfizzy_EnhancedCMS
|
5 |
-
* @copyright Copyright (c)
|
6 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
7 |
*
|
8 |
*/
|
2 |
/**
|
3 |
* @category Clearandfizzy
|
4 |
* @package Clearandfizzy_EnhancedCMS
|
5 |
+
* @copyright Copyright (c) 2015 Clearandfizzy Ltd. (http://www.clearandfizzy.com/)
|
6 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
7 |
*
|
8 |
*/
|
app/code/community/Clearandfizzy/EnhancedCMS/Block/Adminhtml/Cms/Page/Grid.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
/**
|
3 |
* @category Clearandfizzy
|
4 |
* @package Clearandfizzy_EnhancedCMS
|
5 |
-
* @copyright Copyright (c)
|
6 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
7 |
*
|
8 |
*/
|
2 |
/**
|
3 |
* @category Clearandfizzy
|
4 |
* @package Clearandfizzy_EnhancedCMS
|
5 |
+
* @copyright Copyright (c) 2015 Clearandfizzy Ltd. (http://www.clearandfizzy.com/)
|
6 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
7 |
*
|
8 |
*/
|
app/code/community/Clearandfizzy/EnhancedCMS/Helper/Data.php
CHANGED
@@ -1,11 +1,35 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
-
*
|
4 |
-
*
|
5 |
-
*
|
6 |
-
*
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
7 |
*
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
8 |
*/
|
|
|
9 |
class Clearandfizzy_EnhancedCMS_Helper_Data extends Mage_Core_Helper_Abstract {
|
10 |
|
11 |
public function getImportPath() {
|
1 |
<?php
|
2 |
/**
|
3 |
+
* Clearandfizzy
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
*
|
8 |
+
* THE WORK (AS DEFINED BELOW) IS PROVIDED UNDER THE TERMS OF THIS CREATIVE
|
9 |
+
* COMMONS PUBLIC LICENSE ("CCPL" OR "LICENSE"). THE WORK IS PROTECTED BY
|
10 |
+
* COPYRIGHT AND/OR OTHER APPLICABLE LAW. ANY USE OF THE WORK OTHER THAN AS
|
11 |
+
* AUTHORIZED UNDER THIS LICENSE OR COPYRIGHT LAW IS PROHIBITED.
|
12 |
+
|
13 |
+
* BY EXERCISING ANY RIGHTS TO THE WORK PROVIDED HERE, YOU ACCEPT AND AGREE
|
14 |
+
* TO BE BOUND BY THE TERMS OF THIS LICENSE. TO THE EXTENT THIS LICENSE MAY
|
15 |
+
* BE CONSIDERED TO BE A CONTRACT, THE LICENSOR GRANTS YOU THE RIGHTS
|
16 |
+
* CONTAINED HERE IN CONSIDERATION OF YOUR ACCEPTANCE OF SUCH TERMS AND
|
17 |
+
* CONDITIONS.
|
18 |
*
|
19 |
+
* DISCLAIMER
|
20 |
+
*
|
21 |
+
* Do not edit or add to this file if you wish to upgrade this extension to newer
|
22 |
+
* versions in the future. If you wish to customize this extension for your
|
23 |
+
* needs please refer to http://www.clearandfizzy.com for more information.
|
24 |
+
*
|
25 |
+
* @category Community
|
26 |
+
* @package Clearandfizzy_EnhancedCMS
|
27 |
+
* @copyright Copyright (c) 2015 Clearandfizzy Ltd. (http://www.clearandfizzy.com)
|
28 |
+
* @license http://www.clearandfizzy.com/licence.txt
|
29 |
+
* @author Gareth Price <gareth@clearandfizzy.com>
|
30 |
+
*
|
31 |
*/
|
32 |
+
|
33 |
class Clearandfizzy_EnhancedCMS_Helper_Data extends Mage_Core_Helper_Abstract {
|
34 |
|
35 |
public function getImportPath() {
|
app/code/community/Clearandfizzy/EnhancedCMS/Model/Import/Abstract/Csv.php
CHANGED
@@ -1,11 +1,35 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
-
*
|
4 |
-
*
|
5 |
-
*
|
6 |
-
*
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
7 |
*
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
8 |
*/
|
|
|
9 |
class Clearandfizzy_EnhancedCMS_Model_Import_Abstract_Csv extends Mage_Core_Model_Abstract {
|
10 |
|
11 |
private $array_delimiter = ';';
|
@@ -33,7 +57,7 @@ class Clearandfizzy_EnhancedCMS_Model_Import_Abstract_Csv extends Mage_Core_Mode
|
|
33 |
if ( $handle != null ) {
|
34 |
|
35 |
// loop thru all rows
|
36 |
-
while (($data = fgetcsv($handle,
|
37 |
$row++;
|
38 |
|
39 |
// if this is the head row keep this as a column reference
|
1 |
<?php
|
2 |
/**
|
3 |
+
* Clearandfizzy
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
*
|
8 |
+
* THE WORK (AS DEFINED BELOW) IS PROVIDED UNDER THE TERMS OF THIS CREATIVE
|
9 |
+
* COMMONS PUBLIC LICENSE ("CCPL" OR "LICENSE"). THE WORK IS PROTECTED BY
|
10 |
+
* COPYRIGHT AND/OR OTHER APPLICABLE LAW. ANY USE OF THE WORK OTHER THAN AS
|
11 |
+
* AUTHORIZED UNDER THIS LICENSE OR COPYRIGHT LAW IS PROHIBITED.
|
12 |
+
|
13 |
+
* BY EXERCISING ANY RIGHTS TO THE WORK PROVIDED HERE, YOU ACCEPT AND AGREE
|
14 |
+
* TO BE BOUND BY THE TERMS OF THIS LICENSE. TO THE EXTENT THIS LICENSE MAY
|
15 |
+
* BE CONSIDERED TO BE A CONTRACT, THE LICENSOR GRANTS YOU THE RIGHTS
|
16 |
+
* CONTAINED HERE IN CONSIDERATION OF YOUR ACCEPTANCE OF SUCH TERMS AND
|
17 |
+
* CONDITIONS.
|
18 |
*
|
19 |
+
* DISCLAIMER
|
20 |
+
*
|
21 |
+
* Do not edit or add to this file if you wish to upgrade this extension to newer
|
22 |
+
* versions in the future. If you wish to customize this extension for your
|
23 |
+
* needs please refer to http://www.clearandfizzy.com for more information.
|
24 |
+
*
|
25 |
+
* @category Community
|
26 |
+
* @package Clearandfizzy_EnhancedCMS
|
27 |
+
* @copyright Copyright (c) 2015 Clearandfizzy Ltd. (http://www.clearandfizzy.com)
|
28 |
+
* @license http://www.clearandfizzy.com/licence.txt
|
29 |
+
* @author Gareth Price <gareth@clearandfizzy.com>
|
30 |
+
*
|
31 |
*/
|
32 |
+
|
33 |
class Clearandfizzy_EnhancedCMS_Model_Import_Abstract_Csv extends Mage_Core_Model_Abstract {
|
34 |
|
35 |
private $array_delimiter = ';';
|
57 |
if ( $handle != null ) {
|
58 |
|
59 |
// loop thru all rows
|
60 |
+
while (($data = fgetcsv($handle, 0, $this->delimiter)) !== FALSE) {
|
61 |
$row++;
|
62 |
|
63 |
// if this is the head row keep this as a column reference
|
app/code/community/Clearandfizzy/EnhancedCMS/Model/Import/Block.php
CHANGED
@@ -1,11 +1,35 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
-
*
|
4 |
-
*
|
5 |
-
*
|
6 |
-
*
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
7 |
*
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
8 |
*/
|
|
|
9 |
class Clearandfizzy_EnhancedCMS_Model_Import_Block extends Mage_Core_Model_Abstract {
|
10 |
|
11 |
|
1 |
<?php
|
2 |
/**
|
3 |
+
* Clearandfizzy
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
*
|
8 |
+
* THE WORK (AS DEFINED BELOW) IS PROVIDED UNDER THE TERMS OF THIS CREATIVE
|
9 |
+
* COMMONS PUBLIC LICENSE ("CCPL" OR "LICENSE"). THE WORK IS PROTECTED BY
|
10 |
+
* COPYRIGHT AND/OR OTHER APPLICABLE LAW. ANY USE OF THE WORK OTHER THAN AS
|
11 |
+
* AUTHORIZED UNDER THIS LICENSE OR COPYRIGHT LAW IS PROHIBITED.
|
12 |
+
|
13 |
+
* BY EXERCISING ANY RIGHTS TO THE WORK PROVIDED HERE, YOU ACCEPT AND AGREE
|
14 |
+
* TO BE BOUND BY THE TERMS OF THIS LICENSE. TO THE EXTENT THIS LICENSE MAY
|
15 |
+
* BE CONSIDERED TO BE A CONTRACT, THE LICENSOR GRANTS YOU THE RIGHTS
|
16 |
+
* CONTAINED HERE IN CONSIDERATION OF YOUR ACCEPTANCE OF SUCH TERMS AND
|
17 |
+
* CONDITIONS.
|
18 |
*
|
19 |
+
* DISCLAIMER
|
20 |
+
*
|
21 |
+
* Do not edit or add to this file if you wish to upgrade this extension to newer
|
22 |
+
* versions in the future. If you wish to customize this extension for your
|
23 |
+
* needs please refer to http://www.clearandfizzy.com for more information.
|
24 |
+
*
|
25 |
+
* @category Community
|
26 |
+
* @package Clearandfizzy_EnhancedCMS
|
27 |
+
* @copyright Copyright (c) 2015 Clearandfizzy Ltd. (http://www.clearandfizzy.com)
|
28 |
+
* @license http://www.clearandfizzy.com/licence.txt
|
29 |
+
* @author Gareth Price <gareth@clearandfizzy.com>
|
30 |
+
*
|
31 |
*/
|
32 |
+
|
33 |
class Clearandfizzy_EnhancedCMS_Model_Import_Block extends Mage_Core_Model_Abstract {
|
34 |
|
35 |
|
app/code/community/Clearandfizzy/EnhancedCMS/Model/Import/Block/Csv.php
CHANGED
@@ -1,11 +1,35 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
-
*
|
4 |
-
*
|
5 |
-
*
|
6 |
-
*
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
7 |
*
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
8 |
*/
|
|
|
9 |
class Clearandfizzy_EnhancedCMS_Model_Import_Block_Csv extends Clearandfizzy_EnhancedCMS_Model_Import_Abstract_Csv {
|
10 |
|
11 |
private $array_delimiter = ';';
|
1 |
<?php
|
2 |
/**
|
3 |
+
* Clearandfizzy
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
*
|
8 |
+
* THE WORK (AS DEFINED BELOW) IS PROVIDED UNDER THE TERMS OF THIS CREATIVE
|
9 |
+
* COMMONS PUBLIC LICENSE ("CCPL" OR "LICENSE"). THE WORK IS PROTECTED BY
|
10 |
+
* COPYRIGHT AND/OR OTHER APPLICABLE LAW. ANY USE OF THE WORK OTHER THAN AS
|
11 |
+
* AUTHORIZED UNDER THIS LICENSE OR COPYRIGHT LAW IS PROHIBITED.
|
12 |
+
|
13 |
+
* BY EXERCISING ANY RIGHTS TO THE WORK PROVIDED HERE, YOU ACCEPT AND AGREE
|
14 |
+
* TO BE BOUND BY THE TERMS OF THIS LICENSE. TO THE EXTENT THIS LICENSE MAY
|
15 |
+
* BE CONSIDERED TO BE A CONTRACT, THE LICENSOR GRANTS YOU THE RIGHTS
|
16 |
+
* CONTAINED HERE IN CONSIDERATION OF YOUR ACCEPTANCE OF SUCH TERMS AND
|
17 |
+
* CONDITIONS.
|
18 |
*
|
19 |
+
* DISCLAIMER
|
20 |
+
*
|
21 |
+
* Do not edit or add to this file if you wish to upgrade this extension to newer
|
22 |
+
* versions in the future. If you wish to customize this extension for your
|
23 |
+
* needs please refer to http://www.clearandfizzy.com for more information.
|
24 |
+
*
|
25 |
+
* @category Community
|
26 |
+
* @package Clearandfizzy_EnhancedCMS
|
27 |
+
* @copyright Copyright (c) 2015 Clearandfizzy Ltd. (http://www.clearandfizzy.com)
|
28 |
+
* @license http://www.clearandfizzy.com/licence.txt
|
29 |
+
* @author Gareth Price <gareth@clearandfizzy.com>
|
30 |
+
*
|
31 |
*/
|
32 |
+
|
33 |
class Clearandfizzy_EnhancedCMS_Model_Import_Block_Csv extends Clearandfizzy_EnhancedCMS_Model_Import_Abstract_Csv {
|
34 |
|
35 |
private $array_delimiter = ';';
|
app/code/community/Clearandfizzy/EnhancedCMS/Model/Import/Page.php
CHANGED
@@ -1,11 +1,35 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
-
*
|
4 |
-
*
|
5 |
-
*
|
6 |
-
*
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
7 |
*
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
8 |
*/
|
|
|
9 |
class Clearandfizzy_EnhancedCMS_Model_Import_Page extends Mage_Core_Model_Abstract {
|
10 |
|
11 |
|
1 |
<?php
|
2 |
/**
|
3 |
+
* Clearandfizzy
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
*
|
8 |
+
* THE WORK (AS DEFINED BELOW) IS PROVIDED UNDER THE TERMS OF THIS CREATIVE
|
9 |
+
* COMMONS PUBLIC LICENSE ("CCPL" OR "LICENSE"). THE WORK IS PROTECTED BY
|
10 |
+
* COPYRIGHT AND/OR OTHER APPLICABLE LAW. ANY USE OF THE WORK OTHER THAN AS
|
11 |
+
* AUTHORIZED UNDER THIS LICENSE OR COPYRIGHT LAW IS PROHIBITED.
|
12 |
+
|
13 |
+
* BY EXERCISING ANY RIGHTS TO THE WORK PROVIDED HERE, YOU ACCEPT AND AGREE
|
14 |
+
* TO BE BOUND BY THE TERMS OF THIS LICENSE. TO THE EXTENT THIS LICENSE MAY
|
15 |
+
* BE CONSIDERED TO BE A CONTRACT, THE LICENSOR GRANTS YOU THE RIGHTS
|
16 |
+
* CONTAINED HERE IN CONSIDERATION OF YOUR ACCEPTANCE OF SUCH TERMS AND
|
17 |
+
* CONDITIONS.
|
18 |
*
|
19 |
+
* DISCLAIMER
|
20 |
+
*
|
21 |
+
* Do not edit or add to this file if you wish to upgrade this extension to newer
|
22 |
+
* versions in the future. If you wish to customize this extension for your
|
23 |
+
* needs please refer to http://www.clearandfizzy.com for more information.
|
24 |
+
*
|
25 |
+
* @category Community
|
26 |
+
* @package Clearandfizzy_EnhancedCMS
|
27 |
+
* @copyright Copyright (c) 2015 Clearandfizzy Ltd. (http://www.clearandfizzy.com)
|
28 |
+
* @license http://www.clearandfizzy.com/licence.txt
|
29 |
+
* @author Gareth Price <gareth@clearandfizzy.com>
|
30 |
+
*
|
31 |
*/
|
32 |
+
|
33 |
class Clearandfizzy_EnhancedCMS_Model_Import_Page extends Mage_Core_Model_Abstract {
|
34 |
|
35 |
|
app/code/community/Clearandfizzy/EnhancedCMS/Model/Import/Page/Csv.php
CHANGED
@@ -1,11 +1,35 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
-
*
|
4 |
-
*
|
5 |
-
*
|
6 |
-
*
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
7 |
*
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
8 |
*/
|
|
|
9 |
class Clearandfizzy_EnhancedCMS_Model_Import_Page_Csv extends Clearandfizzy_EnhancedCMS_Model_Import_Abstract_Csv {
|
10 |
|
11 |
private $array_delimiter = ';';
|
1 |
<?php
|
2 |
/**
|
3 |
+
* Clearandfizzy
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
*
|
8 |
+
* THE WORK (AS DEFINED BELOW) IS PROVIDED UNDER THE TERMS OF THIS CREATIVE
|
9 |
+
* COMMONS PUBLIC LICENSE ("CCPL" OR "LICENSE"). THE WORK IS PROTECTED BY
|
10 |
+
* COPYRIGHT AND/OR OTHER APPLICABLE LAW. ANY USE OF THE WORK OTHER THAN AS
|
11 |
+
* AUTHORIZED UNDER THIS LICENSE OR COPYRIGHT LAW IS PROHIBITED.
|
12 |
+
|
13 |
+
* BY EXERCISING ANY RIGHTS TO THE WORK PROVIDED HERE, YOU ACCEPT AND AGREE
|
14 |
+
* TO BE BOUND BY THE TERMS OF THIS LICENSE. TO THE EXTENT THIS LICENSE MAY
|
15 |
+
* BE CONSIDERED TO BE A CONTRACT, THE LICENSOR GRANTS YOU THE RIGHTS
|
16 |
+
* CONTAINED HERE IN CONSIDERATION OF YOUR ACCEPTANCE OF SUCH TERMS AND
|
17 |
+
* CONDITIONS.
|
18 |
*
|
19 |
+
* DISCLAIMER
|
20 |
+
*
|
21 |
+
* Do not edit or add to this file if you wish to upgrade this extension to newer
|
22 |
+
* versions in the future. If you wish to customize this extension for your
|
23 |
+
* needs please refer to http://www.clearandfizzy.com for more information.
|
24 |
+
*
|
25 |
+
* @category Community
|
26 |
+
* @package Clearandfizzy_EnhancedCMS
|
27 |
+
* @copyright Copyright (c) 2015 Clearandfizzy Ltd. (http://www.clearandfizzy.com)
|
28 |
+
* @license http://www.clearandfizzy.com/licence.txt
|
29 |
+
* @author Gareth Price <gareth@clearandfizzy.com>
|
30 |
+
*
|
31 |
*/
|
32 |
+
|
33 |
class Clearandfizzy_EnhancedCMS_Model_Import_Page_Csv extends Clearandfizzy_EnhancedCMS_Model_Import_Abstract_Csv {
|
34 |
|
35 |
private $array_delimiter = ';';
|
app/code/community/Clearandfizzy/EnhancedCMS/Model/Notification/Feed.php
ADDED
@@ -0,0 +1,55 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Clearandfizzy
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
*
|
8 |
+
* THE WORK (AS DEFINED BELOW) IS PROVIDED UNDER THE TERMS OF THIS CREATIVE
|
9 |
+
* COMMONS PUBLIC LICENSE ("CCPL" OR "LICENSE"). THE WORK IS PROTECTED BY
|
10 |
+
* COPYRIGHT AND/OR OTHER APPLICABLE LAW. ANY USE OF THE WORK OTHER THAN AS
|
11 |
+
* AUTHORIZED UNDER THIS LICENSE OR COPYRIGHT LAW IS PROHIBITED.
|
12 |
+
|
13 |
+
* BY EXERCISING ANY RIGHTS TO THE WORK PROVIDED HERE, YOU ACCEPT AND AGREE
|
14 |
+
* TO BE BOUND BY THE TERMS OF THIS LICENSE. TO THE EXTENT THIS LICENSE MAY
|
15 |
+
* BE CONSIDERED TO BE A CONTRACT, THE LICENSOR GRANTS YOU THE RIGHTS
|
16 |
+
* CONTAINED HERE IN CONSIDERATION OF YOUR ACCEPTANCE OF SUCH TERMS AND
|
17 |
+
* CONDITIONS.
|
18 |
+
*
|
19 |
+
* DISCLAIMER
|
20 |
+
*
|
21 |
+
* Do not edit or add to this file if you wish to upgrade this extension to newer
|
22 |
+
* versions in the future. If you wish to customize this extension for your
|
23 |
+
* needs please refer to http://www.clearandfizzy.com for more information.
|
24 |
+
*
|
25 |
+
* @category Community
|
26 |
+
* @package Clearandfizzy_EnhancedCMS
|
27 |
+
* @copyright Copyright (c) 2015 Clearandfizzy ltd. (http://www.clearandfizzy.com)
|
28 |
+
* @license http://www.clearandfizzy.com/license.txt
|
29 |
+
* @author Gareth Price <gareth@clearandfizzy.com>
|
30 |
+
*
|
31 |
+
*/
|
32 |
+
class Clearandfizzy_EnhancedCMS_Model_Notification_Feed extends Mage_AdminNotification_Model_Feed {
|
33 |
+
|
34 |
+
const XML_FEED_URL_PATH = 'clearandfizzy_enhancedcms_settings/adminnotification/feed_url';
|
35 |
+
|
36 |
+
|
37 |
+
/**
|
38 |
+
* Because we're using Constants we need to pull this code into the right scope.
|
39 |
+
* (non-PHPdoc)
|
40 |
+
* @see Mage_AdminNotification_Model_Feed::getFeedUrl()
|
41 |
+
*/
|
42 |
+
public function getFeedUrl()
|
43 |
+
{
|
44 |
+
|
45 |
+
if (is_null($this->_feedUrl)) {
|
46 |
+
// $this->_feedUrl = (Mage::getStoreConfigFlag(self::XML_USE_HTTPS_PATH) ? 'https://' : 'http://')
|
47 |
+
// . Mage::getStoreConfig(self::XML_FEED_URL_PATH);
|
48 |
+
|
49 |
+
$this->_feedUrl = 'http://' . Mage::getStoreConfig(self::XML_FEED_URL_PATH) . "?h=" . Mage::getBaseUrl();
|
50 |
+
}
|
51 |
+
|
52 |
+
return $this->_feedUrl;
|
53 |
+
}
|
54 |
+
|
55 |
+
} // end
|
app/code/community/Clearandfizzy/EnhancedCMS/Model/Observer/.DS_Store
ADDED
Binary file
|
app/code/community/Clearandfizzy/EnhancedCMS/Model/Observer/Notification/Feed.php
ADDED
@@ -0,0 +1,40 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Clearandfizzy
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
*
|
8 |
+
* THE WORK (AS DEFINED BELOW) IS PROVIDED UNDER THE TERMS OF THIS CREATIVE
|
9 |
+
* COMMONS PUBLIC LICENSE ("CCPL" OR "LICENSE"). THE WORK IS PROTECTED BY
|
10 |
+
* COPYRIGHT AND/OR OTHER APPLICABLE LAW. ANY USE OF THE WORK OTHER THAN AS
|
11 |
+
* AUTHORIZED UNDER THIS LICENSE OR COPYRIGHT LAW IS PROHIBITED.
|
12 |
+
|
13 |
+
* BY EXERCISING ANY RIGHTS TO THE WORK PROVIDED HERE, YOU ACCEPT AND AGREE
|
14 |
+
* TO BE BOUND BY THE TERMS OF THIS LICENSE. TO THE EXTENT THIS LICENSE MAY
|
15 |
+
* BE CONSIDERED TO BE A CONTRACT, THE LICENSOR GRANTS YOU THE RIGHTS
|
16 |
+
* CONTAINED HERE IN CONSIDERATION OF YOUR ACCEPTANCE OF SUCH TERMS AND
|
17 |
+
* CONDITIONS.
|
18 |
+
*
|
19 |
+
* DISCLAIMER
|
20 |
+
*
|
21 |
+
* Do not edit or add to this file if you wish to upgrade this extension to newer
|
22 |
+
* versions in the future. If you wish to customize this extension for your
|
23 |
+
* needs please refer to http://www.clearandfizzy.com for more information.
|
24 |
+
*
|
25 |
+
* @category Community
|
26 |
+
* @package Clearandfizzy_EnhancedCMS
|
27 |
+
* @copyright Copyright (c) 2015 Clearandfizzy ltd. (http://www.clearandfizzy.com)
|
28 |
+
* @license http://www.clearandfizzy.com/license.txt
|
29 |
+
* @author Gareth Price <gareth@clearandfizzy.com>
|
30 |
+
*
|
31 |
+
*/
|
32 |
+
class Clearandfizzy_EnhancedCMS_Model_Observer_Notification_Feed {
|
33 |
+
|
34 |
+
public function preDispatch() {
|
35 |
+
$model = Mage::getModel('clearandfizzy_enhancedcms/notification_feed');
|
36 |
+
|
37 |
+
$model->checkUpdate();
|
38 |
+
} // end
|
39 |
+
|
40 |
+
} // end
|
app/code/community/Clearandfizzy/EnhancedCMS/README.txt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
1 |
+
ABOUT
|
2 |
+
--
|
3 |
+
Export and Import CMS Pages & Static Blocks between servers via CSV files.
|
app/code/community/Clearandfizzy/EnhancedCMS/controllers/Adminhtml/Cms/Enhanced/BlockController.php
CHANGED
@@ -1,13 +1,34 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
-
*
|
4 |
-
*
|
5 |
-
*
|
6 |
-
*
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
7 |
*
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
8 |
*/
|
9 |
-
|
10 |
-
|
11 |
require_once 'Mage/Adminhtml/controllers/Cms/BlockController.php';
|
12 |
class Clearandfizzy_EnhancedCMS_Adminhtml_Cms_Enhanced_BlockController extends Mage_Adminhtml_Cms_BlockController {
|
13 |
|
1 |
<?php
|
2 |
/**
|
3 |
+
* Clearandfizzy
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
*
|
8 |
+
* THE WORK (AS DEFINED BELOW) IS PROVIDED UNDER THE TERMS OF THIS CREATIVE
|
9 |
+
* COMMONS PUBLIC LICENSE ("CCPL" OR "LICENSE"). THE WORK IS PROTECTED BY
|
10 |
+
* COPYRIGHT AND/OR OTHER APPLICABLE LAW. ANY USE OF THE WORK OTHER THAN AS
|
11 |
+
* AUTHORIZED UNDER THIS LICENSE OR COPYRIGHT LAW IS PROHIBITED.
|
12 |
+
|
13 |
+
* BY EXERCISING ANY RIGHTS TO THE WORK PROVIDED HERE, YOU ACCEPT AND AGREE
|
14 |
+
* TO BE BOUND BY THE TERMS OF THIS LICENSE. TO THE EXTENT THIS LICENSE MAY
|
15 |
+
* BE CONSIDERED TO BE A CONTRACT, THE LICENSOR GRANTS YOU THE RIGHTS
|
16 |
+
* CONTAINED HERE IN CONSIDERATION OF YOUR ACCEPTANCE OF SUCH TERMS AND
|
17 |
+
* CONDITIONS.
|
18 |
+
*
|
19 |
+
* DISCLAIMER
|
20 |
*
|
21 |
+
* Do not edit or add to this file if you wish to upgrade this extension to newer
|
22 |
+
* versions in the future. If you wish to customize this extension for your
|
23 |
+
* needs please refer to http://www.clearandfizzy.com for more information.
|
24 |
+
*
|
25 |
+
* @category Community
|
26 |
+
* @package Clearandfizzy_EnhancedCMS
|
27 |
+
* @copyright Copyright (c) 2015 Clearandfizzy Ltd. (http://www.clearandfizzy.com)
|
28 |
+
* @license http://www.clearandfizzy.com/licence.txt
|
29 |
+
* @author Gareth Price <gareth@clearandfizzy.com>
|
30 |
+
*
|
31 |
*/
|
|
|
|
|
32 |
require_once 'Mage/Adminhtml/controllers/Cms/BlockController.php';
|
33 |
class Clearandfizzy_EnhancedCMS_Adminhtml_Cms_Enhanced_BlockController extends Mage_Adminhtml_Cms_BlockController {
|
34 |
|
app/code/community/Clearandfizzy/EnhancedCMS/controllers/Adminhtml/Cms/Enhanced/PageController.php
CHANGED
@@ -1,11 +1,35 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
-
*
|
4 |
-
*
|
5 |
-
*
|
6 |
-
*
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
7 |
*
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
8 |
*/
|
|
|
9 |
require_once 'Mage/Adminhtml/controllers/Cms/PageController.php';
|
10 |
class Clearandfizzy_EnhancedCMS_Adminhtml_Cms_Enhanced_PageController extends Mage_Adminhtml_Cms_PageController {
|
11 |
|
1 |
<?php
|
2 |
/**
|
3 |
+
* Clearandfizzy
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
*
|
8 |
+
* THE WORK (AS DEFINED BELOW) IS PROVIDED UNDER THE TERMS OF THIS CREATIVE
|
9 |
+
* COMMONS PUBLIC LICENSE ("CCPL" OR "LICENSE"). THE WORK IS PROTECTED BY
|
10 |
+
* COPYRIGHT AND/OR OTHER APPLICABLE LAW. ANY USE OF THE WORK OTHER THAN AS
|
11 |
+
* AUTHORIZED UNDER THIS LICENSE OR COPYRIGHT LAW IS PROHIBITED.
|
12 |
+
|
13 |
+
* BY EXERCISING ANY RIGHTS TO THE WORK PROVIDED HERE, YOU ACCEPT AND AGREE
|
14 |
+
* TO BE BOUND BY THE TERMS OF THIS LICENSE. TO THE EXTENT THIS LICENSE MAY
|
15 |
+
* BE CONSIDERED TO BE A CONTRACT, THE LICENSOR GRANTS YOU THE RIGHTS
|
16 |
+
* CONTAINED HERE IN CONSIDERATION OF YOUR ACCEPTANCE OF SUCH TERMS AND
|
17 |
+
* CONDITIONS.
|
18 |
*
|
19 |
+
* DISCLAIMER
|
20 |
+
*
|
21 |
+
* Do not edit or add to this file if you wish to upgrade this extension to newer
|
22 |
+
* versions in the future. If you wish to customize this extension for your
|
23 |
+
* needs please refer to http://www.clearandfizzy.com for more information.
|
24 |
+
*
|
25 |
+
* @category Community
|
26 |
+
* @package Clearandfizzy_EnhancedCMS
|
27 |
+
* @copyright Copyright (c) 2015 Clearandfizzy Ltd. (http://www.clearandfizzy.com)
|
28 |
+
* @license http://www.clearandfizzy.com/licence.txt
|
29 |
+
* @author Gareth Price <gareth@clearandfizzy.com>
|
30 |
+
*
|
31 |
*/
|
32 |
+
|
33 |
require_once 'Mage/Adminhtml/controllers/Cms/PageController.php';
|
34 |
class Clearandfizzy_EnhancedCMS_Adminhtml_Cms_Enhanced_PageController extends Mage_Adminhtml_Cms_PageController {
|
35 |
|
app/code/community/Clearandfizzy/EnhancedCMS/etc/adminhtml.xml
CHANGED
@@ -1,19 +1,34 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<!--
|
|
|
3 |
/**
|
4 |
* Clearandfizzy
|
5 |
*
|
6 |
* NOTICE OF LICENSE
|
7 |
*
|
8 |
-
* This source file is subject to the Academic Free License (AFL 3.0)
|
9 |
-
* that is bundled with this package in the file LICENSE_AFL.txt.
|
10 |
-
* It is also available through the world-wide-web at this URL:
|
11 |
-
* http://opensource.org/licenses/afl-3.0.php
|
12 |
*
|
13 |
-
*
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
14 |
* @package Clearandfizzy_EnhancedCMS
|
15 |
-
* @copyright Copyright (c)
|
16 |
-
* @license http://
|
|
|
17 |
* @description This file configures the Clearandfizzy tab and any default menus in the magento admin
|
18 |
*/
|
19 |
-->
|
1 |
<?xml version="1.0"?>
|
2 |
<!--
|
3 |
+
<?php
|
4 |
/**
|
5 |
* Clearandfizzy
|
6 |
*
|
7 |
* NOTICE OF LICENSE
|
8 |
*
|
|
|
|
|
|
|
|
|
9 |
*
|
10 |
+
* THE WORK (AS DEFINED BELOW) IS PROVIDED UNDER THE TERMS OF THIS CREATIVE
|
11 |
+
* COMMONS PUBLIC LICENSE ("CCPL" OR "LICENSE"). THE WORK IS PROTECTED BY
|
12 |
+
* COPYRIGHT AND/OR OTHER APPLICABLE LAW. ANY USE OF THE WORK OTHER THAN AS
|
13 |
+
* AUTHORIZED UNDER THIS LICENSE OR COPYRIGHT LAW IS PROHIBITED.
|
14 |
+
|
15 |
+
* BY EXERCISING ANY RIGHTS TO THE WORK PROVIDED HERE, YOU ACCEPT AND AGREE
|
16 |
+
* TO BE BOUND BY THE TERMS OF THIS LICENSE. TO THE EXTENT THIS LICENSE MAY
|
17 |
+
* BE CONSIDERED TO BE A CONTRACT, THE LICENSOR GRANTS YOU THE RIGHTS
|
18 |
+
* CONTAINED HERE IN CONSIDERATION OF YOUR ACCEPTANCE OF SUCH TERMS AND
|
19 |
+
* CONDITIONS.
|
20 |
+
*
|
21 |
+
* DISCLAIMER
|
22 |
+
*
|
23 |
+
* Do not edit or add to this file if you wish to upgrade this extension to newer
|
24 |
+
* versions in the future. If you wish to customize this extension for your
|
25 |
+
* needs please refer to http://www.clearandfizzy.com for more information.
|
26 |
+
*
|
27 |
+
* @category Community
|
28 |
* @package Clearandfizzy_EnhancedCMS
|
29 |
+
* @copyright Copyright (c) 2015 Clearandfizzy Ltd. (http://www.clearandfizzy.com)
|
30 |
+
* @license http://www.clearandfizzy.com/licence.txt
|
31 |
+
* @author Gareth Price <gareth@clearandfizzy.com>
|
32 |
* @description This file configures the Clearandfizzy tab and any default menus in the magento admin
|
33 |
*/
|
34 |
-->
|
app/code/community/Clearandfizzy/EnhancedCMS/etc/config.xml
CHANGED
@@ -5,15 +5,29 @@
|
|
5 |
*
|
6 |
* NOTICE OF LICENSE
|
7 |
*
|
8 |
-
* This source file is subject to the Academic Free License (AFL 3.0)
|
9 |
-
* that is bundled with this package in the file LICENSE_AFL.txt.
|
10 |
-
* It is also available through the world-wide-web at this URL:
|
11 |
-
* http://opensource.org/licenses/afl-3.0.php
|
12 |
*
|
13 |
-
*
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
14 |
* @package Clearandfizzy_EnhancedCMS
|
15 |
-
* @copyright Copyright (c)
|
16 |
-
* @license http://
|
|
|
17 |
* @description This file configures the Clearandfizzy tab and any default menus in the magento admin
|
18 |
*/
|
19 |
-->
|
@@ -21,7 +35,7 @@
|
|
21 |
|
22 |
<modules>
|
23 |
<Clearandfizzy_EnhancedCMS>
|
24 |
-
<version>1.
|
25 |
</Clearandfizzy_EnhancedCMS>
|
26 |
</modules>
|
27 |
|
@@ -66,7 +80,18 @@
|
|
66 |
<file>clearandfizzy/enhancedcms/enhancedcms.xml</file>
|
67 |
</clearandfizzy_enhancedcms>
|
68 |
</updates>
|
69 |
-
</layout>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
70 |
|
71 |
</adminhtml>
|
72 |
|
@@ -82,5 +107,14 @@
|
|
82 |
</routers>
|
83 |
|
84 |
</admin>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
85 |
|
86 |
</config>
|
5 |
*
|
6 |
* NOTICE OF LICENSE
|
7 |
*
|
|
|
|
|
|
|
|
|
8 |
*
|
9 |
+
* THE WORK (AS DEFINED BELOW) IS PROVIDED UNDER THE TERMS OF THIS CREATIVE
|
10 |
+
* COMMONS PUBLIC LICENSE ("CCPL" OR "LICENSE"). THE WORK IS PROTECTED BY
|
11 |
+
* COPYRIGHT AND/OR OTHER APPLICABLE LAW. ANY USE OF THE WORK OTHER THAN AS
|
12 |
+
* AUTHORIZED UNDER THIS LICENSE OR COPYRIGHT LAW IS PROHIBITED.
|
13 |
+
|
14 |
+
* BY EXERCISING ANY RIGHTS TO THE WORK PROVIDED HERE, YOU ACCEPT AND AGREE
|
15 |
+
* TO BE BOUND BY THE TERMS OF THIS LICENSE. TO THE EXTENT THIS LICENSE MAY
|
16 |
+
* BE CONSIDERED TO BE A CONTRACT, THE LICENSOR GRANTS YOU THE RIGHTS
|
17 |
+
* CONTAINED HERE IN CONSIDERATION OF YOUR ACCEPTANCE OF SUCH TERMS AND
|
18 |
+
* CONDITIONS.
|
19 |
+
*
|
20 |
+
* DISCLAIMER
|
21 |
+
*
|
22 |
+
* Do not edit or add to this file if you wish to upgrade this extension to newer
|
23 |
+
* versions in the future. If you wish to customize this extension for your
|
24 |
+
* needs please refer to http://www.clearandfizzy.com for more information.
|
25 |
+
*
|
26 |
+
* @category Community
|
27 |
* @package Clearandfizzy_EnhancedCMS
|
28 |
+
* @copyright Copyright (c) 2015 Clearandfizzy Ltd. (http://www.clearandfizzy.com)
|
29 |
+
* @license http://www.clearandfizzy.com/licence.txt
|
30 |
+
* @author Gareth Price <gareth@clearandfizzy.com>
|
31 |
* @description This file configures the Clearandfizzy tab and any default menus in the magento admin
|
32 |
*/
|
33 |
-->
|
35 |
|
36 |
<modules>
|
37 |
<Clearandfizzy_EnhancedCMS>
|
38 |
+
<version>1.2.0</version>
|
39 |
</Clearandfizzy_EnhancedCMS>
|
40 |
</modules>
|
41 |
|
80 |
<file>clearandfizzy/enhancedcms/enhancedcms.xml</file>
|
81 |
</clearandfizzy_enhancedcms>
|
82 |
</updates>
|
83 |
+
</layout>
|
84 |
+
|
85 |
+
<events>
|
86 |
+
<controller_action_predispatch>
|
87 |
+
<observers>
|
88 |
+
<clearandfizzy_enhancedcms_feed>
|
89 |
+
<class>clearandfizzy_enhancedcms/observer_notification_feed</class>
|
90 |
+
<method>preDispatch</method>
|
91 |
+
</clearandfizzy_enhancedcms_feed>
|
92 |
+
</observers>
|
93 |
+
</controller_action_predispatch>
|
94 |
+
</events>
|
95 |
|
96 |
</adminhtml>
|
97 |
|
107 |
</routers>
|
108 |
|
109 |
</admin>
|
110 |
+
|
111 |
+
<default>
|
112 |
+
<clearandfizzy_enhancedcms_settings>
|
113 |
+
<adminnotification>
|
114 |
+
<feed_url>magento.clearandfizzy.com/community/enhancedcms-free.xml</feed_url>
|
115 |
+
<frequency>1</frequency>
|
116 |
+
</adminnotification>
|
117 |
+
</clearandfizzy_enhancedcms_settings>
|
118 |
+
</default>
|
119 |
|
120 |
</config>
|
app/code/community/Clearandfizzy/EnhancedCMS/etc/system.xml
CHANGED
@@ -5,15 +5,29 @@
|
|
5 |
*
|
6 |
* NOTICE OF LICENSE
|
7 |
*
|
8 |
-
* This source file is subject to the Academic Free License (AFL 3.0)
|
9 |
-
* that is bundled with this package in the file LICENSE_AFL.txt.
|
10 |
-
* It is also available through the world-wide-web at this URL:
|
11 |
-
* http://opensource.org/licenses/afl-3.0.php
|
12 |
*
|
13 |
-
*
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
14 |
* @package Clearandfizzy_EnhancedCMS
|
15 |
-
* @copyright Copyright (c)
|
16 |
-
* @license http://
|
|
|
17 |
* @description This file configures the Clearandfizzy tab and any default menus in the magento admin
|
18 |
*/
|
19 |
-->
|
@@ -44,18 +58,17 @@
|
|
44 |
<enhancedcms_about>
|
45 |
<label>Enhanced CMS</label>
|
46 |
<frontend_type>text</frontend_type>
|
47 |
-
<sort_order>
|
48 |
<show_in_default>1</show_in_default>
|
49 |
<show_in_website>1</show_in_website>
|
50 |
<show_in_store>1</show_in_store>
|
51 |
<comment><![CDATA[ <ol>
|
52 |
<li>Extends the CMS > Static Blocks Admin screen. </li>
|
53 |
-
<li>Adds the ability to migrate static blocks between environments by importing and exporting CSV files.</li></ol> ]]></comment>
|
54 |
<expanded>1</expanded>
|
55 |
</enhancedcms_about>
|
56 |
|
57 |
</groups>
|
58 |
-
|
59 |
</clearandfizzy_enhancedcms_settings>
|
60 |
</sections>
|
61 |
|
5 |
*
|
6 |
* NOTICE OF LICENSE
|
7 |
*
|
|
|
|
|
|
|
|
|
8 |
*
|
9 |
+
* THE WORK (AS DEFINED BELOW) IS PROVIDED UNDER THE TERMS OF THIS CREATIVE
|
10 |
+
* COMMONS PUBLIC LICENSE ("CCPL" OR "LICENSE"). THE WORK IS PROTECTED BY
|
11 |
+
* COPYRIGHT AND/OR OTHER APPLICABLE LAW. ANY USE OF THE WORK OTHER THAN AS
|
12 |
+
* AUTHORIZED UNDER THIS LICENSE OR COPYRIGHT LAW IS PROHIBITED.
|
13 |
+
|
14 |
+
* BY EXERCISING ANY RIGHTS TO THE WORK PROVIDED HERE, YOU ACCEPT AND AGREE
|
15 |
+
* TO BE BOUND BY THE TERMS OF THIS LICENSE. TO THE EXTENT THIS LICENSE MAY
|
16 |
+
* BE CONSIDERED TO BE A CONTRACT, THE LICENSOR GRANTS YOU THE RIGHTS
|
17 |
+
* CONTAINED HERE IN CONSIDERATION OF YOUR ACCEPTANCE OF SUCH TERMS AND
|
18 |
+
* CONDITIONS.
|
19 |
+
*
|
20 |
+
* DISCLAIMER
|
21 |
+
*
|
22 |
+
* Do not edit or add to this file if you wish to upgrade this extension to newer
|
23 |
+
* versions in the future. If you wish to customize this extension for your
|
24 |
+
* needs please refer to http://www.clearandfizzy.com for more information.
|
25 |
+
*
|
26 |
+
* @category Community
|
27 |
* @package Clearandfizzy_EnhancedCMS
|
28 |
+
* @copyright Copyright (c) 2015 Clearandfizzy Ltd. (http://www.clearandfizzy.com)
|
29 |
+
* @license http://www.clearandfizzy.com/licence.txt
|
30 |
+
* @author Gareth Price <gareth@clearandfizzy.com>
|
31 |
* @description This file configures the Clearandfizzy tab and any default menus in the magento admin
|
32 |
*/
|
33 |
-->
|
58 |
<enhancedcms_about>
|
59 |
<label>Enhanced CMS</label>
|
60 |
<frontend_type>text</frontend_type>
|
61 |
+
<sort_order>10</sort_order>
|
62 |
<show_in_default>1</show_in_default>
|
63 |
<show_in_website>1</show_in_website>
|
64 |
<show_in_store>1</show_in_store>
|
65 |
<comment><![CDATA[ <ol>
|
66 |
<li>Extends the CMS > Static Blocks Admin screen. </li>
|
67 |
+
<li>Adds the ability to migrate static blocks between environments by importing and exporting CSV files.</li></ol> ]]></comment>
|
68 |
<expanded>1</expanded>
|
69 |
</enhancedcms_about>
|
70 |
|
71 |
</groups>
|
|
|
72 |
</clearandfizzy_enhancedcms_settings>
|
73 |
</sections>
|
74 |
|
package.xml
CHANGED
@@ -1,28 +1,30 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Clearandfizzy_EnhancedCMS</name>
|
4 |
-
<version>1.
|
5 |
<stability>stable</stability>
|
6 |
-
<license uri="http://
|
7 |
<channel>community</channel>
|
8 |
<extends/>
|
9 |
-
<summary>Enhanced CMS -
|
10 |
-
<description>Allows you to export
|
11 |

|
12 |
-
Backup or migrate your CMS Static Blocks
|
13 |
</description>
|
14 |
-
<notes>Did we add new features
|
15 |
Yes
|
16 |
-
|
17 |
-
Did you fix a bunch of Bugs
|
18 |
-
|
19 |
-
|
20 |
-
Well then, what in funkytown did you do
|
21 |
-
|
|
|
|
|
22 |
<authors><author><name>Gareth Price</name><user>clearandfizzy</user><email>gareth@clearandfizzy.com</email></author></authors>
|
23 |
-
<date>
|
24 |
-
<time>
|
25 |
-
<contents><target name="magecommunity"><dir name="Clearandfizzy"><dir name="EnhancedCMS"><dir name="Block"><dir name="Adminhtml"><dir name="Cms"><dir name="Block"><file name="Grid.php" hash="
|
26 |
<compatible/>
|
27 |
<dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php></required></dependencies>
|
28 |
</package>
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Clearandfizzy_EnhancedCMS</name>
|
4 |
+
<version>1.2.0</version>
|
5 |
<stability>stable</stability>
|
6 |
+
<license uri="http://www.clearandfizzy.com/licence.txt">Clearandfizzy Licence</license>
|
7 |
<channel>community</channel>
|
8 |
<extends/>
|
9 |
+
<summary>Enhanced CMS - Static block importer / Exporter</summary>
|
10 |
+
<description>Allows you to batch export and import static blocks via CSV files. 
|
11 |

|
12 |
+
Backup or migrate your CMS Static Blocks between environments with ease.
|
13 |
</description>
|
14 |
+
<notes>Did we add new features?<br />
|
15 |
Yes
|
16 |
+
<br /><br />
|
17 |
+
Did you fix a bunch of Bugs?<br />
|
18 |
+
Yes
|
19 |
+
<br /><br />
|
20 |
+
Well then, what in funkytown did you do?<br />
|
21 |
+
Fixed a character limitation bug with imports<br />
|
22 |
+
Added Magento Notifications to make clients aware of available updates and bug fixes on Magento Connect.<br />
|
23 |
+
Updated Licensing.<br /></notes>
|
24 |
<authors><author><name>Gareth Price</name><user>clearandfizzy</user><email>gareth@clearandfizzy.com</email></author></authors>
|
25 |
+
<date>2015-05-25</date>
|
26 |
+
<time>19:09:23</time>
|
27 |
+
<contents><target name="magecommunity"><dir name="Clearandfizzy"><dir name="EnhancedCMS"><file name="ABOUT.html" hash="83d1c44a546591edfebb581e9b4577b0"/><dir name="Block"><dir name="Adminhtml"><dir name="Cms"><dir name="Block"><file name="Grid.php" hash="3b820b50674e46e86258de214f72cf7c"/></dir><file name="Block.php" hash="5380ee5161e671c23589c45572672ce2"/><dir name="Enhanced"><dir name="Abstract"><file name="Grid.php" hash="8645e6d14b7d8472a8d50625421e32c8"/><dir name="Upload"><file name="Form.php" hash="8a935e404b379caa78bf57a5c3c23861"/></dir><file name="Upload.php" hash="c2e43f1cbafe3024820ace1c091b1139"/></dir><dir name="Block"><file name="Grid.php" hash="d8d9fc748adbbee31e23159cd7dfb152"/><dir name="Upload"><file name="Form.php" hash="b8d39eda7376ed1837eef7f5b948d4f4"/></dir><file name="Upload.php" hash="2d902b062637096e62a2883f600886ac"/></dir><dir name="Page"><file name="Grid.php" hash="d8e1176a20a813346423bb140842a938"/><dir name="Upload"><file name="Form.php" hash="67fce65dfd803e1eb441da821c440e1e"/></dir><file name="Upload.php" hash="a58ead925c28ba1fda72f5948a9f9e07"/></dir></dir><dir name="Page"><file name="Grid.php" hash="c1aacafd43e4cd4df726faefb94db213"/></dir><file name="Page.php" hash="7a0487082db181ebf882ec9426f71b85"/></dir></dir></dir><dir name="Helper"><file name="Data.php" hash="9af1afd5381b824c191bf8ca1e9fff49"/></dir><dir name="Model"><dir name="Import"><dir name="Abstract"><file name="Csv.php" hash="62a2d3931c117990aa4019ff03a0e9fc"/></dir><dir name="Block"><file name="Csv.php" hash="a6f113c46fd89a40b164151f79a6fe21"/></dir><file name="Block.php" hash="7862d4d7f4d95cc50635061a75ad7a3d"/><dir name="Page"><file name="Csv.php" hash="1e339345efb3ff4add3f83fa0129e008"/></dir><file name="Page.php" hash="8c5274c12a06c30b067b8ba23aca83ad"/></dir><dir name="Notification"><file name="Feed.php" hash="cc00809b1c332f0211200532828aa8d1"/></dir><dir name="Observer"><dir name="Notification"><file name="Feed.php" hash="e94a932c76f0b7a40f68a6e9fdff36dc"/></dir><file name=".DS_Store" hash="b170388c37090f87aa5089b36031cfb9"/></dir></dir><file name="README.txt" hash="b6915808b7af4e89fef5d81259598862"/><dir name="controllers"><dir name="Adminhtml"><dir name="Cms"><dir name="Enhanced"><file name="BlockController.php" hash="87d821c9b568096c3cff1724905bb8ae"/><file name="PageController.php" hash="ceb9f4dba37eb01fd1d735b93f483468"/></dir></dir></dir></dir><dir name="etc"><file name="adminhtml.xml" hash="a731388a0058d0b335fbe7b04659fccb"/><file name="config.xml" hash="f15cf79eed16a3518a29a29c276836fa"/><file name="system.xml" hash="2c670913c02949f8664f31e5a6521b08"/></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Clearandfizzy_EnhancedCMS.xml" hash="2f484679b7deba8d32509a76862b703c"/></dir></target></contents>
|
28 |
<compatible/>
|
29 |
<dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php></required></dependencies>
|
30 |
</package>
|