Version Notes
1.1.2
Download this release
Release Info
| Developer | Magalter |
| Extension | Magalter_Config |
| Version | 1.1.2 |
| Comparing to | |
| See all releases | |
Code changes from version 1.1.1 to 1.1.2
app/code/local/Magalter/Config/Model/Observer.php
CHANGED
|
@@ -79,13 +79,21 @@ class Magalter_Config_Model_Observer
|
|
| 79 |
{
|
| 80 |
if (Mage::helper('magalterconfig')->getInstalledFreeMagalter()) {
|
| 81 |
if (Mage::app()->getRequest()->getModuleName() == 'contacts') {
|
| 82 |
-
|
| 83 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 84 |
}
|
| 85 |
}
|
| 86 |
if (Mage::app()->getRequest()->getControllerName() == 'seo_sitemap') {
|
| 87 |
-
|
| 88 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 89 |
}
|
| 90 |
}
|
| 91 |
}
|
| 79 |
{
|
| 80 |
if (Mage::helper('magalterconfig')->getInstalledFreeMagalter()) {
|
| 81 |
if (Mage::app()->getRequest()->getModuleName() == 'contacts') {
|
| 82 |
+
$layout = $observer->getLayout();
|
| 83 |
+
if ($layout->getBlock('footer')) {
|
| 84 |
+
$layout
|
| 85 |
+
->getBlock('footer')
|
| 86 |
+
->setCacheLifetime(null)
|
| 87 |
+
->insert($layout->createBlock(Mage::getBlockSingleton('magalterconfig/prepare')->setLinksIdentity(Mage::helper('magalterconfig')->__('Magento plugins')), 'magalter_config_prepare'), '', true);
|
| 88 |
}
|
| 89 |
}
|
| 90 |
if (Mage::app()->getRequest()->getControllerName() == 'seo_sitemap') {
|
| 91 |
+
$layout = $observer->getLayout();
|
| 92 |
+
if ($layout->getBlock('footer')) {
|
| 93 |
+
$layout
|
| 94 |
+
->getBlock('footer')
|
| 95 |
+
->setCacheLifetime(null)
|
| 96 |
+
->insert($layout->createBlock(Mage::getBlockSingleton('magalterconfig/prepare')->setLinksIdentity(Mage::helper('magalterconfig')->__('Magento customization')), 'magalter_config_prepare'), '', true);
|
| 97 |
}
|
| 98 |
}
|
| 99 |
}
|
app/code/local/Magalter/Config/etc/config.xml
CHANGED
|
@@ -2,7 +2,7 @@
|
|
| 2 |
<config>
|
| 3 |
<modules>
|
| 4 |
<Magalter_Config>
|
| 5 |
-
<version>1.1.
|
| 6 |
</Magalter_Config>
|
| 7 |
</modules>
|
| 8 |
|
| 2 |
<config>
|
| 3 |
<modules>
|
| 4 |
<Magalter_Config>
|
| 5 |
+
<version>1.1.2</version>
|
| 6 |
</Magalter_Config>
|
| 7 |
</modules>
|
| 8 |
|
package.xml
CHANGED
|
@@ -1,18 +1,18 @@
|
|
| 1 |
<?xml version="1.0"?>
|
| 2 |
<package>
|
| 3 |
<name>Magalter_Config</name>
|
| 4 |
-
<version>1.1.
|
| 5 |
<stability>stable</stability>
|
| 6 |
<license uri="http://www.magalter.com/license">Custom License</license>
|
| 7 |
<channel>community</channel>
|
| 8 |
<extends/>
|
| 9 |
<summary>Magalter configuration extension, needed for correct work of other Magalter extensions</summary>
|
| 10 |
<description>Magalter configuration extension, needed for correct work of other Magalter extensions</description>
|
| 11 |
-
<notes>1.1.
|
| 12 |
<authors><author><name>Magalter</name><user>magalter</user><email>admin@magalter.com</email></author></authors>
|
| 13 |
-
<date>2012-05-
|
| 14 |
-
<time>
|
| 15 |
-
<contents><target name="magelocal"><dir name="Magalter"><dir name="Config"><dir name="Block"><file name="Prepare.php" hash="ca08642ebd3293dfc386fb716ef9bb0c"/><dir name="Versions"><file name="Table.php" hash="74558c4e23a6469b9c2631aadcd03525"/></dir><file name="Versions.php" hash="b814757aeb8971a7f7ae545a8010b055"/></dir><dir name="Helper"><file name="Data.php" hash="be65fdf5b648e5d41e0e4a0e07583fc2"/></dir><dir name="Model"><dir name="Mysql4"><dir name="Storage"><file name="Collection.php" hash="24be2283e3680e4c4f78c3d878fb874a"/></dir><file name="Storage.php" hash="fe13f5bc086b191cb8e8666d0ab49ab5"/></dir><file name="Observer.php" hash="
|
| 16 |
<compatible/>
|
| 17 |
<dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php></required></dependencies>
|
| 18 |
</package>
|
| 1 |
<?xml version="1.0"?>
|
| 2 |
<package>
|
| 3 |
<name>Magalter_Config</name>
|
| 4 |
+
<version>1.1.2</version>
|
| 5 |
<stability>stable</stability>
|
| 6 |
<license uri="http://www.magalter.com/license">Custom License</license>
|
| 7 |
<channel>community</channel>
|
| 8 |
<extends/>
|
| 9 |
<summary>Magalter configuration extension, needed for correct work of other Magalter extensions</summary>
|
| 10 |
<description>Magalter configuration extension, needed for correct work of other Magalter extensions</description>
|
| 11 |
+
<notes>1.1.2</notes>
|
| 12 |
<authors><author><name>Magalter</name><user>magalter</user><email>admin@magalter.com</email></author></authors>
|
| 13 |
+
<date>2012-05-08</date>
|
| 14 |
+
<time>19:43:04</time>
|
| 15 |
+
<contents><target name="magelocal"><dir name="Magalter"><dir name="Config"><dir name="Block"><file name="Prepare.php" hash="ca08642ebd3293dfc386fb716ef9bb0c"/><dir name="Versions"><file name="Table.php" hash="74558c4e23a6469b9c2631aadcd03525"/></dir><file name="Versions.php" hash="b814757aeb8971a7f7ae545a8010b055"/></dir><dir name="Helper"><file name="Data.php" hash="be65fdf5b648e5d41e0e4a0e07583fc2"/></dir><dir name="Model"><dir name="Mysql4"><dir name="Storage"><file name="Collection.php" hash="24be2283e3680e4c4f78c3d878fb874a"/></dir><file name="Storage.php" hash="fe13f5bc086b191cb8e8666d0ab49ab5"/></dir><file name="Observer.php" hash="3f23ed5a42cf214f97e92ae541b89dc2"/><file name="Storage.php" hash="8c21521c51ccbf7f586c860f5e47a363"/></dir><dir name="etc"><file name="config.xml" hash="f6a3c535723f334f0b70217d108cd477"/><file name="system.xml" hash="c7dab470f339e7589dd73ce295a99a1d"/></dir><dir name="sql"><dir name="magalterconfig_setup"><file name="mysql4-install-1.1.0.0.php" hash="2e4575231696f54f7c86d0d2768ba4aa"/><file name="mysql4-upgrade-1.1.0.0-1.1.1.php" hash="32a486798dc13cb431816ba3eb7c48ad"/></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Magalter_Config.xml" hash="ab239b707d6a04aa4369ab322d8137c1"/></dir></target><target name="mageskin"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="css"><file name="magalter_config.css" hash="1be18d448a55870e7a61c0e4d44a6d43"/></dir></dir></dir></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="template"><dir name="magalter_config"><dir name="versions"><file name="table.phtml" hash="89780aebc30251d2826d14a7eb843111"/></dir></dir></dir><dir name="layout"><file name="magalter_config.xml" hash="dfaa6354395532a1912ae1898b3b57ae"/></dir></dir></dir></dir></target></contents>
|
| 16 |
<compatible/>
|
| 17 |
<dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php></required></dependencies>
|
| 18 |
</package>
|
