Version Notes
It is stable version.
Download this release
Release Info
Developer | Magento Core Team |
Extension | DD_Customsitemaintanance |
Version | 1.0.3 |
Comparing to | |
See all releases |
Code changes from version 1.0.2 to 1.0.3
- app/code/community/DD/Customsitemaintanance/Model/Observer.php~ +0 -96
- app/code/community/DD/Customsitemaintanance/etc/config.xml +8 -1
- app/code/community/DD/Customsitemaintanance/etc/config.xml~ +0 -123
- app/code/community/DD/Customsitemaintanance/etc/system.xml +1 -2
- app/code/community/DD/Customsitemaintanance/etc/system.xml~ +0 -174
- app/design/adminhtml/default/default/layout/customsitemaintanance.xml +19 -0
- app/design/frontend/base/default/template/customsitemaintanance/customsitemaintanance.phtml +85 -70
- app/design/frontend/base/default/template/customsitemaintanance/customsitemaintanance.phtml~ +0 -86
- app/etc/modules/DD_Customsitemaintanance.xml +1 -1
- media/customsitemaintanance/slide1.jpg +0 -0
- media/customsitemaintanance/slide2.jpg +0 -0
- media/customsitemaintanance/slide3.jpg +0 -0
- media/customsitemaintanance/slide4.jpg +0 -0
- media/customsitemaintanance/slide5.jpg +0 -0
- media/customsitemaintanance/slide6.jpg +0 -0
- media/customsitemaintanance/slide7.jpg +0 -0
- media/customsitemaintanance/slide8.jpg +0 -0
- package.xml +8 -9
app/code/community/DD/Customsitemaintanance/Model/Observer.php~
DELETED
@@ -1,96 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
|
3 |
-
/**
|
4 |
-
* Dynamic Dreamz
|
5 |
-
* @category DD
|
6 |
-
* @package DD_Customsitemaintanance
|
7 |
-
* @copyright Copyright (c) 2014-2015 Dynamic Dreamz. (http://www.dynamicdreamz.com/)
|
8 |
-
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL)
|
9 |
-
*/
|
10 |
-
class DD_Customsitemaintanance_Model_Observer {
|
11 |
-
|
12 |
-
/**
|
13 |
-
* Checks whether the maintanance mode is enabled on every page load
|
14 |
-
*/
|
15 |
-
public function initFirstLoad() {
|
16 |
-
|
17 |
-
$switchSessionName = 'adminhtml';
|
18 |
-
$currentSessionId = Mage::getSingleton('core/session')->getSessionId();
|
19 |
-
$currentSessionName = Mage::getSingleton('core/session')->getSessionName();
|
20 |
-
if ($currentSessionId && $currentSessionName && isset($_COOKIE[$currentSessionName])) {
|
21 |
-
$switchSessionId = $_COOKIE[$switchSessionName];
|
22 |
-
$this->_switchSession($switchSessionName, $switchSessionId);
|
23 |
-
$whateverData = Mage::getModel('admin/session')->getData();
|
24 |
-
$this->_switchSession($currentSessionName, $currentSessionId);
|
25 |
-
}
|
26 |
-
$red_url = explode("\n", Mage::getStoreConfig('customsitemaintanance/general/redirecturl', Mage::app()->getStore()));
|
27 |
-
$redirect_url = array_map('trim', $red_url);
|
28 |
-
$adminFrontName = Mage::getConfig()->getNode('admin/routers/adminhtml/args/frontName');
|
29 |
-
$contactDetails_enabled = Mage::getStoreConfig('customsitemaintanance/general/contact_details_enabled');
|
30 |
-
$area = Mage::app()->getRequest()->getOriginalPathInfo();
|
31 |
-
if ((!in_array($area, $redirect_url))) {
|
32 |
-
$storeId = Mage::app()->getStore()->getStoreId();
|
33 |
-
$allowedIPs = Mage::getStoreConfig('customsitemaintanance/general/allowedIPs', $storeId);
|
34 |
-
$allowedIPs = preg_replace('/ /', '', $allowedIPs);
|
35 |
-
$isEnabled = Mage::getStoreConfig('customsitemaintanance/general/enabled', $storeId);
|
36 |
-
$newBlock = Mage::app()->getLayout()
|
37 |
-
->createBlock('customsitemaintanance/index')
|
38 |
-
->setTemplate('customsitemaintanance/customsitemaintanance.phtml')
|
39 |
-
->toHtml();
|
40 |
-
if ($isEnabled == '1') {
|
41 |
-
$IPs = array();
|
42 |
-
if ('' !== trim($allowedIPs)) {
|
43 |
-
$IPs = explode(',', $allowedIPs);
|
44 |
-
}
|
45 |
-
$currentIP = $_SERVER['REMOTE_ADDR'];
|
46 |
-
$allowForAdmin = Mage::getStoreConfig('customsitemaintanance/general/allowforadmin', $storeId);
|
47 |
-
$adminIp = null;
|
48 |
-
Mage::getSingleton('core/session', array('name' => 'adminhtml'));
|
49 |
-
$adminSession = Mage::getSingleton('admin/session');
|
50 |
-
if ($allowForAdmin == 1) {
|
51 |
-
if ($adminSession->isLoggedIn()) {
|
52 |
-
$adminIp = $adminSession['_session_validator_data']['remote_addr'];
|
53 |
-
}
|
54 |
-
}
|
55 |
-
if (!in_array($currentIP, $IPs) && ((!$whateverData[user][is_active]) || ($whateverData[user][is_active]) && ($allowForAdmin == '0'))) {
|
56 |
-
echo $newBlock;
|
57 |
-
}
|
58 |
-
}
|
59 |
-
$params = Mage::app()->getRequest()->getParam('section');
|
60 |
-
if ($params == 'customsitemaintanance' && $isEnabled == '0' && $contactDetails_enabled == '0') {
|
61 |
-
return $this->sendEmailToDev();
|
62 |
-
}
|
63 |
-
}
|
64 |
-
}
|
65 |
-
|
66 |
-
/**
|
67 |
-
*
|
68 |
-
* @param type $namespace
|
69 |
-
* @param type $id
|
70 |
-
*/
|
71 |
-
protected function _switchSession($namespace, $id = null) {
|
72 |
-
session_write_close();
|
73 |
-
$GLOBALS['_SESSION'] = null;
|
74 |
-
$session = Mage::getSingleton('core/session');
|
75 |
-
if ($id) {
|
76 |
-
$session->setSessionId($id);
|
77 |
-
}
|
78 |
-
$session->start($namespace);
|
79 |
-
}
|
80 |
-
|
81 |
-
public function sendEmailToDev() {
|
82 |
-
$emailTemplate = Mage::getModel('core/email_template');
|
83 |
-
$userData['domain_name'] = Mage::getStoreConfig('web/secure/base_url');
|
84 |
-
$userData['name'] = Mage::getStoreConfig('trans_email/ident_general/name');
|
85 |
-
$userData['email'] = Mage::getStoreConfig('trans_email/ident_general/email');
|
86 |
-
$emailTemplate->setTemplateSubject('Website Under Maintenance extension was installed on' . $userData['domain_name']);
|
87 |
-
$emailTemplate->setSenderName($userData['name']);
|
88 |
-
$emailTemplate->setSenderEmail($userData['email']);
|
89 |
-
$emailTemplateVariables = array();
|
90 |
-
$emailTemplateVariables['admin_name'] = 'Dev Dyna';
|
91 |
-
$emailTemplate->send('programmer20@dynamicdreamz.com', 'Dynamic Dreamzz', $emailTemplateVariables);
|
92 |
-
}
|
93 |
-
|
94 |
-
}
|
95 |
-
|
96 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
app/code/community/DD/Customsitemaintanance/etc/config.xml
CHANGED
@@ -11,7 +11,7 @@
|
|
11 |
<config>
|
12 |
<modules>
|
13 |
<DD_Customsitemaintanance>
|
14 |
-
<version>1.0.
|
15 |
</DD_Customsitemaintanance>
|
16 |
</modules>
|
17 |
<frontend>
|
@@ -70,6 +70,13 @@
|
|
70 |
</admin>
|
71 |
</resources>
|
72 |
</acl>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
73 |
</adminhtml>
|
74 |
<global>
|
75 |
<helpers>
|
11 |
<config>
|
12 |
<modules>
|
13 |
<DD_Customsitemaintanance>
|
14 |
+
<version>1.0.3</version>
|
15 |
</DD_Customsitemaintanance>
|
16 |
</modules>
|
17 |
<frontend>
|
70 |
</admin>
|
71 |
</resources>
|
72 |
</acl>
|
73 |
+
<layout>
|
74 |
+
<updates>
|
75 |
+
<customsitemaintanance>
|
76 |
+
<file>customsitemaintanance.xml</file>
|
77 |
+
</customsitemaintanance>
|
78 |
+
</updates>
|
79 |
+
</layout>
|
80 |
</adminhtml>
|
81 |
<global>
|
82 |
<helpers>
|
app/code/community/DD/Customsitemaintanance/etc/config.xml~
DELETED
@@ -1,123 +0,0 @@
|
|
1 |
-
<?xml version="1.0"?>
|
2 |
-
<!--
|
3 |
-
/**
|
4 |
-
* Dynamic Dreamz
|
5 |
-
* @category DD
|
6 |
-
* @package DD_Customsitemaintanance
|
7 |
-
* @copyright Copyright (c) 2014-2015 Dynamic Dreamz. (http://www.dynamicdreamz.com/)
|
8 |
-
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL)
|
9 |
-
*/
|
10 |
-
-->
|
11 |
-
<config>
|
12 |
-
<modules>
|
13 |
-
<DD_Customsitemaintanance>
|
14 |
-
<version>1.0.2</version>
|
15 |
-
</DD_Customsitemaintanance>
|
16 |
-
</modules>
|
17 |
-
<frontend>
|
18 |
-
<routers>
|
19 |
-
<customsitemaintanance>
|
20 |
-
<use>standard</use>
|
21 |
-
<args>
|
22 |
-
<module>DD_Customsitemaintanance</module>
|
23 |
-
<frontName>customsitemaintanance</frontName>
|
24 |
-
</args>
|
25 |
-
</customsitemaintanance>
|
26 |
-
</routers>
|
27 |
-
<layout>
|
28 |
-
<updates>
|
29 |
-
<customsitemaintanance>
|
30 |
-
<file>customsitemaintanance.xml</file>
|
31 |
-
</customsitemaintanance>
|
32 |
-
</updates>
|
33 |
-
</layout>
|
34 |
-
</frontend>
|
35 |
-
<admin>
|
36 |
-
<routers>
|
37 |
-
<customsitemaintanance>
|
38 |
-
<use>admin</use>
|
39 |
-
<args>
|
40 |
-
<module>DD_Customsitemaintanance</module>
|
41 |
-
<frontName>customsitemaintanance</frontName>
|
42 |
-
</args>
|
43 |
-
</customsitemaintanance>
|
44 |
-
</routers>
|
45 |
-
</admin>
|
46 |
-
<adminhtml>
|
47 |
-
<acl>
|
48 |
-
<resources>
|
49 |
-
<all>
|
50 |
-
<title>Allow Everything</title>
|
51 |
-
</all>
|
52 |
-
<admin>
|
53 |
-
<children>
|
54 |
-
<DD_Customsitemaintanance>
|
55 |
-
<title>Customsitemaintanance Module</title>
|
56 |
-
<sort_order>10</sort_order>
|
57 |
-
</DD_Customsitemaintanance>
|
58 |
-
<system>
|
59 |
-
<children>
|
60 |
-
<config>
|
61 |
-
<children>
|
62 |
-
<customsitemaintanance>
|
63 |
-
<title>Easymaintanance</title>
|
64 |
-
</customsitemaintanance>
|
65 |
-
</children>
|
66 |
-
</config>
|
67 |
-
</children>
|
68 |
-
</system>
|
69 |
-
</children>
|
70 |
-
</admin>
|
71 |
-
</resources>
|
72 |
-
</acl>
|
73 |
-
</adminhtml>
|
74 |
-
<global>
|
75 |
-
<helpers>
|
76 |
-
<customsitemaintanance>
|
77 |
-
<class>DD_Customsitemaintanance_Helper</class>
|
78 |
-
</customsitemaintanance>
|
79 |
-
</helpers>
|
80 |
-
<blocks>
|
81 |
-
<customsitemaintanance>
|
82 |
-
<class>DD_Customsitemaintanance_Block</class>
|
83 |
-
</customsitemaintanance>
|
84 |
-
</blocks>
|
85 |
-
<models>
|
86 |
-
<customsitemaintanance>
|
87 |
-
<class>DD_Customsitemaintanance_Model</class>
|
88 |
-
</customsitemaintanance>
|
89 |
-
</models>
|
90 |
-
<resources>
|
91 |
-
<customsitemaintanance_setup>
|
92 |
-
<setup>
|
93 |
-
<module>DD_Customsitemaintanance</module>
|
94 |
-
</setup>
|
95 |
-
<connection>
|
96 |
-
<use>core_setup</use>
|
97 |
-
</connection>
|
98 |
-
</customsitemaintanance_setup>
|
99 |
-
<customsitemaintanance_write>
|
100 |
-
<connection>
|
101 |
-
<use>core_write</use>
|
102 |
-
</connection>
|
103 |
-
</customsitemaintanance_write>
|
104 |
-
<customsitemaintanance_read>
|
105 |
-
<connection>
|
106 |
-
<use>core_read</use>
|
107 |
-
</connection>
|
108 |
-
</customsitemaintanance_read>
|
109 |
-
</resources>
|
110 |
-
<events>
|
111 |
-
<controller_front_send_response_before>
|
112 |
-
<observers>
|
113 |
-
<customsitemaintanance>
|
114 |
-
<type>singleton</type>
|
115 |
-
<class>customsitemaintanance/observer</class>
|
116 |
-
<method>initFirstLoad</method>
|
117 |
-
</customsitemaintanance>
|
118 |
-
</observers>
|
119 |
-
</controller_front_send_response_before>
|
120 |
-
|
121 |
-
</events>
|
122 |
-
</global>
|
123 |
-
</config>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
app/code/community/DD/Customsitemaintanance/etc/system.xml
CHANGED
@@ -141,8 +141,7 @@
|
|
141 |
<show_in_default>1</show_in_default>
|
142 |
<show_in_website>1</show_in_website>
|
143 |
<show_in_store>1</show_in_store>
|
144 |
-
|
145 |
-
<depends>
|
146 |
<contact_details_enabled>1</contact_details_enabled>
|
147 |
</depends>
|
148 |
</address>
|
141 |
<show_in_default>1</show_in_default>
|
142 |
<show_in_website>1</show_in_website>
|
143 |
<show_in_store>1</show_in_store>
|
144 |
+
<depends>
|
|
|
145 |
<contact_details_enabled>1</contact_details_enabled>
|
146 |
</depends>
|
147 |
</address>
|
app/code/community/DD/Customsitemaintanance/etc/system.xml~
DELETED
@@ -1,174 +0,0 @@
|
|
1 |
-
<?xml version="1.0"?>
|
2 |
-
<!--
|
3 |
-
/**
|
4 |
-
* Dynamic Dreamz
|
5 |
-
* @category DD
|
6 |
-
* @package DD_Customsitemaintanance
|
7 |
-
* @copyright Copyright (c) 2014-2015 Dynamic Dreamz. (http://www.dynamicdreamz.com/)
|
8 |
-
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL)
|
9 |
-
*/
|
10 |
-
-->
|
11 |
-
|
12 |
-
<config>
|
13 |
-
|
14 |
-
<tabs><!--creates a tab DD_Customsite_Maintanance on the adminhtml page-->
|
15 |
-
<dd translate="label" module="customsitemaintanance">
|
16 |
-
<label>Dynamic Dreamz Extensions</label>
|
17 |
-
<sort_order>2</sort_order><!--the order of the tab-->
|
18 |
-
</dd>
|
19 |
-
</tabs>
|
20 |
-
<sections><!--creates a section Custom Site Maintenance under the tab DD_Customsite_Maintanance-->
|
21 |
-
<customsitemaintanance translate="label" module="customsitemaintanance">
|
22 |
-
<label>Custom Site Maintenance</label>
|
23 |
-
<tab>dd</tab>
|
24 |
-
<frontend_type>text</frontend_type>
|
25 |
-
<sort_order>10</sort_order>
|
26 |
-
<show_in_default>1</show_in_default>
|
27 |
-
<show_in_website>1</show_in_website>
|
28 |
-
<show_in_store>1</show_in_store>
|
29 |
-
<groups><!--creates a group Maintanance Configuration under the section Custom Site Maintenance-->
|
30 |
-
<general translate="label">
|
31 |
-
<label>Maintanance Configuration</label>
|
32 |
-
<frontend_type>text</frontend_type>
|
33 |
-
<sort_order>1</sort_order>
|
34 |
-
<show_in_default>1</show_in_default>
|
35 |
-
<show_in_website>1</show_in_website>
|
36 |
-
<show_in_store>1</show_in_store>
|
37 |
-
<fields>
|
38 |
-
<enabled translate="label"><!--creates a field Site Maintanance under the group Maintanance Configuration-->
|
39 |
-
<label>Site Maintanance</label>
|
40 |
-
<comment>Enable or disable Site Maintanance</comment>
|
41 |
-
<frontend_type>select</frontend_type>
|
42 |
-
<source_model>adminhtml/system_config_source_yesno</source_model>
|
43 |
-
<sort_order>1</sort_order>
|
44 |
-
<show_in_default>1</show_in_default>
|
45 |
-
<show_in_website>1</show_in_website>
|
46 |
-
<show_in_store>1</show_in_store>
|
47 |
-
</enabled>
|
48 |
-
<allowforadmin translate="label"><!--creates a field Allow Frontend for Admin under the group Maintanance Configuration-->
|
49 |
-
<label>Allow Frontend for Admin</label>
|
50 |
-
<comment>Frontend is allow for logged admin user</comment>
|
51 |
-
<frontend_type>select</frontend_type>
|
52 |
-
<source_model>adminhtml/system_config_source_yesno</source_model>
|
53 |
-
<sort_order>3</sort_order>
|
54 |
-
<show_in_default>1</show_in_default>
|
55 |
-
<show_in_website>1</show_in_website>
|
56 |
-
<show_in_store>1</show_in_store>
|
57 |
-
</allowforadmin>
|
58 |
-
<page_title translate="label"><!--creates a field Page Title under the group Maintanance Configuration-->
|
59 |
-
<label>Page Title</label>
|
60 |
-
<comment>Add Site Maintanance page Title</comment>
|
61 |
-
<frontend_type>text</frontend_type>
|
62 |
-
<sort_order>5</sort_order>
|
63 |
-
<show_in_default>1</show_in_default>
|
64 |
-
<show_in_website>1</show_in_website>
|
65 |
-
<show_in_store>1</show_in_store>
|
66 |
-
</page_title>
|
67 |
-
<allowedIPs translate="label"><!--creates a field Allowed IPs under the group Maintanance Configuration-->
|
68 |
-
<label>Allowed IPs</label>
|
69 |
-
<comment>Enter multiple IPs with comma seperated.For Ex:192.168.1.66,192.168.1.67</comment>
|
70 |
-
<frontend_type>text</frontend_type>
|
71 |
-
<sort_order>6</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 |
-
</allowedIPs>
|
76 |
-
<logo translate="label comment"><!--creates a field Logo under the group Maintanance Configuration-->
|
77 |
-
<label>Logo</label>
|
78 |
-
<comment>Allowed file types: jpeg, gif, png.Preferable file type: png</comment>
|
79 |
-
<frontend_type>image</frontend_type>
|
80 |
-
<backend_model>adminhtml/system_config_backend_image</backend_model>
|
81 |
-
<upload_dir config="system/filesystem/media" scope_info="1">customsitemaintanance</upload_dir>
|
82 |
-
<base_url type="media" scope_info="1">customsitemaintanance</base_url>
|
83 |
-
<sort_order>8</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 |
-
</logo>
|
88 |
-
<background_image translate="label comment"><!--creates a field Background Image under the group Maintanance Configuration-->
|
89 |
-
<label>Background Image</label>
|
90 |
-
<comment>Allowed file types: jpeg, gif, png.</comment>
|
91 |
-
<frontend_type>image</frontend_type>
|
92 |
-
<backend_model>adminhtml/system_config_backend_image</backend_model>
|
93 |
-
<upload_dir config="system/filesystem/media" scope_info="1">customsitemaintanance</upload_dir>
|
94 |
-
<base_url type="media" scope_info="1">customsitemaintanance</base_url>
|
95 |
-
<sort_order>9</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 |
-
</background_image>
|
100 |
-
<contact_details_enabled translate="label"><!--creates a field Contactus Information under the group Maintanance Configuration-->
|
101 |
-
<label>Contactus Information</label>
|
102 |
-
<comment>Enable or disable Contactus info</comment>
|
103 |
-
<frontend_type>select</frontend_type>
|
104 |
-
<source_model>adminhtml/system_config_source_yesno</source_model>
|
105 |
-
<sort_order>10</sort_order>
|
106 |
-
<show_in_default>1</show_in_default>
|
107 |
-
<show_in_website>1</show_in_website>
|
108 |
-
<show_in_store>1</show_in_store>
|
109 |
-
</contact_details_enabled>
|
110 |
-
<phone_number translate="label"><!--creates a field Contact Number under the group Maintanance Configuration-->
|
111 |
-
<label>Contact Number</label>
|
112 |
-
<comment>Add your contact number</comment>
|
113 |
-
<frontend_type>text</frontend_type>
|
114 |
-
<sort_order>11</sort_order>
|
115 |
-
<show_in_default>1</show_in_default>
|
116 |
-
<show_in_website>1</show_in_website>
|
117 |
-
<show_in_store>1</show_in_store>
|
118 |
-
<validate>validate-number required-entry</validate>
|
119 |
-
<depends>
|
120 |
-
<contact_details_enabled>1</contact_details_enabled>
|
121 |
-
</depends>
|
122 |
-
</phone_number>
|
123 |
-
<email_id translate="label"><!--creates a field Email Id under the group Maintanance Configuration-->
|
124 |
-
<label>Email Id</label>
|
125 |
-
<comment>Add your email id</comment>
|
126 |
-
<frontend_type>text</frontend_type>
|
127 |
-
<sort_order>12</sort_order>
|
128 |
-
<show_in_default>1</show_in_default>
|
129 |
-
<show_in_website>1</show_in_website>
|
130 |
-
<show_in_store>1</show_in_store>
|
131 |
-
<validate>validate-email</validate>
|
132 |
-
<depends>
|
133 |
-
<contact_details_enabled>1</contact_details_enabled>
|
134 |
-
</depends>
|
135 |
-
</email_id>
|
136 |
-
<address translate="label"><!--creates a field Address under the group Maintanance Configuration-->
|
137 |
-
<label>Address</label>
|
138 |
-
<comment>Add your address</comment>
|
139 |
-
<frontend_type>textarea</frontend_type>
|
140 |
-
<sort_order>13</sort_order>
|
141 |
-
<show_in_default>1</show_in_default>
|
142 |
-
<show_in_website>1</show_in_website>
|
143 |
-
<show_in_store>1</show_in_store>
|
144 |
-
<validate>validate-street</validate>
|
145 |
-
<depends>
|
146 |
-
<contact_details_enabled>1</contact_details_enabled>
|
147 |
-
</depends>
|
148 |
-
</address>
|
149 |
-
<redirecturl translate="label"><!--creates a field ByPass Url under the group Maintanance Configuration-->
|
150 |
-
<label>ByPass Url</label>
|
151 |
-
<comment> Admin can allow access to specific URL for their customers if added here.Write each url in new line.For Ex:1stline-/customer/account/login/ 2ndline-/checkout/cart/</comment>
|
152 |
-
<frontend_type>textarea</frontend_type>
|
153 |
-
<sort_order>14</sort_order>
|
154 |
-
<show_in_default>1</show_in_default>
|
155 |
-
<show_in_website>0</show_in_website>
|
156 |
-
<show_in_store>1</show_in_store>
|
157 |
-
</redirecturl>
|
158 |
-
<maintenanceHtml translate="label"><!--creates a field Maintenance Page Display Message under the group Maintanance Configuration-->
|
159 |
-
<label>Maintenance Page Display Message</label>
|
160 |
-
<comment>Show this content when site is under maintanance</comment>
|
161 |
-
<frontend_type>editor</frontend_type>
|
162 |
-
<frontend_model>customsitemaintanance/adminhtml_system_config_editor</frontend_model>
|
163 |
-
<sort_order>15</sort_order>
|
164 |
-
<show_in_default>1</show_in_default>
|
165 |
-
<show_in_website>0</show_in_website>
|
166 |
-
<show_in_store>1</show_in_store>
|
167 |
-
</maintenanceHtml>
|
168 |
-
</fields>
|
169 |
-
</general>
|
170 |
-
</groups>
|
171 |
-
</customsitemaintanance>
|
172 |
-
</sections>
|
173 |
-
</config>
|
174 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
app/design/adminhtml/default/default/layout/customsitemaintanance.xml
ADDED
@@ -0,0 +1,19 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?xml version="1.0"?>
|
2 |
+
<!--
|
3 |
+
/**
|
4 |
+
* Dynamic Dreamz
|
5 |
+
* @category design
|
6 |
+
* @package default_default
|
7 |
+
* @copyright Copyright (c) 2014-2015 Dynamic Dreamz. (http://www.dynamicdreamz.com/)
|
8 |
+
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL)
|
9 |
+
*/ -->
|
10 |
+
<layout version="0.1.0">
|
11 |
+
<adminhtml_system_config_edit>
|
12 |
+
<update handle="editor"/>
|
13 |
+
<reference name="head">
|
14 |
+
<action method="setCanLoadTinyMce">
|
15 |
+
<load>1</load>
|
16 |
+
</action>
|
17 |
+
</reference>
|
18 |
+
</adminhtml_system_config_edit>
|
19 |
+
</layout>
|
app/design/frontend/base/default/template/customsitemaintanance/customsitemaintanance.phtml
CHANGED
@@ -10,77 +10,92 @@ $storeId = Mage::app()->getStore()->getStoreId();
|
|
10 |
$allowedIPs = Mage::getStoreConfig('customsitemaintanance/general/allowedIPs', $storeId);
|
11 |
$bg_image = Mage::getStoreConfig('customsitemaintanance/general/background_image', $storeId);
|
12 |
?>
|
13 |
-
<
|
14 |
-
<
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
jQuery(
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
-
|
34 |
-
|
35 |
-
<?php
|
36 |
-
|
37 |
-
|
38 |
-
|
39 |
-
|
40 |
-
<div
|
41 |
-
|
42 |
-
<div class="comingsoon">
|
43 |
-
<div class="logo-container">
|
44 |
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
-
|
49 |
-
|
50 |
-
|
51 |
-
|
52 |
-
|
53 |
-
|
54 |
-
|
55 |
-
|
56 |
-
|
57 |
-
|
58 |
-
|
59 |
-
|
60 |
-
|
61 |
-
|
62 |
-
|
63 |
-
|
64 |
-
|
65 |
-
|
66 |
-
|
67 |
-
|
68 |
-
|
69 |
-
|
70 |
-
|
71 |
-
|
72 |
-
|
73 |
-
|
74 |
-
|
75 |
-
|
76 |
-
|
77 |
-
|
78 |
-
|
79 |
-
|
80 |
-
|
81 |
-
</div>
|
82 |
</div>
|
83 |
</div>
|
84 |
-
</
|
85 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
86 |
|
10 |
$allowedIPs = Mage::getStoreConfig('customsitemaintanance/general/allowedIPs', $storeId);
|
11 |
$bg_image = Mage::getStoreConfig('customsitemaintanance/general/background_image', $storeId);
|
12 |
?>
|
13 |
+
<head>
|
14 |
+
<title>
|
15 |
+
<?php
|
16 |
+
if (Mage::getStoreConfig('customsitemaintanance/general/page_title', $storeId) != '') {
|
17 |
+
echo strip_tags(Mage::getStoreConfig('customsitemaintanance/general/page_title', $storeId), NULL);
|
18 |
+
} else {
|
19 |
+
echo $this->__('Store Maintenance');
|
20 |
+
}
|
21 |
+
?>
|
22 |
+
</title>
|
23 |
+
<script type="text/javascript" src="<?php echo $this->getJsUrl(); ?>customsitemaintanance/jquery-1.10.1.min.js"></script>
|
24 |
+
<script type="text/javascript">
|
25 |
+
jQuery(document).ready(function () {
|
26 |
+
jQuery("div").not(".main-containers,.comingsoon,.logo-container,.rest").remove();
|
27 |
+
});
|
28 |
+
</script>
|
29 |
+
<link rel="stylesheet" type="text/css" href="<?php echo $this->getSkinUrl("customsitemaintanance/css/customsitemaintanance.css") ?>">
|
30 |
+
<link rel="stylesheet" type="text/css" href="<?php echo $this->getSkinUrl("customsitemaintanance/css/responsive.css") ?>">
|
31 |
+
<meta name="viewport" content="width=device-width, initial-scale=1">
|
32 |
+
</head>
|
33 |
+
<?php if ($bg_image) { ?>
|
34 |
+
<body style="background-image: url(<?php echo Mage::getBaseUrl('media') . 'customsitemaintanance/' . Mage::getStoreConfig('customsitemaintanance/general/background_image'); ?>); background-size: cover;height: 600px !important;position: relative;">
|
35 |
+
<?php } else { ?>
|
36 |
+
<body style="background-image: url(<?php echo Mage::getBaseUrl(Mage_Core_Model_Store::URL_TYPE_MEDIA) . 'customsitemaintanance/' . 'slide8.jpg'; ?>);background-size: cover;height: 600px !important;position: relative;">
|
37 |
+
<?php } ?>
|
38 |
+
<div id="clearer"></div>
|
39 |
+
<div class="main-containers">
|
40 |
+
<div class="comingsoon">
|
41 |
+
<div class="logo-container">
|
|
|
|
|
42 |
|
43 |
+
<?php if (Mage::getStoreConfig('customsitemaintanance/general/logo')): ?>
|
44 |
+
<img src="<?php echo Mage::getBaseUrl('media') . 'customsitemaintanance/' . Mage::getStoreConfig('customsitemaintanance/general/logo'); ?>" alt="Customsitemaintanance Logo">
|
45 |
+
<?php else: ?>
|
46 |
+
<img src="<?php echo Mage::getBaseUrl(Mage_Core_Model_Store::URL_TYPE_MEDIA) . 'customsitemaintanance/' . 'under-maintenance.png'; ?>">
|
47 |
+
<?php endif; ?>
|
48 |
+
</div>
|
49 |
+
<div class="rest">
|
50 |
+
<?php
|
51 |
+
$helper = Mage::helper('cms');
|
52 |
+
$processor = $helper->getPageTemplateProcessor();
|
53 |
+
$maintenanceMes = $processor->filter(trim(Mage::getStoreConfig('customsitemaintanance/general/maintenanceHtml', $storeId)));
|
54 |
+
echo $maintenanceMes;
|
55 |
+
if (!$maintenanceMes):
|
56 |
+
?>
|
57 |
+
<h2><span><?php echo $this->__('Our website is</span><br/>Coming Soon') ?></h2>
|
58 |
+
<?php endif; ?>
|
59 |
+
<?php
|
60 |
+
$contactDetails_enabled = Mage::getStoreConfig('customsitemaintanance/general/contact_details_enabled');
|
61 |
+
$phoneNumber = Mage::getStoreConfig('customsitemaintanance/general/phone_number');
|
62 |
+
$address = Mage::getStoreConfig('customsitemaintanance/general/address');
|
63 |
+
$emailId = Mage::getStoreConfig('customsitemaintanance/general/email_id');
|
64 |
+
if ($contactDetails_enabled == '1'):
|
65 |
+
?>
|
66 |
+
<p><?php echo $this->__('In the mean time connect with us with the information provided') ?></p>
|
67 |
+
<ul class="info">
|
68 |
+
<?php if ($phoneNumber != ''): ?>
|
69 |
+
<li ><span class="ph"></span><?php echo $phoneNumber; ?></li>
|
70 |
+
<?php endif; ?>
|
71 |
+
<?php if ($address != ''): ?>
|
72 |
+
<li><span class="ad"></span><?php echo $address; ?></li>
|
73 |
+
<?php endif; ?>
|
74 |
+
<?php if ($emailId != ''): ?>
|
75 |
+
<li><span class="mail"></span><a href="#"><?php echo $emailId; ?></a></li>
|
76 |
+
<?php endif; ?>
|
77 |
+
</ul>
|
78 |
+
<?php endif; ?>
|
|
|
79 |
</div>
|
80 |
</div>
|
81 |
+
</div>
|
82 |
+
<script type="text/javascript">
|
83 |
+
<?php if (empty($bg_image)): ?>
|
84 |
+
var cnt = 0, bg;
|
85 |
+
var $body = $('body');
|
86 |
+
var arr = [1, 2, 3, 4, 5, 6, 7, 8];
|
87 |
+
|
88 |
+
var bgrotater = setInterval(function () {
|
89 |
+
if (cnt == 8)
|
90 |
+
cnt = 0;
|
91 |
+
bg = 'url("<?php echo Mage::getBaseUrl(Mage_Core_Model_Store::URL_TYPE_MEDIA) . 'customsitemaintanance/slide'; ?>' + arr[cnt] + '.jpg")';
|
92 |
+
cnt++;
|
93 |
+
$body.css({'background-image': bg, 'background-size': 'cover', 'height': '600px !important', 'position': 'relative'});
|
94 |
+
}, 5000);
|
95 |
+
$('#some_button_id').click(function () {
|
96 |
+
clearInterval(bgrotater);
|
97 |
+
});
|
98 |
+
<?php endif; ?>
|
99 |
+
</script>
|
100 |
+
</body>
|
101 |
|
app/design/frontend/base/default/template/customsitemaintanance/customsitemaintanance.phtml~
DELETED
@@ -1,86 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
/**
|
3 |
-
* Dynamic Dreamz
|
4 |
-
* @category design
|
5 |
-
* @package base_default
|
6 |
-
* @copyright Copyright (c) 2014-2015 Dynamic Dreamz. (http://www.dynamicdreamz.com/)
|
7 |
-
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL)
|
8 |
-
*/
|
9 |
-
$storeId = Mage::app()->getStore()->getStoreId();
|
10 |
-
$allowedIPs = Mage::getStoreConfig('customsitemaintanance/general/allowedIPs', $storeId);
|
11 |
-
$bg_image = Mage::getStoreConfig('customsitemaintanance/general/background_image', $storeId);
|
12 |
-
?>
|
13 |
-
<html>
|
14 |
-
<head>
|
15 |
-
<title>
|
16 |
-
<?php
|
17 |
-
if (Mage::getStoreConfig('customsitemaintanance/general/page_title', $storeId) != '') {
|
18 |
-
echo strip_tags(Mage::getStoreConfig('customsitemaintanance/general/page_title', $storeId), NULL);
|
19 |
-
} else {
|
20 |
-
echo $this->__('Store Maintenance');
|
21 |
-
}
|
22 |
-
?>
|
23 |
-
</title>
|
24 |
-
<script type="text/javascript" src="<?php echo $this->getJsUrl(); ?>customsitemaintanance/jquery-1.10.1.min.js"></script>
|
25 |
-
<script type="text/javascript">
|
26 |
-
jQuery(document).ready(function () {
|
27 |
-
jQuery("#wrapper").remove();
|
28 |
-
jQuery(".wrapper").remove();
|
29 |
-
});
|
30 |
-
</script>
|
31 |
-
<link rel="stylesheet" type="text/css" href="<?php echo $this->getSkinUrl("customsitemaintanance/css/customsitemaintanance.css") ?>">
|
32 |
-
<link rel="stylesheet" type="text/css" href="<?php echo $this->getSkinUrl("customsitemaintanance/css/responsive.css") ?>">
|
33 |
-
<meta name="viewport" content="width=device-width, initial-scale=1">
|
34 |
-
</head>
|
35 |
-
<?php if ($bg_image) { ?>
|
36 |
-
<body style="background-image: url(<?php echo Mage::getBaseUrl('media') . 'customsitemaintanance/' . Mage::getStoreConfig('customsitemaintanance/general/background_image'); ?>); background-size: cover;height: 600px !important;position: relative;">
|
37 |
-
<?php } else { ?>
|
38 |
-
<body style="background-image: url(<?php echo Mage::getBaseUrl('media') . 'customsitemaintanance/' . 'ht-effect.jpg'; ?>) ; background-size: cover; background-size: cover;height: 600px !important;position: relative;">
|
39 |
-
<?php } ?>
|
40 |
-
<div id="clearer"></div>
|
41 |
-
<div class="main-containers">
|
42 |
-
<div class="comingsoon">
|
43 |
-
<div class="logo-container">
|
44 |
-
|
45 |
-
<?php if (Mage::getStoreConfig('customsitemaintanance/general/logo')): ?>
|
46 |
-
<img src="<?php echo Mage::getBaseUrl('media') . 'customsitemaintanance/' . Mage::getStoreConfig('customsitemaintanance/general/logo'); ?>" alt="Customsitemaintanance Logo">
|
47 |
-
<?php else: ?>
|
48 |
-
<img src="<?php echo Mage::getBaseUrl(Mage_Core_Model_Store::URL_TYPE_MEDIA) . 'customsitemaintanance/' . 'under-maintenance.png'; ?>">
|
49 |
-
<?php endif; ?>
|
50 |
-
</div>
|
51 |
-
<div class="rest">
|
52 |
-
<?php
|
53 |
-
$helper = Mage::helper('cms');
|
54 |
-
$processor = $helper->getPageTemplateProcessor();
|
55 |
-
$maintenanceMes = $processor->filter(trim(Mage::getStoreConfig('customsitemaintanance/general/maintenanceHtml', $storeId)));
|
56 |
-
echo $maintenanceMes;
|
57 |
-
if (!$maintenanceMes):
|
58 |
-
?>
|
59 |
-
<h2><span><?php echo $this->__('Our website is</span><br/>Coming Soon') ?></h2>
|
60 |
-
<?php endif; ?>
|
61 |
-
<?php
|
62 |
-
$contactDetails_enabled = Mage::getStoreConfig('customsitemaintanance/general/contact_details_enabled');
|
63 |
-
$phoneNumber = Mage::getStoreConfig('customsitemaintanance/general/phone_number');
|
64 |
-
$address = Mage::getStoreConfig('customsitemaintanance/general/address');
|
65 |
-
$emailId = Mage::getStoreConfig('customsitemaintanance/general/email_id');
|
66 |
-
if ($contactDetails_enabled == '1'):
|
67 |
-
?>
|
68 |
-
<p><?php echo $this->__('In the mean time connect with us with the information provided') ?></p>
|
69 |
-
<ul class="info">
|
70 |
-
<?php if ($phoneNumber != ''): ?>
|
71 |
-
<li ><span class="ph"></span><?php echo $phoneNumber; ?></li>
|
72 |
-
<?php endif; ?>
|
73 |
-
<?php if ($address != ''): ?>
|
74 |
-
<li><span class="ad"></span><?php echo $address; ?></li>
|
75 |
-
<?php endif; ?>
|
76 |
-
<?php if ($emailId != ''): ?>
|
77 |
-
<li><span class="mail"></span><a href="#"><?php echo $emailId; ?></a></li>
|
78 |
-
<?php endif; ?>
|
79 |
-
</ul>
|
80 |
-
<?php endif; ?>
|
81 |
-
</div>
|
82 |
-
</div>
|
83 |
-
</div>
|
84 |
-
</body>
|
85 |
-
</html>
|
86 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
app/etc/modules/DD_Customsitemaintanance.xml
CHANGED
@@ -13,7 +13,7 @@
|
|
13 |
<DD_Customsitemaintanance>
|
14 |
<active>1</active>
|
15 |
<codePool>community</codePool>
|
16 |
-
<version>1.0.
|
17 |
</DD_Customsitemaintanance>
|
18 |
</modules>
|
19 |
</config>
|
13 |
<DD_Customsitemaintanance>
|
14 |
<active>1</active>
|
15 |
<codePool>community</codePool>
|
16 |
+
<version>1.0.3</version>
|
17 |
</DD_Customsitemaintanance>
|
18 |
</modules>
|
19 |
</config>
|
media/customsitemaintanance/slide1.jpg
ADDED
Binary file
|
media/customsitemaintanance/slide2.jpg
ADDED
Binary file
|
media/customsitemaintanance/slide3.jpg
ADDED
Binary file
|
media/customsitemaintanance/slide4.jpg
ADDED
Binary file
|
media/customsitemaintanance/slide5.jpg
ADDED
Binary file
|
media/customsitemaintanance/slide6.jpg
ADDED
Binary file
|
media/customsitemaintanance/slide7.jpg
ADDED
Binary file
|
media/customsitemaintanance/slide8.jpg
ADDED
Binary file
|
package.xml
CHANGED
@@ -1,14 +1,13 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>DD_Customsitemaintanance</name>
|
4 |
-
<version>1.0.
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://opensource.org/licenses/osl-3.0.php">Open Software License (OSL)</license>
|
7 |
<channel>community</channel>
|
8 |
<extends/>
|
9 |
-
<summary>This extension
|
10 |
-
<description>
|
11 |
-
1.No Access to Website-Keeps your website/online store under maintenance mode for any technical reason.
|
12 |
2.Full access to admin-Except admin no one else can access site when it is on maintenance mode.
|
13 |
3.Access from Limited IP Address -Admin can specify the IPs that can access the site while it being under maintenance.
|
14 |
4.Bypass specific URL(s)-Admin can allow access to specific URL for his/her customers when site is under maintenance mode.
|
@@ -17,11 +16,11 @@
|
|
17 |
7. No need to create a separate page or redirect the maintenance page on another page. In addition, admin can also display images.
|
18 |
8.Customized Page Title-Admin can also customize the maintenance page title with some personalized message to make it more approachable to his/her visitors.
|
19 |
9.Upload Logo-You can also upload your business logo from backend for the maintenance page to display for your visitors.</description>
|
20 |
-
<notes>It is stable version
|
21 |
-
<authors><author><name>
|
22 |
-
<date>
|
23 |
-
<time>
|
24 |
-
<contents><target name="magecommunity"><dir name="DD"><dir name="Customsitemaintanance"><dir name="Block"><dir name="Adminhtml"><dir name="System"><dir name="Config"><file name="Editor.php" hash="cc1e2c70bf0bb8c161a551197e553590"/></dir></dir></dir><file name="Index.php" hash="f77c42c32475cf2c297e6cc8bec7270c"/></dir><dir name="controllers"><file name="IndexController.php" hash="fd862017f278e9d261d0f9b6d0ebebf1"/></dir><dir name="etc"><file name="config.xml" hash="
|
25 |
<compatible/>
|
26 |
<dependencies/>
|
27 |
</package>
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>DD_Customsitemaintanance</name>
|
4 |
+
<version>1.0.3</version>
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://opensource.org/licenses/osl-3.0.php">Open Software License (OSL)</license>
|
7 |
<channel>community</channel>
|
8 |
<extends/>
|
9 |
+
<summary>This extension provides under maintenance page for your website which is accessible to allowed IP(s) or admin.</summary>
|
10 |
+
<description>1.No Access to Website-Keeps your website/online store under maintenance mode for any technical reason.
|
|
|
11 |
2.Full access to admin-Except admin no one else can access site when it is on maintenance mode.
|
12 |
3.Access from Limited IP Address -Admin can specify the IPs that can access the site while it being under maintenance.
|
13 |
4.Bypass specific URL(s)-Admin can allow access to specific URL for his/her customers when site is under maintenance mode.
|
16 |
7. No need to create a separate page or redirect the maintenance page on another page. In addition, admin can also display images.
|
17 |
8.Customized Page Title-Admin can also customize the maintenance page title with some personalized message to make it more approachable to his/her visitors.
|
18 |
9.Upload Logo-You can also upload your business logo from backend for the maintenance page to display for your visitors.</description>
|
19 |
+
<notes>It is stable version.</notes>
|
20 |
+
<authors><author><name>Virag shah</name><user>auto-converted</user><email>info@dynamicdreamz.com</email></author></authors>
|
21 |
+
<date>2016-03-17</date>
|
22 |
+
<time>10:08:24</time>
|
23 |
+
<contents><target name="magecommunity"><dir name="DD"><dir name="Customsitemaintanance"><dir name="Block"><dir name="Adminhtml"><dir name="System"><dir name="Config"><file name="Editor.php" hash="cc1e2c70bf0bb8c161a551197e553590"/></dir></dir></dir><file name="Index.php" hash="f77c42c32475cf2c297e6cc8bec7270c"/></dir><dir name="controllers"><file name="IndexController.php" hash="fd862017f278e9d261d0f9b6d0ebebf1"/></dir><dir name="etc"><file name="config.xml" hash="25386951999843755bc800df2a38dddf"/><file name="system.xml" hash="93ce7d93df98a84670725c9070d4b383"/></dir><dir name="Helper"><file name="Data.php" hash="2a2ea38afa268015cff07cdcd4341781"/></dir><dir name="Model"><file name="Observer.php" hash="416000483f4650eb6d67d5a33830048e"/></dir></dir></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="customsitemaintanance.xml" hash="06abd7e20a53b27572f3d84cbdaf5ad2"/></dir><dir name="template"><dir name="customsitemaintanance"><file name="customsitemaintanance.phtml" hash="df39db065c10d052bc8f55ae723559d6"/></dir></dir></dir></dir></dir><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="customsitemaintanance.xml" hash="2ddd803c94f821acc9c8b02c5f01ba25"/></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="DD_Customsitemaintanance.xml" hash="9f8f905d4b46f92a2a4a96cf71aec39a"/></dir></target><target name="mageskin"><dir name="frontend"><dir name="base"><dir name="default"><dir name="customsitemaintanance"><dir name="css"><file name="customsitemaintanance.css" hash="3a61c750382193a0a96d4b5e7d5fa4f8"/><file name="responsive.css" hash="5bf302ea7cbe86c26a752a6bb66cb386"/></dir><dir name="images"><file name="icons.png" hash="cc7fa73334b7c3e945b7c63c8bebb500"/></dir></dir></dir></dir></dir></target><target name="magemedia"><dir name="customsitemaintanance"><file name="ht-effect.jpg" hash="685615bc710373e2e32cb64b22a57a86"/><file name="slide1.jpg" hash="9ae3ec7fa505e4e0507e6cd93a013ab6"/><file name="slide2.jpg" hash="d0fc46a07620529f881b552d7081ffa1"/><file name="slide3.jpg" hash="110508ccc7d1b42b20aa4126b9ac1fdf"/><file name="slide4.jpg" hash="a12252b4431ebd10d37c21f5a9d3ef63"/><file name="slide5.jpg" hash="bed1077782ad8823d934d5d59f81227e"/><file name="slide6.jpg" hash="1119c14e33cfd6fa57abb5c35465f3f4"/><file name="slide7.jpg" hash="cefac82d0bc9c7f81aeec9cf2b8f5902"/><file name="slide8.jpg" hash="f13c4f1202665cc172d292f6f43d253e"/><file name="under-maintenance.png" hash="39d8da51baf87a405c09bb7351569c28"/></dir></target><target name="mage"><dir name="js"><dir name="customsitemaintanance"><file name="jquery-1.10.1.min.js" hash="d01d03e4e13e9b0433b63e9673526941"/></dir></dir><dir name="."><file name="Websiteundermaintenance installationguide.docx" hash="06e1afaf92bc86d0bc6b269bd1765c80"/></dir></target></contents>
|
24 |
<compatible/>
|
25 |
<dependencies/>
|
26 |
</package>
|