MntsInfotech_CookieConsent - Version 0.1.2

Version Notes

This release includes capability to change Cookie Consent message from admin side which is simple and responsive.

Download this release

Release Info

Developer Sukhvir Kushwah
Extension MntsInfotech_CookieConsent
Version 0.1.2
Comparing to
See all releases


Code changes from version 0.1.1 to 0.1.2

app/code/community/MntsInfotech/CookieConsent/etc/adminhtml.xml ADDED
@@ -0,0 +1,46 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!--
3
+ /**
4
+ * @package Optimiseweb_CookieNotice
5
+ * @author Kathir Vel (sid@optimiseweb.co.uk)
6
+ * @copyright Copyright (c) 2014 Optimise Web
7
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
8
+ */
9
+ -->
10
+ <config>
11
+ <acl>
12
+ <resources>
13
+ <all>
14
+ <title>Allow Everything</title>
15
+ </all>
16
+ <admin>
17
+ <children>
18
+ <mntsinfotechall translate="title" module="cookieconsent">
19
+ <title>MNTS Infotech - Menu Group</title>
20
+ <sort_order>10</sort_order>
21
+ <children>
22
+ <cookieconsent translate="title" module="cookieconsent">
23
+ <title>MNTS Infotech - Cookie Notice Settings</title>
24
+ <sort_order>10</sort_order>
25
+ </cookieconsent>
26
+ </children>
27
+ </mntsinfotechall>
28
+ <system>
29
+ <children>
30
+ <config>
31
+ <children>
32
+ <mntsinfotechconfig translate="title" module="cookieconsent">
33
+ <title>MNTS Infotech - System Configuration Group</title>
34
+ </mntsinfotechconfig>
35
+ <mntsinfotechcookieconsent translate="title" module="cookieconsent">
36
+ <title>MNTS Infotech - UK / EU Cookie Consent</title>
37
+ </mntsinfotechcookieconsent>
38
+ </children>
39
+ </config>
40
+ </children>
41
+ </system>
42
+ </children>
43
+ </admin>
44
+ </resources>
45
+ </acl>
46
+ </config>
app/code/community/MntsInfotech/CookieConsent/etc/config.xml CHANGED
@@ -42,5 +42,34 @@
42
  </cookieconsent>
43
  </models>
44
  </global>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
45
 
46
  </config>
42
  </cookieconsent>
43
  </models>
44
  </global>
45
+ <adminhtml>
46
+
47
+ <menu>
48
+ <mntsinfotechall translate="title" module="cookieconsent">
49
+ <title>MNTS Infotech</title>
50
+ <sort_order>71</sort_order>
51
+ <children>
52
+ <cookieconsent translate="title" module="cookieconsent">
53
+ <title>Cookie Consent Settings</title>
54
+ <sort_order>5</sort_order>
55
+ <action>admin/system_config/edit/section/mntsinfotechcookieconsent</action>
56
+ </cookieconsent>
57
+ </children>
58
+ </mntsinfotechall>
59
+ </menu>
60
+
61
+ </adminhtml>
62
+ <default>
63
+
64
+ <mntsinfotechcookieconsent>
65
+
66
+ <message>
67
+ <message>This site uses cookies to improve your browsing experience. By continuing to use this site, you accept these cookies.</message>
68
+
69
+ </message>
70
+
71
+ </mntsinfotechcookieconsent>
72
+
73
+ </default>
74
 
75
  </config>
app/code/community/MntsInfotech/CookieConsent/etc/system.xml ADDED
@@ -0,0 +1,46 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <config>
2
+ <tabs>
3
+ <mntsinfotechconfig translate="label comment" module="cookieconsent">
4
+ <label>MNTS Infotech</label>
5
+ <sort_order>0</sort_order>
6
+ </mntsinfotechconfig>
7
+ </tabs>
8
+ <sections>
9
+
10
+ <mntsinfotechcookieconsent translate="label comment" module="cookieconsent">
11
+ <label>Cookie Consent</label>
12
+ <tab>mntsinfotechconfig</tab>
13
+ <frontend_type>text</frontend_type>
14
+ <sort_order>99999</sort_order>
15
+ <show_in_default>1</show_in_default>
16
+ <show_in_website>1</show_in_website>
17
+ <show_in_store>1</show_in_store>
18
+
19
+ <groups>
20
+
21
+ <message translate="label comment" module="cookieconsent">
22
+ <label>Message / Notice</label>
23
+ <frontend_type>text</frontend_type>
24
+ <sort_order>2</sort_order>
25
+ <show_in_default>1</show_in_default>
26
+ <show_in_website>1</show_in_website>
27
+ <show_in_store>1</show_in_store>
28
+ <fields>
29
+ <message translate="label comment" module="cookieconsent">
30
+ <label>Message</label>
31
+ <frontend_type>textarea</frontend_type>
32
+ <sort_order>1</sort_order>
33
+ <show_in_default>1</show_in_default>
34
+ <show_in_website>1</show_in_website>
35
+ <show_in_store>1</show_in_store>
36
+ </message>
37
+
38
+ </fields>
39
+ </message>
40
+
41
+ </groups>
42
+
43
+ </mntsinfotechcookieconsent>
44
+
45
+ </sections>
46
+ </config>
app/design/frontend/base/default/template/mntsinfotech/cookieconsent/box.phtml CHANGED
@@ -16,4 +16,4 @@ jQuery( document ).ready(function( $ ) {
16
  }
17
  });
18
  </script>
19
- <div id="mntsinfotech-cookie-bar">This site uses cookies to improve your browsing experience. By continuing to use this site, you accept these cookies.&nbsp;<button id="mntsinfotechCookie" tabindex=1 onclick="mntsinfotechAcceptCookies();" class="mnts_btn">Close</button></div>
16
  }
17
  });
18
  </script>
19
+ <div id="mntsinfotech-cookie-bar"><?php echo Mage::getStoreConfig('mntsinfotechcookieconsent/message/message'); ?>&nbsp;<button id="mntsinfotechCookie" tabindex=1 onclick="mntsinfotechAcceptCookies();" class="mnts_btn">Close</button></div>
package.xml CHANGED
@@ -1,7 +1,7 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>MntsInfotech_CookieConsent</name>
4
- <version>0.1.1</version>
5
  <stability>stable</stability>
6
  <license>OSL</license>
7
  <channel>community</channel>
@@ -9,14 +9,14 @@
9
  <summary>Responsive Cookie Consent is simple and responsive extension to display the message for cookie usage by site.</summary>
10
  <description>Responsive Cookie Consent is simple and responsive extension to display the cookie consent message for cookie usage by site. Once user clicks on "Close" button it disappears.&#xD;
11
  &#xD;
12
- To edit text message in this extension go to file app\design\frontend\base\default\template\mntsinfotech\cookieconsent\box.phtml of this extension and edit it.&#xD;
13
  &#xD;
14
  To change css go to file skin\frontend\base\default\css\mntsinfotech\cookieconsent.css of this extension and edit it.</description>
15
- <notes>This release provides basic capability to display cookie consent message which is simple and responsive.</notes>
16
  <authors><author><name>sukhvir kushwah</name><user>sukhvir13</user><email>kushwahsukhvir@gmail.com</email></author></authors>
17
- <date>2014-08-27</date>
18
- <time>09:16:36</time>
19
- <contents><target name="magecommunity"><dir name="MntsInfotech"><dir name="CookieConsent"><dir name="Helper"><file name="Data.php" hash="6262c6c74bb269c6d5d3dbea91881557"/></dir><dir name="Model"><file name="Observer.php" hash="f8fa0a4e4eea900a78f2d1fed7ef2a89"/></dir><dir name="etc"><file name="config.xml" hash="2f4a7afdf44aa7a8955354568af55ca8"/></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="MntsInfotech_CookieConsent.xml" hash="94ad3ec1b91887ca2d3e80c3641ed71b"/></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="mntsinfotech_cookieconsent.xml" hash="869383bbbd5ce980927edfd78ce0b029"/></dir><dir name="template"><dir name="mntsinfotech"><dir name="cookieconsent"><file name="box.phtml" hash="28de424b415f6b9251e1f11f1a522451"/></dir></dir></dir></dir></dir></dir></target><target name="mageweb"><dir name="js"><dir name="mntsinfotech"><file name="cookieconsent.js" hash="23b22db4322805b10beea9375972b6a7"/><file name="jquery-1.10.2.min.js" hash="628072e7212db1e8cdacb22b21752cda"/><file name="jquery-1.10.2.min.map" hash="6c3ccfc221d36777d383b6e04d0b8af9"/></dir></dir></target><target name="mageskin"><dir name="frontend"><dir name="base"><dir name="default"><dir name="css"><dir name="mntsinfotech"><file name="cookieconsent.css" hash="f68b72b39acad402a3ef914129a59553"/></dir></dir></dir></dir></dir></target></contents>
20
  <compatible/>
21
  <dependencies><required><php><min>5.1.0</min><max>6.0.0</max></php></required></dependencies>
22
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>MntsInfotech_CookieConsent</name>
4
+ <version>0.1.2</version>
5
  <stability>stable</stability>
6
  <license>OSL</license>
7
  <channel>community</channel>
9
  <summary>Responsive Cookie Consent is simple and responsive extension to display the message for cookie usage by site.</summary>
10
  <description>Responsive Cookie Consent is simple and responsive extension to display the cookie consent message for cookie usage by site. Once user clicks on "Close" button it disappears.&#xD;
11
  &#xD;
12
+ To edit text message go to System -&gt;Configuration -&gt; MNTS Infotech -&gt; Cookie Consent and change the message you want in right hand side panel.&#xD;
13
  &#xD;
14
  To change css go to file skin\frontend\base\default\css\mntsinfotech\cookieconsent.css of this extension and edit it.</description>
15
+ <notes>This release includes capability to change Cookie Consent message from admin side which is simple and responsive.</notes>
16
  <authors><author><name>sukhvir kushwah</name><user>sukhvir13</user><email>kushwahsukhvir@gmail.com</email></author></authors>
17
+ <date>2014-09-18</date>
18
+ <time>13:59:17</time>
19
+ <contents><target name="magecommunity"><dir name="MntsInfotech"><dir name="CookieConsent"><dir name="Helper"><file name="Data.php" hash="6262c6c74bb269c6d5d3dbea91881557"/></dir><dir name="Model"><file name="Observer.php" hash="f8fa0a4e4eea900a78f2d1fed7ef2a89"/></dir><dir name="etc"><file name="adminhtml.xml" hash="2273ab42ba80054cac96412325d7ff4d"/><file name="config.xml" hash="5a9f6b095e1bbe1d667c4eabfe203379"/><file name="system.xml" hash="76cd4453be071516298aa9044eb85a7d"/></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="MntsInfotech_CookieConsent.xml" hash="94ad3ec1b91887ca2d3e80c3641ed71b"/></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="mntsinfotech_cookieconsent.xml" hash="869383bbbd5ce980927edfd78ce0b029"/></dir><dir name="template"><dir name="mntsinfotech"><dir name="cookieconsent"><file name="box.phtml" hash="48f20e283b047c0a11ae3ff984bb1a2e"/></dir></dir></dir></dir></dir></dir></target><target name="mageweb"><dir name="js"><dir name="mntsinfotech"><file name="cookieconsent.js" hash="23b22db4322805b10beea9375972b6a7"/><file name="jquery-1.10.2.min.js" hash="628072e7212db1e8cdacb22b21752cda"/><file name="jquery-1.10.2.min.map" hash="6c3ccfc221d36777d383b6e04d0b8af9"/></dir></dir></target><target name="mageskin"><dir name="frontend"><dir name="base"><dir name="default"><dir name="css"><dir name="mntsinfotech"><file name="cookieconsent.css" hash="f68b72b39acad402a3ef914129a59553"/></dir></dir></dir></dir></dir></target></contents>
20
  <compatible/>
21
  <dependencies><required><php><min>5.1.0</min><max>6.0.0</max></php></required></dependencies>
22
  </package>