Version Notes
Initial Release
Download this release
Release Info
| Developer | Gareth Price |
| Extension | Clearandfizzy_Essentials |
| Version | 1.0.0 |
| Comparing to | |
| See all releases | |
Version 1.0.0
- app/code/community/Clearandfizzy/Essentials/Block/Adminhtml/Catalog/Category/Tab/Product.php +47 -0
- app/code/community/Clearandfizzy/Essentials/Helper/Config.php +15 -0
- app/code/community/Clearandfizzy/Essentials/Helper/Data.php +5 -0
- app/code/community/Clearandfizzy/Essentials/Model/Observers/Adminhtml/Catalog/Category/Tabs.php +43 -0
- app/code/community/Clearandfizzy/Essentials/README.txt +21 -0
- app/code/community/Clearandfizzy/Essentials/etc/adminhtml.xml +40 -0
- app/code/community/Clearandfizzy/Essentials/etc/config.xml +112 -0
- app/code/community/Clearandfizzy/Essentials/etc/system.xml +339 -0
- app/design/frontend/base/default/layout/clearandfizzy/essentials/callouts.xml +17 -0
- app/design/frontend/base/default/layout/clearandfizzy/essentials/newsletter.xml +30 -0
- app/design/frontend/base/default/layout/clearandfizzy/essentials/poll.xml +17 -0
- app/design/frontend/base/default/layout/clearandfizzy/essentials/quicksearch.xml +22 -0
- app/design/frontend/base/default/layout/clearandfizzy/essentials/stacklayout.xml +38 -0
- app/design/frontend/base/default/layout/clearandfizzy/essentials/toplinks.xml +47 -0
- app/design/frontend/base/default/template/clearandfizzy/essentials/layoutstack/comment.phtml +4 -0
- app/design/frontend/base/default/template/clearandfizzy/essentials/layoutstack/html.phtml +23 -0
- app/design/frontend/base/default/template/clearandfizzy/essentials/layoutstack/html/float.phtml +17 -0
- app/etc/modules/Clearandfizzy_Essentials.xml +8 -0
- package.xml +18 -0
app/code/community/Clearandfizzy/Essentials/Block/Adminhtml/Catalog/Category/Tab/Product.php
ADDED
|
@@ -0,0 +1,47 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<?php
|
| 2 |
+
class Clearandfizzy_Essentials_Block_Adminhtml_Catalog_Category_Tab_Product
|
| 3 |
+
extends Mage_Adminhtml_Block_Catalog_Category_Tab_Product {
|
| 4 |
+
|
| 5 |
+
|
| 6 |
+
public function __construct()
|
| 7 |
+
{
|
| 8 |
+
parent::__construct();
|
| 9 |
+
$this->setId('catalog_category_products');
|
| 10 |
+
$this->setDefaultSort('entity_id');
|
| 11 |
+
$this->setUseAjax(false);
|
| 12 |
+
}
|
| 13 |
+
|
| 14 |
+
public function getRowClickCallback() {
|
| 15 |
+
return false;
|
| 16 |
+
}
|
| 17 |
+
|
| 18 |
+
public function _prepareColumns() {
|
| 19 |
+
parent::_prepareColumns();
|
| 20 |
+
|
| 21 |
+
$this->addColumn('action',
|
| 22 |
+
array(
|
| 23 |
+
'header' => Mage::helper('catalog')->__('Action'),
|
| 24 |
+
'width' => '50px',
|
| 25 |
+
'type' => 'action',
|
| 26 |
+
'getter' => 'getId',
|
| 27 |
+
'actions' => array(
|
| 28 |
+
array(
|
| 29 |
+
'caption' => Mage::helper('catalog')->__('Edit'),
|
| 30 |
+
'url' => array(
|
| 31 |
+
'base'=>'*/catalog_product/edit',
|
| 32 |
+
'params'=>array('store'=>$this->getRequest()->getParam('store'))
|
| 33 |
+
),
|
| 34 |
+
'field' => 'id'
|
| 35 |
+
)
|
| 36 |
+
),
|
| 37 |
+
'filter' => false,
|
| 38 |
+
'sortable' => false,
|
| 39 |
+
'index' => 'stores',
|
| 40 |
+
));
|
| 41 |
+
|
| 42 |
+
|
| 43 |
+
} // end
|
| 44 |
+
|
| 45 |
+
|
| 46 |
+
|
| 47 |
+
}
|
app/code/community/Clearandfizzy/Essentials/Helper/Config.php
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<?php
|
| 2 |
+
class Clearandfizzy_Essentials_Helper_Config {
|
| 3 |
+
|
| 4 |
+
/**
|
| 5 |
+
* Returns the value for System -> Configuration
|
| 6 |
+
* / Clearandfizzy /
|
| 7 |
+
* @return boolean
|
| 8 |
+
*/
|
| 9 |
+
|
| 10 |
+
public function isCategoryProductTabEnabled() {
|
| 11 |
+
$value = Mage::getStoreConfig('clearandfizzy_essentials/categoryproducttab/isenabled');
|
| 12 |
+
return $value;
|
| 13 |
+
} // end
|
| 14 |
+
|
| 15 |
+
}
|
app/code/community/Clearandfizzy/Essentials/Helper/Data.php
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<?php
|
| 2 |
+
class Clearandfizzy_Essentials_Helper_Data extends Mage_Core_Helper_Abstract {
|
| 3 |
+
|
| 4 |
+
|
| 5 |
+
}
|
app/code/community/Clearandfizzy/Essentials/Model/Observers/Adminhtml/Catalog/Category/Tabs.php
ADDED
|
@@ -0,0 +1,43 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<?php
|
| 2 |
+
/**
|
| 3 |
+
*
|
| 4 |
+
* @author gareth
|
| 5 |
+
*
|
| 6 |
+
*/
|
| 7 |
+
class Clearandfizzy_Essentials_Model_Observers_Adminhtml_Catalog_Category_Tabs {
|
| 8 |
+
|
| 9 |
+
|
| 10 |
+
/**
|
| 11 |
+
*
|
| 12 |
+
* @param Varien_Event_Observer $observer
|
| 13 |
+
* @return void|unknown
|
| 14 |
+
*/
|
| 15 |
+
public function actionProductTab(Varien_Event_Observer $observer) {
|
| 16 |
+
|
| 17 |
+
// return immediately if this feature is not enabled
|
| 18 |
+
if ( Mage::helper('clearandfizzy_essentials/config')->isCategoryProductTabEnabled() == false) {
|
| 19 |
+
return;
|
| 20 |
+
} // end
|
| 21 |
+
|
| 22 |
+
// get tabs
|
| 23 |
+
$tabs = $observer->getTabs();
|
| 24 |
+
|
| 25 |
+
// remove the old tab
|
| 26 |
+
$tabs->removeTab('products');
|
| 27 |
+
|
| 28 |
+
Mage::app()->getLayout()->unsetBlock('category.product.grid');
|
| 29 |
+
|
| 30 |
+
// add our new one
|
| 31 |
+
$tabs->addTab('products_enhanced', array(
|
| 32 |
+
'label' => Mage::helper('catalog')->__('Category Products *'),
|
| 33 |
+
'content' => Mage::app()->getLayout()->createBlock(
|
| 34 |
+
'clearandfizzy_essentials/adminhtml_catalog_category_tab_product',
|
| 35 |
+
'category.product.grid.clearandfizzy'
|
| 36 |
+
)->toHtml(),
|
| 37 |
+
));
|
| 38 |
+
|
| 39 |
+
return $tabs;
|
| 40 |
+
} // end
|
| 41 |
+
|
| 42 |
+
|
| 43 |
+
} // end
|
app/code/community/Clearandfizzy/Essentials/README.txt
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<h2>Developer Essentials</h2>
|
| 2 |
+
<p>As a developer / contractor with multiple clients I'm often asked to do the same task more than once. Here is a time saving collection of small extensions, features and developer tools for your Magento stack.</p>
|
| 3 |
+
|
| 4 |
+
<h2>Key Features</h2>
|
| 5 |
+
<p>
|
| 6 |
+
<strong>*</strong> Category Manager - Adds an "Edit Product" link to the Adds an "Edit Product" link to Catalog > Manage Categories > Category Products grid.<br />
|
| 7 |
+
<strong>*</strong> Newsletter Form - Hide the Newsletter form from the left, right or footer.<br />
|
| 8 |
+
<strong>*</strong> Quick Search - Hide the quicksearch form from the header.<br />
|
| 9 |
+
<strong>*</strong> Toplinks - Hide "My Account" link from the toplinks.<br />
|
| 10 |
+
<strong>*</strong> Toplinks - Hide "Register" link from the toplinks.<br />
|
| 11 |
+
<strong>*</strong> Toplinks - Hide "Log In" link from the toplinks.<br />
|
| 12 |
+
<strong>*</strong> Toplinks - Hide "Wishlist" link from the toplinks.<br />
|
| 13 |
+
<strong>*</strong> Poll - Hide the Poll.<br />
|
| 14 |
+
<strong>*</strong> Callouts - Hide the Callout images.<br />
|
| 15 |
+
<strong>*</strong> Developer Tools - Output the Layout stack directly on the page or as a hidden html comment.<br />
|
| 16 |
+
</p>
|
| 17 |
+
|
| 18 |
+
<h2>Support and Guarantee</h2>
|
| 19 |
+
<p>This is a FREE plugin and comes with limited email support.</p>
|
| 20 |
+
|
| 21 |
+
|
app/code/community/Clearandfizzy/Essentials/etc/adminhtml.xml
ADDED
|
@@ -0,0 +1,40 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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 |
+
* @category Clearandfizzy
|
| 14 |
+
* @package Clearandfizzy_Essentials
|
| 15 |
+
* @copyright Copyright (c) 2014 Clearandfizzy ltd. (http://www.clearandfizzy.com/)
|
| 16 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
| 17 |
+
* @description This file configures the Clearandfizzy tab and any default menus in the magento admin
|
| 18 |
+
*/
|
| 19 |
+
-->
|
| 20 |
+
<config>
|
| 21 |
+
<acl>
|
| 22 |
+
<resources>
|
| 23 |
+
<admin>
|
| 24 |
+
<children>
|
| 25 |
+
<system>
|
| 26 |
+
<children>
|
| 27 |
+
<config>
|
| 28 |
+
<children>
|
| 29 |
+
<clearandfizzy_essentials>
|
| 30 |
+
<title>ClearandFizzy Essentials</title>
|
| 31 |
+
</clearandfizzy_essentials>
|
| 32 |
+
</children>
|
| 33 |
+
</config>
|
| 34 |
+
</children>
|
| 35 |
+
</system>
|
| 36 |
+
</children>
|
| 37 |
+
</admin>
|
| 38 |
+
</resources>
|
| 39 |
+
</acl>
|
| 40 |
+
</config>
|
app/code/community/Clearandfizzy/Essentials/etc/config.xml
ADDED
|
@@ -0,0 +1,112 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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 |
+
* @category Clearandfizzy
|
| 14 |
+
* @package Clearandfizzy_Essentials
|
| 15 |
+
* @copyright Copyright (c) 2012 Clearandfizzy ltd. (http://www.clearandfizzy.com/)
|
| 16 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
| 17 |
+
* @description This file configures the Clearandfizzy tab and any default menus in the magento admin
|
| 18 |
+
*/
|
| 19 |
+
-->
|
| 20 |
+
|
| 21 |
+
<config>
|
| 22 |
+
|
| 23 |
+
<modules>
|
| 24 |
+
<Clearandfizzy_Essentials>
|
| 25 |
+
<version>1.0.0</version>
|
| 26 |
+
</Clearandfizzy_Essentials>
|
| 27 |
+
</modules>
|
| 28 |
+
|
| 29 |
+
<global>
|
| 30 |
+
|
| 31 |
+
<blocks>
|
| 32 |
+
<clearandfizzy_essentials>
|
| 33 |
+
<class>Clearandfizzy_Essentials_Block</class>
|
| 34 |
+
</clearandfizzy_essentials>
|
| 35 |
+
</blocks>
|
| 36 |
+
|
| 37 |
+
<helpers>
|
| 38 |
+
<clearandfizzy_essentials>
|
| 39 |
+
<class>Clearandfizzy_Essentials_Helper</class>
|
| 40 |
+
</clearandfizzy_essentials>
|
| 41 |
+
</helpers>
|
| 42 |
+
|
| 43 |
+
|
| 44 |
+
<models>
|
| 45 |
+
<clearandfizzy_essentials>
|
| 46 |
+
<class>Clearandfizzy_Essentials_Model</class>
|
| 47 |
+
</clearandfizzy_essentials>
|
| 48 |
+
</models>
|
| 49 |
+
|
| 50 |
+
|
| 51 |
+
</global>
|
| 52 |
+
|
| 53 |
+
<adminhtml>
|
| 54 |
+
<events>
|
| 55 |
+
<adminhtml_catalog_category_tabs>
|
| 56 |
+
<observers>
|
| 57 |
+
<clearandfizzy_essentials_producttabs>
|
| 58 |
+
<class>clearandfizzy_essentials/observers_adminhtml_catalog_category_tabs</class>
|
| 59 |
+
<method>actionProductTab</method>
|
| 60 |
+
</clearandfizzy_essentials_producttabs>
|
| 61 |
+
</observers>
|
| 62 |
+
</adminhtml_catalog_category_tabs>
|
| 63 |
+
</events>
|
| 64 |
+
|
| 65 |
+
<layout>
|
| 66 |
+
<updates>
|
| 67 |
+
<clearandfizzy_essentials module="Clearandfizzy_Essentials">
|
| 68 |
+
<file>clearandfizzy/essentials/essentials.xml</file>
|
| 69 |
+
</clearandfizzy_essentials>
|
| 70 |
+
</updates>
|
| 71 |
+
</layout>
|
| 72 |
+
</adminhtml>
|
| 73 |
+
|
| 74 |
+
|
| 75 |
+
<frontend>
|
| 76 |
+
<layout>
|
| 77 |
+
<updates>
|
| 78 |
+
|
| 79 |
+
<clearandfizzy_essentials module="Clearandfizzy_Essentials">
|
| 80 |
+
<file>clearandfizzy/essentials/essentials.xml</file>
|
| 81 |
+
</clearandfizzy_essentials>
|
| 82 |
+
|
| 83 |
+
<clearandfizzy_essentials_newsletter module="Clearandfizzy_Essentials">
|
| 84 |
+
<file>clearandfizzy/essentials/newsletter.xml</file>
|
| 85 |
+
</clearandfizzy_essentials_newsletter>
|
| 86 |
+
|
| 87 |
+
<clearandfizzy_essentials_quicksearch module="Clearandfizzy_Essentials">
|
| 88 |
+
<file>clearandfizzy/essentials/quicksearch.xml</file>
|
| 89 |
+
</clearandfizzy_essentials_quicksearch>
|
| 90 |
+
|
| 91 |
+
<clearandfizzy_essentials_toplinks module="Clearandfizzy_Essentials">
|
| 92 |
+
<file>clearandfizzy/essentials/toplinks.xml</file>
|
| 93 |
+
</clearandfizzy_essentials_toplinks>
|
| 94 |
+
|
| 95 |
+
<clearandfizzy_essentials_poll module="Clearandfizzy_Essentials">
|
| 96 |
+
<file>clearandfizzy/essentials/poll.xml</file>
|
| 97 |
+
</clearandfizzy_essentials_poll>
|
| 98 |
+
|
| 99 |
+
<clearandfizzy_essentials_callouts module="Clearandfizzy_Essentials">
|
| 100 |
+
<file>clearandfizzy/essentials/callouts.xml</file>
|
| 101 |
+
</clearandfizzy_essentials_callouts>
|
| 102 |
+
|
| 103 |
+
<clearandfizzy_essentials_layoutstack module="Clearandfizzy_Essentials">
|
| 104 |
+
<file>clearandfizzy/essentials/stacklayout.xml</file>
|
| 105 |
+
</clearandfizzy_essentials_layoutstack>
|
| 106 |
+
|
| 107 |
+
</updates>
|
| 108 |
+
</layout>
|
| 109 |
+
</frontend>
|
| 110 |
+
|
| 111 |
+
</config>
|
| 112 |
+
|
app/code/community/Clearandfizzy/Essentials/etc/system.xml
ADDED
|
@@ -0,0 +1,339 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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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 |
+
* @category Clearandfizzy
|
| 14 |
+
* @package Clearandfizzy_Essentials
|
| 15 |
+
* @copyright Copyright (c) 2014 Clearandfizzy ltd. (http://www.clearandfizzy.com/)
|
| 16 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
| 17 |
+
* @description This file configures the Clearandfizzy tab and any default menus in the magento admin
|
| 18 |
+
*/
|
| 19 |
+
-->
|
| 20 |
+
<config>
|
| 21 |
+
|
| 22 |
+
<!-- a tab is the BOLD heading on the left hand menu -->
|
| 23 |
+
<tabs>
|
| 24 |
+
<clearandfizzy translate="label">
|
| 25 |
+
<label><![CDATA[<img height="16" width="16" style="vertical-align: top;" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAABmJLR0QAAAAAAAD5Q7t/AAAACXBIWXMAAABIAAAASABGyWs+AAAACXZwQWcAAAAwAAAAMADO7oxXAAARlklEQVRo3tWaWZBcV3nHf+fce3vv2Wc0GkkzGtkePLJsJEtItuUVuwDbIYTEWSuVVKoCxYMNxUNSeSOhQtYHUrGSIpCiUoQqEgKhipCADcYYC6FIXiRs2ZZkLaNl9qW32323c04ezu3pHtl44S1ddapPb+d+/+/7f+ttYYzh//PDfTdfPvSY+HkfCQMYg9EatIFr9SIlSGGXELQPelfae/TxN379XQF4g9AGlMZojXElXs5loLeY39JfLu3oKRTHEPRg0Frp1dV67WrV98/Vwng+Sqgo0I4ER9KtlXdNh3cLQLQFjxU6I8mNlnM379iy7QPjE9sfLA+OTBRHt43QO5QhlwUhrSliBU2fZHnOb8xdnq8uL545N3PuW1dWlp9dDdVrBvAc5C8CRHT7wFtQBEACYvtAv5pZXivdMDr0kVt27f6DTVM77x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82b/lXhbACmItHzE7QJSxpYfBWXISUHRQ/ZlhOwt4A5lhezNILIGTGh0EKBXWyZZjtG1GFMBWhJCaS1cT1cTGwXXs0u3HL8wgC4Q0BnhZLD/K1hfBjLpEu2GVHQKBSNsUI3FxmFEW+j07sk7/5sBwP8Bdfljg01lNmYAAAAldEVYdGNyZWF0ZS1kYXRlADIwMDktMTEtMjhUMTc6MTg6MjgtMDc6MDAxkbIsAAAAJXRFWHRkYXRlOmNyZWF0ZQAyMDEwLTAxLTExVDA4OjQ4OjE1LTA3OjAwqESRwwAAACV0RVh0ZGF0ZTptb2RpZnkAMjAxMC0wMS0xMVQwODo0ODoxNS0wNzowMNkZKX8AAAA1dEVYdExpY2Vuc2UAaHR0cDovL2NyZWF0aXZlY29tbW9ucy5vcmcvbGljZW5zZXMvTEdQTC8yLjEvO8G0GAAAACV0RVh0bW9kaWZ5LWRhdGUAMjAwOS0xMS0yOFQxNDozMzoyOS0wNzowMNUR4VQAAAAWdEVYdFNvdXJjZQBDcnlzdGFsIFByb2plY3Tr4+SLAAAAJ3RFWHRTb3VyY2VfVVJMAGh0dHA6Ly9ldmVyYWxkby5jb20vY3J5c3RhbC+lkZNbAAAAAElFTkSuQmCC" /> Clearandfizzy]]></label>
|
| 26 |
+
<sort_order>1</sort_order>
|
| 27 |
+
</clearandfizzy>
|
| 28 |
+
</tabs>
|
| 29 |
+
|
| 30 |
+
|
| 31 |
+
<sections>
|
| 32 |
+
|
| 33 |
+
<clearandfizzy_essentials translate="label">
|
| 34 |
+
<label>Essentials</label>
|
| 35 |
+
<!-- this relates to the value in tab -->
|
| 36 |
+
<tab>clearandfizzy</tab>
|
| 37 |
+
<frontend_type>text</frontend_type>
|
| 38 |
+
<sort_order>1010</sort_order>
|
| 39 |
+
<show_in_default>1</show_in_default>
|
| 40 |
+
<show_in_website>1</show_in_website>
|
| 41 |
+
<show_in_store>1</show_in_store>
|
| 42 |
+
|
| 43 |
+
<groups>
|
| 44 |
+
|
| 45 |
+
<essentials_about>
|
| 46 |
+
<label>About</label>
|
| 47 |
+
<frontend_type>text</frontend_type>
|
| 48 |
+
<sort_order>10</sort_order>
|
| 49 |
+
<show_in_default>1</show_in_default>
|
| 50 |
+
<show_in_website>1</show_in_website>
|
| 51 |
+
<show_in_store>1</show_in_store>
|
| 52 |
+
<comment><![CDATA[ ]]></comment>
|
| 53 |
+
<expanded>1</expanded>
|
| 54 |
+
</essentials_about>
|
| 55 |
+
|
| 56 |
+
<categoryproducttab translate="label">
|
| 57 |
+
<label>Manage Categories Enhancements</label>
|
| 58 |
+
<frontend_type>text</frontend_type>
|
| 59 |
+
<sort_order>10</sort_order>
|
| 60 |
+
<show_in_default>1</show_in_default>
|
| 61 |
+
<show_in_website>1</show_in_website>
|
| 62 |
+
<show_in_store>1</show_in_store>
|
| 63 |
+
<expanded>1</expanded>
|
| 64 |
+
|
| 65 |
+
<fields>
|
| 66 |
+
<isenabled>
|
| 67 |
+
<label>Enable Quick Edit</label>
|
| 68 |
+
<frontend_type>select</frontend_type>
|
| 69 |
+
<source_model>adminhtml/system_config_source_yesno</source_model>
|
| 70 |
+
<comment>Adds an "Edit Product" link to Catalog > Manage Categories > Category Products grid tab</comment>
|
| 71 |
+
<sort_order>1</sort_order>
|
| 72 |
+
<show_in_default>1</show_in_default>
|
| 73 |
+
<show_in_website>1</show_in_website>
|
| 74 |
+
<show_in_store>1</show_in_store>
|
| 75 |
+
</isenabled>
|
| 76 |
+
</fields>
|
| 77 |
+
|
| 78 |
+
</categoryproducttab>
|
| 79 |
+
|
| 80 |
+
<newsletter translate="label">
|
| 81 |
+
<label>Newsletter Signup Form</label>
|
| 82 |
+
<frontend_type>text</frontend_type>
|
| 83 |
+
<sort_order>20</sort_order>
|
| 84 |
+
<show_in_default>1</show_in_default>
|
| 85 |
+
<show_in_website>1</show_in_website>
|
| 86 |
+
<show_in_store>1</show_in_store>
|
| 87 |
+
<expanded>1</expanded>
|
| 88 |
+
|
| 89 |
+
<fields>
|
| 90 |
+
<footer_ishidden>
|
| 91 |
+
<label>Hide (Footer)</label>
|
| 92 |
+
<frontend_type>select</frontend_type>
|
| 93 |
+
<source_model>adminhtml/system_config_source_yesno</source_model>
|
| 94 |
+
<comment>Hide the Newsletter block from the footer</comment>
|
| 95 |
+
<sort_order>1</sort_order>
|
| 96 |
+
<show_in_default>1</show_in_default>
|
| 97 |
+
<show_in_website>1</show_in_website>
|
| 98 |
+
<show_in_store>1</show_in_store>
|
| 99 |
+
</footer_ishidden>
|
| 100 |
+
|
| 101 |
+
<left_ishidden>
|
| 102 |
+
<label>Hide (Left Column)</label>
|
| 103 |
+
<frontend_type>select</frontend_type>
|
| 104 |
+
<source_model>adminhtml/system_config_source_yesno</source_model>
|
| 105 |
+
<comment>Hide the Newsletter block from the left column</comment>
|
| 106 |
+
<sort_order>1</sort_order>
|
| 107 |
+
<show_in_default>1</show_in_default>
|
| 108 |
+
<show_in_website>1</show_in_website>
|
| 109 |
+
<show_in_store>1</show_in_store>
|
| 110 |
+
</left_ishidden>
|
| 111 |
+
|
| 112 |
+
<right_ishidden>
|
| 113 |
+
<label>Hide (Right Column)</label>
|
| 114 |
+
<frontend_type>select</frontend_type>
|
| 115 |
+
<source_model>adminhtml/system_config_source_yesno</source_model>
|
| 116 |
+
<comment>Hide the Newsletter block from the right column</comment>
|
| 117 |
+
<sort_order>1</sort_order>
|
| 118 |
+
<show_in_default>1</show_in_default>
|
| 119 |
+
<show_in_website>1</show_in_website>
|
| 120 |
+
<show_in_store>1</show_in_store>
|
| 121 |
+
</right_ishidden>
|
| 122 |
+
|
| 123 |
+
</fields>
|
| 124 |
+
|
| 125 |
+
</newsletter>
|
| 126 |
+
|
| 127 |
+
<quicksearch translate="label">
|
| 128 |
+
<label>Quick Search</label>
|
| 129 |
+
<frontend_type>text</frontend_type>
|
| 130 |
+
<sort_order>30</sort_order>
|
| 131 |
+
<show_in_default>1</show_in_default>
|
| 132 |
+
<show_in_website>1</show_in_website>
|
| 133 |
+
<show_in_store>1</show_in_store>
|
| 134 |
+
<expanded>1</expanded>
|
| 135 |
+
|
| 136 |
+
<fields>
|
| 137 |
+
<ishidden>
|
| 138 |
+
<label>Hide Quicksearch</label>
|
| 139 |
+
<frontend_type>select</frontend_type>
|
| 140 |
+
<source_model>adminhtml/system_config_source_yesno</source_model>
|
| 141 |
+
<comment>Hides the quicksearch box in the header</comment>
|
| 142 |
+
<sort_order>1</sort_order>
|
| 143 |
+
<show_in_default>1</show_in_default>
|
| 144 |
+
<show_in_website>1</show_in_website>
|
| 145 |
+
<show_in_store>1</show_in_store>
|
| 146 |
+
</ishidden>
|
| 147 |
+
</fields>
|
| 148 |
+
|
| 149 |
+
</quicksearch>
|
| 150 |
+
|
| 151 |
+
<toplinks translate="label">
|
| 152 |
+
<label>Top links</label>
|
| 153 |
+
<frontend_type>text</frontend_type>
|
| 154 |
+
<sort_order>40</sort_order>
|
| 155 |
+
<show_in_default>1</show_in_default>
|
| 156 |
+
<show_in_website>1</show_in_website>
|
| 157 |
+
<show_in_store>1</show_in_store>
|
| 158 |
+
<expanded>1</expanded>
|
| 159 |
+
|
| 160 |
+
<fields>
|
| 161 |
+
<toplinks_ishidden>
|
| 162 |
+
<label>Hide ALL Toplinks</label>
|
| 163 |
+
<frontend_type>select</frontend_type>
|
| 164 |
+
<source_model>adminhtml/system_config_source_yesno</source_model>
|
| 165 |
+
<comment>Hides the toplinks block in the header</comment>
|
| 166 |
+
<sort_order>10</sort_order>
|
| 167 |
+
<show_in_default>1</show_in_default>
|
| 168 |
+
<show_in_website>1</show_in_website>
|
| 169 |
+
<show_in_store>1</show_in_store>
|
| 170 |
+
</toplinks_ishidden>
|
| 171 |
+
|
| 172 |
+
<myaccount_ishidden>
|
| 173 |
+
<depends><toplinks_ishidden>0</toplinks_ishidden></depends>
|
| 174 |
+
<label>Hide My Account Link</label>
|
| 175 |
+
<frontend_type>select</frontend_type>
|
| 176 |
+
<source_model>adminhtml/system_config_source_yesno</source_model>
|
| 177 |
+
<comment>Hides the My Account link</comment>
|
| 178 |
+
<sort_order>20</sort_order>
|
| 179 |
+
<show_in_default>1</show_in_default>
|
| 180 |
+
<show_in_website>1</show_in_website>
|
| 181 |
+
<show_in_store>1</show_in_store>
|
| 182 |
+
</myaccount_ishidden>
|
| 183 |
+
|
| 184 |
+
<register_ishidden>
|
| 185 |
+
<depends><toplinks_ishidden>0</toplinks_ishidden></depends>
|
| 186 |
+
<label>Hide Register Link</label>
|
| 187 |
+
<frontend_type>select</frontend_type>
|
| 188 |
+
<source_model>adminhtml/system_config_source_yesno</source_model>
|
| 189 |
+
<comment>Hides the Register link</comment>
|
| 190 |
+
<sort_order>30</sort_order>
|
| 191 |
+
<show_in_default>1</show_in_default>
|
| 192 |
+
<show_in_website>1</show_in_website>
|
| 193 |
+
<show_in_store>1</show_in_store>
|
| 194 |
+
</register_ishidden>
|
| 195 |
+
|
| 196 |
+
<login_ishidden>
|
| 197 |
+
<depends><toplinks_ishidden>0</toplinks_ishidden></depends>
|
| 198 |
+
<label>Hide Login Link</label>
|
| 199 |
+
<frontend_type>select</frontend_type>
|
| 200 |
+
<source_model>adminhtml/system_config_source_yesno</source_model>
|
| 201 |
+
<comment>Hides the Login link</comment>
|
| 202 |
+
<sort_order>40</sort_order>
|
| 203 |
+
<show_in_default>1</show_in_default>
|
| 204 |
+
<show_in_website>1</show_in_website>
|
| 205 |
+
<show_in_store>1</show_in_store>
|
| 206 |
+
</login_ishidden>
|
| 207 |
+
|
| 208 |
+
<wishlists_ishidden>
|
| 209 |
+
<depends><toplinks_ishidden>0</toplinks_ishidden></depends>
|
| 210 |
+
<label>Hide My Wishlist Link</label>
|
| 211 |
+
<frontend_type>select</frontend_type>
|
| 212 |
+
<source_model>adminhtml/system_config_source_yesno</source_model>
|
| 213 |
+
<comment><![CDATA[ To disable WishLists see Admin > System > Configuration > Customer > Wishlist > General Options ]]></comment>
|
| 214 |
+
<sort_order>50</sort_order>
|
| 215 |
+
<show_in_default>1</show_in_default>
|
| 216 |
+
<show_in_website>1</show_in_website>
|
| 217 |
+
<show_in_store>1</show_in_store>
|
| 218 |
+
</wishlists_ishidden>
|
| 219 |
+
|
| 220 |
+
</fields>
|
| 221 |
+
|
| 222 |
+
</toplinks>
|
| 223 |
+
|
| 224 |
+
<poll translate="label">
|
| 225 |
+
<label>Poll</label>
|
| 226 |
+
<frontend_type>text</frontend_type>
|
| 227 |
+
<sort_order>50</sort_order>
|
| 228 |
+
<show_in_default>1</show_in_default>
|
| 229 |
+
<show_in_website>1</show_in_website>
|
| 230 |
+
<show_in_store>1</show_in_store>
|
| 231 |
+
<expanded>1</expanded>
|
| 232 |
+
|
| 233 |
+
<fields>
|
| 234 |
+
<ishidden>
|
| 235 |
+
<label>Hide Poll</label>
|
| 236 |
+
<frontend_type>select</frontend_type>
|
| 237 |
+
<source_model>adminhtml/system_config_source_yesno</source_model>
|
| 238 |
+
<comment>Hides the Poll box in the right column</comment>
|
| 239 |
+
<sort_order>1</sort_order>
|
| 240 |
+
<show_in_default>1</show_in_default>
|
| 241 |
+
<show_in_website>1</show_in_website>
|
| 242 |
+
<show_in_store>1</show_in_store>
|
| 243 |
+
</ishidden>
|
| 244 |
+
</fields>
|
| 245 |
+
|
| 246 |
+
</poll>
|
| 247 |
+
|
| 248 |
+
<callouts translate="label">
|
| 249 |
+
<label>Callouts</label>
|
| 250 |
+
<frontend_type>text</frontend_type>
|
| 251 |
+
<sort_order>60</sort_order>
|
| 252 |
+
<show_in_default>1</show_in_default>
|
| 253 |
+
<show_in_website>1</show_in_website>
|
| 254 |
+
<show_in_store>1</show_in_store>
|
| 255 |
+
<expanded>1</expanded>
|
| 256 |
+
|
| 257 |
+
<fields>
|
| 258 |
+
<right_ishidden>
|
| 259 |
+
<label>Hide Right Callout (advert)</label>
|
| 260 |
+
<frontend_type>select</frontend_type>
|
| 261 |
+
<source_model>adminhtml/system_config_source_yesno</source_model>
|
| 262 |
+
<comment>Hides the the advert in the right column</comment>
|
| 263 |
+
<sort_order>1</sort_order>
|
| 264 |
+
<show_in_default>1</show_in_default>
|
| 265 |
+
<show_in_website>1</show_in_website>
|
| 266 |
+
<show_in_store>1</show_in_store>
|
| 267 |
+
</right_ishidden>
|
| 268 |
+
</fields>
|
| 269 |
+
|
| 270 |
+
</callouts>
|
| 271 |
+
|
| 272 |
+
<developertools translate="label">
|
| 273 |
+
<label>Developer Tools</label>
|
| 274 |
+
<frontend_type>text</frontend_type>
|
| 275 |
+
<sort_order>70</sort_order>
|
| 276 |
+
<show_in_default>1</show_in_default>
|
| 277 |
+
<show_in_website>1</show_in_website>
|
| 278 |
+
<show_in_store>1</show_in_store>
|
| 279 |
+
<expanded>1</expanded>
|
| 280 |
+
|
| 281 |
+
<fields>
|
| 282 |
+
<layoutstack_enabled>
|
| 283 |
+
<label>Layout Stack enabled</label>
|
| 284 |
+
<frontend_type>select</frontend_type>
|
| 285 |
+
<source_model>adminhtml/system_config_source_yesno</source_model>
|
| 286 |
+
<comment>Outputs Magentos layout stack for the current page </comment>
|
| 287 |
+
<sort_order>1</sort_order>
|
| 288 |
+
<show_in_default>1</show_in_default>
|
| 289 |
+
<show_in_website>1</show_in_website>
|
| 290 |
+
<show_in_store>1</show_in_store>
|
| 291 |
+
</layoutstack_enabled>
|
| 292 |
+
|
| 293 |
+
<layoutstack_output_comment>
|
| 294 |
+
<depends><layoutstack_enabled>1</layoutstack_enabled></depends>
|
| 295 |
+
<label>Output as hidden HTML comment</label>
|
| 296 |
+
<frontend_type>select</frontend_type>
|
| 297 |
+
<source_model>adminhtml/system_config_source_yesno</source_model>
|
| 298 |
+
<comment>Outputs layout stack as a HTML comment inside head tags</comment>
|
| 299 |
+
<sort_order>20</sort_order>
|
| 300 |
+
<show_in_default>1</show_in_default>
|
| 301 |
+
<show_in_website>1</show_in_website>
|
| 302 |
+
<show_in_store>1</show_in_store>
|
| 303 |
+
</layoutstack_output_comment>
|
| 304 |
+
|
| 305 |
+
<layoutstack_output_html>
|
| 306 |
+
<depends><layoutstack_enabled>1</layoutstack_enabled></depends>
|
| 307 |
+
<label>Output at bottom of page </label>
|
| 308 |
+
<frontend_type>select</frontend_type>
|
| 309 |
+
<source_model>adminhtml/system_config_source_yesno</source_model>
|
| 310 |
+
<comment>The stack will be directly onto the bottom of the page</comment>
|
| 311 |
+
<sort_order>30</sort_order>
|
| 312 |
+
<show_in_default>1</show_in_default>
|
| 313 |
+
<show_in_website>1</show_in_website>
|
| 314 |
+
<show_in_store>1</show_in_store>
|
| 315 |
+
</layoutstack_output_html>
|
| 316 |
+
|
| 317 |
+
<layoutstack_output_float>
|
| 318 |
+
<depends><layoutstack_enabled>1</layoutstack_enabled></depends>
|
| 319 |
+
<label>Output as floating div</label>
|
| 320 |
+
<frontend_type>select</frontend_type>
|
| 321 |
+
<source_model>adminhtml/system_config_source_yesno</source_model>
|
| 322 |
+
<comment>A small "+" character will be displayed at the bottom of the page, clicking it will reveal output.</comment>
|
| 323 |
+
<sort_order>40</sort_order>
|
| 324 |
+
<show_in_default>1</show_in_default>
|
| 325 |
+
<show_in_website>1</show_in_website>
|
| 326 |
+
<show_in_store>1</show_in_store>
|
| 327 |
+
</layoutstack_output_float>
|
| 328 |
+
|
| 329 |
+
</fields>
|
| 330 |
+
|
| 331 |
+
</developertools>
|
| 332 |
+
|
| 333 |
+
</groups>
|
| 334 |
+
|
| 335 |
+
</clearandfizzy_essentials>
|
| 336 |
+
|
| 337 |
+
</sections>
|
| 338 |
+
|
| 339 |
+
</config>
|
app/design/frontend/base/default/layout/clearandfizzy/essentials/callouts.xml
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<?xml version="1.0"?>
|
| 2 |
+
<!--
|
| 3 |
+
|
| 4 |
+
-->
|
| 5 |
+
<layout version="0.1.0">
|
| 6 |
+
|
| 7 |
+
<default>
|
| 8 |
+
<reference name="right">
|
| 9 |
+
|
| 10 |
+
<action method="unsetChild" ifconfig="clearandfizzy_essentials/callouts/right_ishidden">
|
| 11 |
+
<name>right.permanent.callout</name>
|
| 12 |
+
</action>
|
| 13 |
+
|
| 14 |
+
</reference>
|
| 15 |
+
</default>
|
| 16 |
+
|
| 17 |
+
</layout>
|
app/design/frontend/base/default/layout/clearandfizzy/essentials/newsletter.xml
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<?xml version="1.0"?>
|
| 2 |
+
<!--
|
| 3 |
+
|
| 4 |
+
-->
|
| 5 |
+
<layout version="0.1.0">
|
| 6 |
+
|
| 7 |
+
<default>
|
| 8 |
+
|
| 9 |
+
<reference name="footer">
|
| 10 |
+
<action method="unsetChild" ifconfig="clearandfizzy_essentials/newsletter/footer_ishidden">
|
| 11 |
+
<name>footer.newsletter</name>
|
| 12 |
+
</action>
|
| 13 |
+
</reference>
|
| 14 |
+
|
| 15 |
+
<reference name="left">
|
| 16 |
+
<action method="unsetChild" ifconfig="clearandfizzy_essentials/newsletter/left_ishidden">
|
| 17 |
+
<name>left.newsletter</name>
|
| 18 |
+
</action>
|
| 19 |
+
</reference>
|
| 20 |
+
|
| 21 |
+
<reference name="right">
|
| 22 |
+
<action method="unsetChild" ifconfig="clearandfizzy_essentials/newsletter/right_ishidden">
|
| 23 |
+
<name>right.newsletter</name>
|
| 24 |
+
</action>
|
| 25 |
+
</reference>
|
| 26 |
+
|
| 27 |
+
|
| 28 |
+
</default>
|
| 29 |
+
|
| 30 |
+
</layout>
|
app/design/frontend/base/default/layout/clearandfizzy/essentials/poll.xml
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<?xml version="1.0"?>
|
| 2 |
+
<!--
|
| 3 |
+
|
| 4 |
+
-->
|
| 5 |
+
<layout version="0.1.0">
|
| 6 |
+
|
| 7 |
+
<default>
|
| 8 |
+
<reference name="right">
|
| 9 |
+
|
| 10 |
+
<action method="unsetChild" ifconfig="clearandfizzy_essentials/poll/ishidden">
|
| 11 |
+
<name>right.poll</name>
|
| 12 |
+
</action>
|
| 13 |
+
|
| 14 |
+
</reference>
|
| 15 |
+
</default>
|
| 16 |
+
|
| 17 |
+
</layout>
|
app/design/frontend/base/default/layout/clearandfizzy/essentials/quicksearch.xml
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<?xml version="1.0"?>
|
| 2 |
+
<!--
|
| 3 |
+
|
| 4 |
+
-->
|
| 5 |
+
<layout version="0.1.0">
|
| 6 |
+
|
| 7 |
+
<default>
|
| 8 |
+
<reference name="header">
|
| 9 |
+
|
| 10 |
+
<action method="unsetChild" ifconfig="clearandfizzy_essentials/quicksearch/ishidden">
|
| 11 |
+
<name>top.search</name>
|
| 12 |
+
</action>
|
| 13 |
+
|
| 14 |
+
<action method="unsetChild" ifconfig="clearandfizzy_essentials/quicksearch/ishidden">
|
| 15 |
+
<name>topSearch</name>
|
| 16 |
+
</action>
|
| 17 |
+
|
| 18 |
+
</reference>
|
| 19 |
+
|
| 20 |
+
</default>
|
| 21 |
+
|
| 22 |
+
</layout>
|
app/design/frontend/base/default/layout/clearandfizzy/essentials/stacklayout.xml
ADDED
|
@@ -0,0 +1,38 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<?xml version="1.0"?>
|
| 2 |
+
<!--
|
| 3 |
+
|
| 4 |
+
-->
|
| 5 |
+
<layout version="0.1.0">
|
| 6 |
+
|
| 7 |
+
<default>
|
| 8 |
+
<block type="core/template" name="layoutstack.comment" template="clearandfizzy/essentials/layoutstack/comment.phtml" />
|
| 9 |
+
<block type="core/template" name="layoutstack.html" template="clearandfizzy/essentials/layoutstack/html.phtml" />
|
| 10 |
+
<block type="core/template" name="layoutstack.float" template="clearandfizzy/essentials/layoutstack/html/float.phtml" />
|
| 11 |
+
|
| 12 |
+
<reference name="head">
|
| 13 |
+
<action method="append" ifconfig="clearandfizzy_essentials/developertools/layoutstack_output_comment">
|
| 14 |
+
<block>layoutstack.comment</block>
|
| 15 |
+
</action>
|
| 16 |
+
</reference>
|
| 17 |
+
|
| 18 |
+
<reference name="before_body_end">
|
| 19 |
+
<action method="append" ifconfig="clearandfizzy_essentials/developertools/layoutstack_output_html">
|
| 20 |
+
<block>layoutstack.html</block>
|
| 21 |
+
</action>
|
| 22 |
+
</reference>
|
| 23 |
+
|
| 24 |
+
<reference name="layoutstack.float">
|
| 25 |
+
<action method="append" ifconfig="clearandfizzy_essentials/developertools/layoutstack_output_float">
|
| 26 |
+
<block>layoutstack.html</block>
|
| 27 |
+
</action>
|
| 28 |
+
</reference>
|
| 29 |
+
|
| 30 |
+
<reference name="before_body_end">
|
| 31 |
+
<action method="append" ifconfig="clearandfizzy_essentials/developertools/layoutstack_output_float">
|
| 32 |
+
<block>layoutstack.float</block>
|
| 33 |
+
</action>
|
| 34 |
+
</reference>
|
| 35 |
+
|
| 36 |
+
</default>
|
| 37 |
+
|
| 38 |
+
</layout>
|
app/design/frontend/base/default/layout/clearandfizzy/essentials/toplinks.xml
ADDED
|
@@ -0,0 +1,47 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<layout version="0.1.0">
|
| 2 |
+
|
| 3 |
+
<!--
|
| 4 |
+
Layout for customer login page
|
| 5 |
+
-->
|
| 6 |
+
|
| 7 |
+
<default>
|
| 8 |
+
|
| 9 |
+
<reference name="header">
|
| 10 |
+
|
| 11 |
+
<action method="unsetChild" module="customer" ifconfig="clearandfizzy_essentials/toplinks/toplinks_ishidden">
|
| 12 |
+
<name>topLinks</name>
|
| 13 |
+
</action>
|
| 14 |
+
|
| 15 |
+
</reference>
|
| 16 |
+
|
| 17 |
+
<!-- Remove a whole bunch of default mangento links -->
|
| 18 |
+
<reference name="top.links">
|
| 19 |
+
|
| 20 |
+
<action method="removeLinkByUrl" module="customer" ifconfig="clearandfizzy_essentials/toplinks/myaccount_ishidden">
|
| 21 |
+
<url helper="customer/getAccountUrl" />
|
| 22 |
+
</action>
|
| 23 |
+
|
| 24 |
+
<action method="removeLinkBlock" module="wishlist" ifconfig="clearandfizzy_essentials/toplinks/wishlists_ishidden">
|
| 25 |
+
<blockName>wishlist_link</blockName>
|
| 26 |
+
</action>
|
| 27 |
+
|
| 28 |
+
</reference>
|
| 29 |
+
|
| 30 |
+
<reference name="footer_links2">
|
| 31 |
+
<action method="removeLinkByUrl"><url><url helper="customer/getAccountUrl"/></url></action>
|
| 32 |
+
</reference>
|
| 33 |
+
|
| 34 |
+
</default>
|
| 35 |
+
|
| 36 |
+
<customer_logged_out>
|
| 37 |
+
<reference name="top.links">
|
| 38 |
+
<action method="removeLinkByUrl" module="customer" ifconfig="clearandfizzy_essentials/toplinks/login_ishidden">
|
| 39 |
+
<url helper="customer/getLoginUrl" />
|
| 40 |
+
</action>
|
| 41 |
+
<action method="removeLinkByUrl" module="customer" ifconfig="clearandfizzy_essentials/toplinks/register_ishidden">
|
| 42 |
+
<url helper="customer/getRegisterUrl" />
|
| 43 |
+
</action>
|
| 44 |
+
</reference>
|
| 45 |
+
</customer_logged_out>
|
| 46 |
+
|
| 47 |
+
</layout>
|
app/design/frontend/base/default/template/clearandfizzy/essentials/layoutstack/comment.phtml
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<?php ?>
|
| 2 |
+
<!-- Clearandfizzy_Essentials
|
| 3 |
+
<?php var_dump( Mage::app()->getLayout()->getUpdate()->getHandles() ); ?>
|
| 4 |
+
-->
|
app/design/frontend/base/default/template/clearandfizzy/essentials/layoutstack/html.phtml
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<?php
|
| 2 |
+
$_handles = Mage::app()->getLayout()->getUpdate()->getHandles();
|
| 3 |
+
?>
|
| 4 |
+
|
| 5 |
+
|
| 6 |
+
<table>
|
| 7 |
+
<thead>
|
| 8 |
+
<tr>
|
| 9 |
+
<td>Position</td>
|
| 10 |
+
<td>Handle</td>
|
| 11 |
+
</tr>
|
| 12 |
+
</thead>
|
| 13 |
+
<tbody>
|
| 14 |
+
<?php foreach ($_handles as $key => $value) { ?>
|
| 15 |
+
<tr>
|
| 16 |
+
<td><?php echo $key; ?></td>
|
| 17 |
+
<td><?php echo $value; ?></td>
|
| 18 |
+
</tr>
|
| 19 |
+
<?php } // end foreach ?>
|
| 20 |
+
|
| 21 |
+
</tbody>
|
| 22 |
+
</table>
|
| 23 |
+
|
app/design/frontend/base/default/template/clearandfizzy/essentials/layoutstack/html/float.phtml
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<div><a id="layoutstack" href="" >[+]</a></div>
|
| 2 |
+
<div id="layoutstack_output" class="">
|
| 3 |
+
<?php echo $this->getChildHtml('layoutstack.html'); ?>
|
| 4 |
+
</div>
|
| 5 |
+
|
| 6 |
+
<?php // Prototype as we know Magento will have this installed already; ?>
|
| 7 |
+
<script type="text/javascript">
|
| 8 |
+
|
| 9 |
+
<?php // hide the block onload?>
|
| 10 |
+
Element.toggle('layoutstack_output');
|
| 11 |
+
|
| 12 |
+
Event.observe('layoutstack', 'click', function(event) {
|
| 13 |
+
event.stop();
|
| 14 |
+
Element.toggle('layoutstack_output');
|
| 15 |
+
Element.scrollTo('layoutstack_output');
|
| 16 |
+
});
|
| 17 |
+
</script>
|
app/etc/modules/Clearandfizzy_Essentials.xml
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<config>
|
| 2 |
+
<modules>
|
| 3 |
+
<Clearandfizzy_Essentials>
|
| 4 |
+
<active>true</active>
|
| 5 |
+
<codePool>community</codePool>
|
| 6 |
+
</Clearandfizzy_Essentials>
|
| 7 |
+
</modules>
|
| 8 |
+
</config>
|
package.xml
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<?xml version="1.0"?>
|
| 2 |
+
<package>
|
| 3 |
+
<name>Clearandfizzy_Essentials</name>
|
| 4 |
+
<version>1.0.0</version>
|
| 5 |
+
<stability>stable</stability>
|
| 6 |
+
<license uri="http://www.clearandfizzy.com/reducedcheckout-pro/licence.txt">Clearandfizzy Licence</license>
|
| 7 |
+
<channel>community</channel>
|
| 8 |
+
<extends/>
|
| 9 |
+
<summary>Time saving collection of small extensions, features and developer tools for your Magento stack.</summary>
|
| 10 |
+
<description>As a developer / contractor with multiple clients I'm often asked to do the same task more than once. Here is a time saving collection of small extensions, features and developer tools for your Magento stack.</description>
|
| 11 |
+
<notes>Initial Release</notes>
|
| 12 |
+
<authors><author><name>Gareth Price</name><user>clearandfizzy</user><email>support@clearandfizzy.com</email></author></authors>
|
| 13 |
+
<date>2014-11-28</date>
|
| 14 |
+
<time>17:11:04</time>
|
| 15 |
+
<contents><target name="magecommunity"><dir name="Clearandfizzy"><dir name="Essentials"><dir name="Block"><dir name="Adminhtml"><dir name="Catalog"><dir name="Category"><dir name="Tab"><file name="Product.php" hash="51f0b28d781873e9d1292c3d4bd16eb3"/></dir></dir></dir></dir></dir><dir name="Helper"><file name="Config.php" hash="ad72780d0a86156197aa7787a0c31dea"/><file name="Data.php" hash="73b9ee106ffe2327c4994e1e610e81e3"/></dir><dir name="Model"><dir name="Observers"><dir name="Adminhtml"><dir name="Catalog"><dir name="Category"><file name="Tabs.php" hash="54b4c58f211da5020d278a58d8498b99"/></dir></dir></dir></dir></dir><file name="README.txt" hash="a92d99cf223f5d643357e6b976ae82b8"/><dir name="etc"><file name="adminhtml.xml" hash="5e9b1681c2374d9b7f507e4f863c333e"/><file name="config.xml" hash="8f59ec1cbf2880bbd6cb4b931148912f"/><file name="system.xml" hash="d1c6766eb8243751adb9e9383505fe97"/></dir></dir></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><dir name="clearandfizzy"><dir name="essentials"><file name="callouts.xml" hash="cdb922c8f75a29be4ee6f983cb574dc2"/><file name="newsletter.xml" hash="3869301377d5204b483bbb7c6f94d51c"/><file name="poll.xml" hash="b0a9f89b9ebed29e84659afd87656ac5"/><file name="quicksearch.xml" hash="521494a14e2b3f1299f1acd284b2f47b"/><file name="stacklayout.xml" hash="e04c34295f8722e0c478ef09be8f7590"/><file name="toplinks.xml" hash="1a6a254a50eb6ef9c110fb03adca30b0"/></dir></dir></dir><dir name="template"><dir name="clearandfizzy"><dir name="essentials"><dir name="layoutstack"><file name="comment.phtml" hash="735ed75753dd1feb6c6f60f184fa2e57"/><dir name="html"><file name="float.phtml" hash="b57fc156b1c9d45b4755e47ceaafabc7"/></dir><file name="html.phtml" hash="ebbf4a4b67f1683897768a7f7d7c7fa3"/></dir></dir></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Clearandfizzy_Essentials.xml" hash="701bb000fa4cdcfaf6b5909e08f3fe66"/></dir></target></contents>
|
| 16 |
+
<compatible/>
|
| 17 |
+
<dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php></required></dependencies>
|
| 18 |
+
</package>
|
