notification_module - Version 0.1.2

Version Notes

- Enhancement : New design options

Download this release

Release Info

Developer Biztech
Extension notification_module
Version 0.1.2
Comparing to
See all releases


Code changes from version 0.1.1 to 0.1.2

app/code/local/Biztech/Notification/Block/Notification.php CHANGED
@@ -3,27 +3,21 @@
3
  {
4
  public function showNotifications()
5
  {
6
-
7
  if($this->getPosition() == 'popup')
8
  {
9
  return Mage::getStoreConfig('notification/notification_general/enabled') &&
10
  $this->NotificationContent() &&
11
- (!$this->isNotificationCleared() || $this->closeNotification()) &&
12
  $this->afterStartDate() &&
13
  $this->beforeEndDate();
14
  }
15
-
16
- if($this->getPosition() == 'bottom' || $this->getPosition() == 'top')
17
- {
18
  return Mage::getStoreConfig('notification/notification_general/enabled') &&
19
  $this->NotificationContent() &&
20
  (!$this->isNotificationCleared() || !$this->closeNotification()) &&
21
  $this->afterStartDate() &&
22
  $this->beforeEndDate();
23
  }
24
-
25
-
26
-
27
  }
28
 
29
  public function getNotificationText()
@@ -41,18 +35,18 @@
41
  return $content;
42
  }
43
 
44
-
45
  protected function NotificationContent() {
46
  $content = $this->getNotificationText();
47
  return !empty($content);
48
  }
49
 
50
-
51
  public function closeNotification() {
52
  return Mage::getStoreConfig('notification/notification_general/close_notification');
53
  }
54
 
55
-
56
  public function getNotificationClearCookieName() {
57
  return 'clear_notification'.preg_replace("/\W/", '', null);
58
  }
@@ -66,7 +60,7 @@
66
  public function isNotificationCleared() {
67
  return Mage::getSingleton('core/cookie')->get($this->getNotificationClearCookieName());
68
  }
69
-
70
  public function getPosition() {
71
  return Mage::getStoreConfig('notification/notification_general/position');
72
  }
3
  {
4
  public function showNotifications()
5
  {
 
6
  if($this->getPosition() == 'popup')
7
  {
8
  return Mage::getStoreConfig('notification/notification_general/enabled') &&
9
  $this->NotificationContent() &&
10
+ !$this->isNotificationCleared() &&
11
  $this->afterStartDate() &&
12
  $this->beforeEndDate();
13
  }
14
+ else{
 
 
15
  return Mage::getStoreConfig('notification/notification_general/enabled') &&
16
  $this->NotificationContent() &&
17
  (!$this->isNotificationCleared() || !$this->closeNotification()) &&
18
  $this->afterStartDate() &&
19
  $this->beforeEndDate();
20
  }
 
 
 
21
  }
22
 
23
  public function getNotificationText()
35
  return $content;
36
  }
37
 
38
+
39
  protected function NotificationContent() {
40
  $content = $this->getNotificationText();
41
  return !empty($content);
42
  }
43
 
44
+
45
  public function closeNotification() {
46
  return Mage::getStoreConfig('notification/notification_general/close_notification');
47
  }
48
 
49
+
50
  public function getNotificationClearCookieName() {
51
  return 'clear_notification'.preg_replace("/\W/", '', null);
52
  }
60
  public function isNotificationCleared() {
61
  return Mage::getSingleton('core/cookie')->get($this->getNotificationClearCookieName());
62
  }
63
+
64
  public function getPosition() {
65
  return Mage::getStoreConfig('notification/notification_general/position');
66
  }
app/code/local/Biztech/Notification/Block/Notificationdesign.php CHANGED
@@ -1,6 +1,4 @@
1
- <?php
2
-
3
- class Biztech_Notification_Block_Notificationdesign extends Mage_Core_Block_Template
4
  {
5
 
6
  public function useDefaultStyles()
1
+ <?php class Biztech_Notification_Block_Notificationdesign extends Mage_Core_Block_Template
 
 
2
  {
3
 
4
  public function useDefaultStyles()
app/code/local/Biztech/Notification/Model/System/Notificationposition.php CHANGED
@@ -41,6 +41,8 @@
41
  array('value' => 'bottom', 'label' => 'Bottom'),
42
  array('value' => 'top', 'label' => 'Top'),
43
  array('value' => 'popup', 'label' => 'Pop Up'),
 
 
44
  );
45
  }
46
  }
41
  array('value' => 'bottom', 'label' => 'Bottom'),
42
  array('value' => 'top', 'label' => 'Top'),
43
  array('value' => 'popup', 'label' => 'Pop Up'),
44
+ array('value' => 'leftcorner', 'label' => 'Left Corner'),
45
+ array('value' => 'rightcorner', 'label' => 'Right Corner'),
46
  );
47
  }
48
  }
app/code/local/Biztech/Notification/etc/config.xml CHANGED
@@ -1,106 +1,106 @@
1
- <?xml version="1.0"?>
2
- <!--
3
- /**
4
- * @category Biztech
5
- * @package Biztech_Notification
6
- * @author ModuleCreator
7
- * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
8
- */
9
- -->
10
- <config>
11
- <modules>
12
- <Biztech_Notification>
13
- <version>0.1.1</version>
14
- </Biztech_Notification>
15
- </modules>
16
- <frontend>
17
- <routers>
18
- <notification>
19
- <use>standard</use>
20
- <args>
21
- <module>Biztech_Notification</module>
22
- <frontName>notification</frontName>
23
- </args>
24
- </notification>
25
- </routers>
26
- <layout>
27
- <updates>
28
- <notification>
29
- <file>notification.xml</file>
30
- </notification>
31
- </updates>
32
- </layout>
33
- </frontend>
34
-
35
-
36
- <global>
37
- <blocks>
38
- <notification>
39
- <class>Biztech_Notification_Block</class>
40
- </notification>
41
- </blocks>
42
- <helpers>
43
- <notification>
44
- <class>Biztech_Notification_Helper</class>
45
- </notification>
46
- </helpers>
47
- <models>
48
- <notification>
49
- <class>Biztech_Notification_Model</class>
50
- <resourceModel>notification_system</resourceModel>
51
- </notification>
52
- <notification_system>
53
- <class>Biztech_Notification_Model_System</class>
54
- <entities>
55
- <notification>
56
- <table>notification</table>
57
- </notification>
58
- </entities>
59
- </notification_system>
60
- </models>
61
- </global>
62
- <default>
63
- <notification>
64
- <enabled>0</enabled>
65
- <close_notification>0</close_notification>
66
- <default_style>1</default_style>
67
- <position>1</position>
68
- <body_margin>30px</body_margin>
69
- </notification>
70
- </default>
71
- <adminhtml>
72
- <acl>
73
- <resources>
74
- <all>
75
- <title>Allow Everything</title>
76
- </all>
77
- <admin>
78
- <children>
79
- <Biztech_Notification>
80
- <title>Notification ToolBar</title>
81
- <sort_order>10</sort_order>
82
- </Biztech_Notification>
83
- <system>
84
- <children>
85
- <config>
86
- <children>
87
- <notification>
88
- <title>Notification ToolBar</title>
89
- </notification>
90
- </children>
91
- </config>
92
- </children>
93
- </system>
94
- </children>
95
- </admin>
96
- </resources>
97
- </acl>
98
- <layout>
99
- <updates>
100
- <trackorder>
101
- <file>notification.xml</file>
102
- </trackorder>
103
- </updates>
104
- </layout>
105
- </adminhtml>
106
  </config>
1
+ <?xml version="1.0"?>
2
+ <!--
3
+ /**
4
+ * @category Biztech
5
+ * @package Biztech_Notification
6
+ * @author ModuleCreator
7
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
8
+ */
9
+ -->
10
+ <config>
11
+ <modules>
12
+ <Biztech_Notification>
13
+ <version>0.1.2</version>
14
+ </Biztech_Notification>
15
+ </modules>
16
+ <frontend>
17
+ <routers>
18
+ <notification>
19
+ <use>standard</use>
20
+ <args>
21
+ <module>Biztech_Notification</module>
22
+ <frontName>notification</frontName>
23
+ </args>
24
+ </notification>
25
+ </routers>
26
+ <layout>
27
+ <updates>
28
+ <notification>
29
+ <file>notification.xml</file>
30
+ </notification>
31
+ </updates>
32
+ </layout>
33
+ </frontend>
34
+
35
+
36
+ <global>
37
+ <blocks>
38
+ <notification>
39
+ <class>Biztech_Notification_Block</class>
40
+ </notification>
41
+ </blocks>
42
+ <helpers>
43
+ <notification>
44
+ <class>Biztech_Notification_Helper</class>
45
+ </notification>
46
+ </helpers>
47
+ <models>
48
+ <notification>
49
+ <class>Biztech_Notification_Model</class>
50
+ <resourceModel>notification_system</resourceModel>
51
+ </notification>
52
+ <notification_system>
53
+ <class>Biztech_Notification_Model_System</class>
54
+ <entities>
55
+ <notification>
56
+ <table>notification</table>
57
+ </notification>
58
+ </entities>
59
+ </notification_system>
60
+ </models>
61
+ </global>
62
+ <default>
63
+ <notification>
64
+ <enabled>0</enabled>
65
+ <close_notification>0</close_notification>
66
+ <default_style>1</default_style>
67
+ <position>1</position>
68
+ <body_margin>30px</body_margin>
69
+ </notification>
70
+ </default>
71
+ <adminhtml>
72
+ <acl>
73
+ <resources>
74
+ <all>
75
+ <title>Allow Everything</title>
76
+ </all>
77
+ <admin>
78
+ <children>
79
+ <Biztech_Notification>
80
+ <title>Notification ToolBar</title>
81
+ <sort_order>10</sort_order>
82
+ </Biztech_Notification>
83
+ <system>
84
+ <children>
85
+ <config>
86
+ <children>
87
+ <notification>
88
+ <title>Notification ToolBar</title>
89
+ </notification>
90
+ </children>
91
+ </config>
92
+ </children>
93
+ </system>
94
+ </children>
95
+ </admin>
96
+ </resources>
97
+ </acl>
98
+ <layout>
99
+ <updates>
100
+ <trackorder>
101
+ <file>notification.xml</file>
102
+ </trackorder>
103
+ </updates>
104
+ </layout>
105
+ </adminhtml>
106
  </config>
app/design/frontend/default/default/template/notification/notification.phtml CHANGED
@@ -1,22 +1,21 @@
1
-
2
  <?php if ($this->showNotifications()): ?>
3
- <div class="bg-overlay">
4
  <?php
5
- $position = Mage::getStoreConfig('notification/notification_general/position');
6
- if ($position == 'top') {
7
  ?>
8
  <div id="notification-bar" class="top"><div id="notification"><span class="notification-content"><?php echo $this->getNotificationText(); ?></span><?php if ($this->closeNotification()) : ?>
9
- <span class="close"><img src="<?php echo $this->getSkinUrl('notification/images/close-note.png') ?>" /></span><?php endif; ?></div></div>
10
- <?php }
11
 
12
- elseif ($position == 'bottom') {
13
  ?>
14
  <div id="notification-bar" class="bottom"><div id="notification"><span class="notification-content"><?php echo $this->getNotificationText(); ?></span><?php if ($this->closeNotification()) : ?><span class="close"><img src="<?php echo $this->getSkinUrl('notification/images/close-note.png') ?>" /></span><?php endif; ?></div></div>
15
- <?php }
16
 
17
- else {
18
  ?>
19
-
20
  <div class="center-align">
21
  <div class="close"></div>
22
  <div class="pop-title">
@@ -24,32 +23,59 @@
24
  </div>
25
  <div class="popup-container"><?php echo $this->getNotificationText(); ?></div>
26
  </div>
27
-
28
-
29
- <?php if (!$this->closeNotification()) : ?>
30
- <script type="text/javascript">
31
- $$('.bg-overlay .close').first().observe('click', function(event) {
32
- var callback = <?php echo ($this->getPosition() ? "function() { \$\$('body').first().setStyle({marginTop:0}); }" : "function(){}") ?>;
33
- event.element().up('.bg-overlay').fade({duration: 0.5, afterFinish: callback});
34
- Mage.Cookies.set("<?php echo $this->getNotificationClearCookieName() ?>", "1", new Date((new Date()).getTime() + 365 * 24 * 60 * 60 * 1000), "/");
35
- });
36
- </script>
37
- <?php endif; ?>
38
  <script type="text/javascript">
39
  $$('.center-align')[0].style.height = $$('.pop-title')[0].clientHeight + $$('.popup-container')[0].clientHeight + 'px';
40
  </script>
41
- <?php } ?>
42
- </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
43
  <?php if ($this->closeNotification()) : ?>
44
- <script type="text/javascript">
45
- $$('.bg-overlay .close').first().observe('click', function(event) {
46
  var callback = <?php echo ($this->getPosition() ? "function() { \$\$('body').first().setStyle({marginTop:0}); }" : "function(){}") ?>;
47
  event.element().up('.bg-overlay').fade({duration: 0.5, afterFinish: callback});
48
  Mage.Cookies.set("<?php echo $this->getNotificationClearCookieName() ?>", "1", new Date((new Date()).getTime() + 365 * 24 * 60 * 60 * 1000), "/");
49
-
50
- });
51
-
52
- </script>
53
  <?php endif; ?>
54
- <?php endif; ?>
55
 
 
1
  <?php if ($this->showNotifications()): ?>
2
+ <div class="bg-overlay">
3
  <?php
4
+ $position = Mage::getStoreConfig('notification/notification_general/position');
5
+ if ($position == 'top') {
6
  ?>
7
  <div id="notification-bar" class="top"><div id="notification"><span class="notification-content"><?php echo $this->getNotificationText(); ?></span><?php if ($this->closeNotification()) : ?>
8
+ <span class="close"><img src="<?php echo $this->getSkinUrl('notification/images/close-note.png') ?>" /></span><?php endif; ?></div></div>
9
+ <?php }
10
 
11
+ elseif ($position == 'bottom') {
12
  ?>
13
  <div id="notification-bar" class="bottom"><div id="notification"><span class="notification-content"><?php echo $this->getNotificationText(); ?></span><?php if ($this->closeNotification()) : ?><span class="close"><img src="<?php echo $this->getSkinUrl('notification/images/close-note.png') ?>" /></span><?php endif; ?></div></div>
14
+ <?php }
15
 
16
+ elseif ($position == 'popup') {
17
  ?>
18
+
19
  <div class="center-align">
20
  <div class="close"></div>
21
  <div class="pop-title">
23
  </div>
24
  <div class="popup-container"><?php echo $this->getNotificationText(); ?></div>
25
  </div>
26
+
27
+
28
+ <?php if (!$this->closeNotification()) : ?>
29
+ <script type="text/javascript">
30
+ $$('.bg-overlay .close').first().observe('click', function(event) {
31
+ var callback = <?php echo ($this->getPosition() ? "function() { \$\$('body').first().setStyle({marginTop:0}); }" : "function(){}") ?>;
32
+ event.element().up('.bg-overlay').fade({duration: 0.5, afterFinish: callback});
33
+ Mage.Cookies.set("<?php echo $this->getNotificationClearCookieName() ?>", "1", new Date((new Date()).getTime() + 365 * 24 * 60 * 60 * 1000), "/");
34
+ });
35
+ </script>
36
+ <?php endif; ?>
37
  <script type="text/javascript">
38
  $$('.center-align')[0].style.height = $$('.pop-title')[0].clientHeight + $$('.popup-container')[0].clientHeight + 'px';
39
  </script>
40
+ <?php }
41
+ elseif($this->getPosition() == 'leftcorner') { ?>
42
+ <div class="leftcorner-align">
43
+ <div class="popup-container"><?php echo $this->getNotificationText(); ?></div>
44
+ <?php if ($this->closeNotification()) : ?>
45
+ <div class="close">close</div>
46
+ <script type="text/javascript">
47
+ $$('.leftcorner-align .close').first().observe('click', function(event) {
48
+ event.element().up('.leftcorner-align').fade({duration: 0.5});
49
+ Mage.Cookies.set("<?php echo $this->getNotificationClearCookieName() ?>", "1", new Date((new Date()).getTime() + 365 * 24 * 60 * 60 * 1000), "/");
50
+ });
51
+ </script>
52
+ <?php endif; ?>
53
+ </div>
54
+ <?php }
55
+ elseif($this->getPosition() == 'rightcorner') { ?>
56
+ <div class="rightcorner-align">
57
+ <div class="popup-container"><?php echo $this->getNotificationText(); ?></div>
58
+ <?php if ($this->closeNotification()) : ?>
59
+ <div class="close">close</div>
60
+ <script type="text/javascript">
61
+ $$('.rightcorner-align .close').first().observe('click', function(event) {
62
+ event.element().up('.bg-overlay').fade({duration: 0.5});
63
+ Mage.Cookies.set("<?php echo $this->getNotificationClearCookieName() ?>", "1", new Date((new Date()).getTime() + 365 * 24 * 60 * 60 * 1000), "/");
64
+ });
65
+ </script>
66
+ <?php endif; ?>
67
+ </div>
68
+ <?php } ?>
69
+
70
+ </div>
71
  <?php if ($this->closeNotification()) : ?>
72
+ <script type="text/javascript">
73
+ $$('.bg-overlay .close').first().observe('click', function(event) {
74
  var callback = <?php echo ($this->getPosition() ? "function() { \$\$('body').first().setStyle({marginTop:0}); }" : "function(){}") ?>;
75
  event.element().up('.bg-overlay').fade({duration: 0.5, afterFinish: callback});
76
  Mage.Cookies.set("<?php echo $this->getNotificationClearCookieName() ?>", "1", new Date((new Date()).getTime() + 365 * 24 * 60 * 60 * 1000), "/");
77
+ });
78
+ </script>
79
+ <?php endif; ?>
 
80
  <?php endif; ?>
 
81
 
app/design/frontend/default/default/template/notification/notificationdesign.phtml CHANGED
@@ -31,18 +31,25 @@
31
  .bg-overlay .close{ background:url(<?php echo $this->getSkinUrl('/notification/images/closebox.png') ?>) 0 0 no-repeat; position: absolute; width: 30px; height: 30px; top:-18px; right:-18px; cursor:pointer;}
32
  <?php
33
  }
34
- }
35
- ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
36
  <?php if ($this->useDefaultStyles() || $this->getPosition()) { ?>
37
  </style>
38
  <?php } ?>
39
  <?php } ?>
40
 
41
- <script type="text/javascript">
42
- function popupwindow(w, h) {
43
- var left = (screen.width / 2) - (w / 2);
44
- var top = (screen.height / 2) - (h / 2);
45
- return window.open(url, title, 'toolbar=no, location=no, directories=no, status=no, menubar=no, scrollbars=no, resizable=no, copyhistory=no, width=' + w + ', height=' + h + ', top=' + top + ', left=' + left);
46
- }
47
- popupwindow();
48
- </script>
31
  .bg-overlay .close{ background:url(<?php echo $this->getSkinUrl('/notification/images/closebox.png') ?>) 0 0 no-repeat; position: absolute; width: 30px; height: 30px; top:-18px; right:-18px; cursor:pointer;}
32
  <?php
33
  }
34
+ if($this->getPosition() == 'leftcorner') { ?>
35
+ .bg-overlay{ height: 100%; left: 0; position: fixed; top: 0; width: 100%; z-index: 0;}
36
+ .bg-overlay .leftcorner-align{background:url(<?php echo $this->getSkinUrl('/notification/images/bubble-right.png') ?>) 0 0 no-repeat; left:0; position: absolute; bottom: 0; text-align: center; width: 300px; min-height: 275px; padding-top: 34px; }
37
+ .bg-overlay .leftcorner-align .pop-title{ font-size: 14px; font-weight: bold; padding:0 22%; word-wrap: break-word;}
38
+ .bg-overlay .leftcorner-align .popup-container { padding: 0 18%; width: 64%; word-wrap: break-word; max-height: 187px; overflow: hidden;}
39
+ .bg-overlay .close{ background: #e1e2e3; border: 1px solid #c4c5c7; cursor: pointer; display: inline-block; padding: 0 6px; text-decoration: none; margin-top: 5px;}
40
+ <?php
41
+ }
42
+ if($this->getPosition() == 'rightcorner') { ?>
43
+ .bg-overlay{ height: 100%; left: 0; position: fixed; top: 0; width: 100%; z-index: 0;}
44
+ .bg-overlay .rightcorner-align{background:url(<?php echo $this->getSkinUrl('/notification/images/bubble-left.png') ?>) 0 0 no-repeat; right:0; position: absolute; bottom: 0; text-align: center; width: 300px; min-height: 275px; padding-top: 34px; }
45
+ .bg-overlay .rightcorner-align .pop-title{ font-size: 14px; font-weight: bold; padding: 0 22%; word-wrap: break-word;}
46
+ .bg-overlay .rightcorner-align .popup-container { padding: 0 18%; width: 64%; word-wrap: break-word; max-height: 187px; overflow: hidden;}
47
+ .bg-overlay .close{ background: #e1e2e3; border: 1px solid #c4c5c7; cursor: pointer; display: inline-block; padding: 0 6px; text-decoration: none; margin-top: 5px;}
48
+ <?php }
49
+
50
+ } ?>
51
  <?php if ($this->useDefaultStyles() || $this->getPosition()) { ?>
52
  </style>
53
  <?php } ?>
54
  <?php } ?>
55
 
 
 
 
 
 
 
 
 
package.xml CHANGED
@@ -1,7 +1,7 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>notification_module</name>
4
- <version>0.1.1</version>
5
  <stability>stable</stability>
6
  <license uri="http://opensource.org/licenses/osl-3.0.php">OSL v3.0</license>
7
  <channel>community</channel>
@@ -17,11 +17,11 @@ Features&#xD;
17
  &#x2022; Optionally allow visitors to close and dismiss the notification bar&#xD;
18
  &#x2022; Optionally set a notification start date, to set your message to automatically display on a specified date, and also set a notification end date, to hide your message automatically after this specific date &#xD;
19
  &#x2022; You can also fix the notification bar at the top of the browser, at the bottom and also can make it appear as pop up! Interesting part is that in pop up option you can set your own title also for the notification, so that it scrolls with the page, and remains always visible to the visitor (although visitor can close it anytime)!</description>
20
- <notes>-Bug Fixing</notes>
21
  <authors><author><name>Biztech</name><user>biztechcon</user><email>sales@biztechconsultancy.com</email></author></authors>
22
- <date>2014-10-16</date>
23
- <time>11:20:21</time>
24
- <contents><target name="mageetc"><dir name="modules"><file name="Biztech_Notification.xml" hash="0067858c3ce32fc8773c4d640929d4e1"/><file name="Biztech_All.xml" hash="f4c3b9c029e56da8f09d7d71336c00f7"/></dir></target><target name="magelocal"><dir name="Biztech"><dir name="Notification"><dir name="Block"><dir name="Adminhtml"><dir name="Config"><dir name="Form"><dir name="Field"><file name="Notificationdate.php" hash="7d03a8c9fce098b6bfb556358b50805d"/></dir></dir></dir></dir><file name="Notification.php" hash="97e1d6548aeff4bc68543f59827b31f8"/><file name="Notificationdesign.php" hash="301308a9d296f8c9431576a4c7172f3b"/></dir><dir name="Helper"><file name="Data.php" hash="9016e11b629c4f6ee5b075bdc0774101"/></dir><dir name="Model"><dir name="System"><file name="Notificationposition.php" hash="ce9dd64b3029df7531c59c92d7949dbf"/></dir></dir><dir name="etc"><file name="config.xml" hash="b9dd32d0d9e1eab9a9191f129827a5d3"/><file name="system.xml" hash="3d98bbcdb268390de67103016843f436"/></dir></dir><dir name="All"><dir name="Helper"><file name="Data.php" hash="e856726fd089e7f73ca7de450b696419"/></dir><dir name="Model"><file name="All.php" hash="a9aeeb9c6d7be9cf20414f405efc878d"/><dir name="Mysql4"><dir name="All"><file name="Collection.php" hash="a1909236183d126f38e628b85bb57e81"/></dir><file name="All.php" hash="f02542393eb26eadfb9b92d901d2ac12"/></dir><dir name="Source"><dir name="Updates"><file name="Type.php" hash="fa695bf4764c2d93c7436ed54bde89ba"/></dir></dir><file name="Status.php" hash="30a6f0da7d9d45e1082da532d5f8dabc"/><file name="Update.php" hash="83ceddbab4d621545b9c7c4bccdec7c0"/></dir><dir name="etc"><file name="config.xml" hash="27e403cedb861da03753d28527d9c664"/><file name="system.xml" hash="17262087dc933d934e09ac04cafb4c51"/></dir></dir></dir></target><target name="magedesign"><dir name="frontend"><dir name="default"><dir name="default"><dir name="layout"><file name="notification.xml" hash="0e206c5421f931f4041205fc8a5ffafc"/></dir><dir name="template"><dir name="notification"><file name="notification.phtml" hash="f684c422fa14e77544d9c8fd0295e793"/><file name="notificationdesign.phtml" hash="88a85cf78390f1db994557dfa29097d7"/></dir></dir></dir></dir></dir></target><target name="mageskin"><dir name="frontend"><dir name="default"><dir name="default"><dir name="notification"><dir name="images"><file name="close-note.png" hash="d4511392715a554859c06430eb445b28"/><file name="closebox.png" hash="f2aace763cfcc4d6f3427a8a0842e55c"/><file name="overlay.png" hash="28d610442e36fb2a71773eeb013c3660"/></dir></dir></dir></dir></dir></target></contents>
25
  <compatible/>
26
  <dependencies><required><php><min>5.1.0</min><max>6.0.0</max></php></required></dependencies>
27
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>notification_module</name>
4
+ <version>0.1.2</version>
5
  <stability>stable</stability>
6
  <license uri="http://opensource.org/licenses/osl-3.0.php">OSL v3.0</license>
7
  <channel>community</channel>
17
  &#x2022; Optionally allow visitors to close and dismiss the notification bar&#xD;
18
  &#x2022; Optionally set a notification start date, to set your message to automatically display on a specified date, and also set a notification end date, to hide your message automatically after this specific date &#xD;
19
  &#x2022; You can also fix the notification bar at the top of the browser, at the bottom and also can make it appear as pop up! Interesting part is that in pop up option you can set your own title also for the notification, so that it scrolls with the page, and remains always visible to the visitor (although visitor can close it anytime)!</description>
20
+ <notes>- Enhancement : New design options</notes>
21
  <authors><author><name>Biztech</name><user>biztechcon</user><email>sales@biztechconsultancy.com</email></author></authors>
22
+ <date>2015-01-05</date>
23
+ <time>12:45:57</time>
24
+ <contents><target name="mageetc"><dir name="modules"><file name="Biztech_Notification.xml" hash="0067858c3ce32fc8773c4d640929d4e1"/><file name="Biztech_All.xml" hash="f4c3b9c029e56da8f09d7d71336c00f7"/></dir></target><target name="magelocal"><dir name="Biztech"><dir name="Notification"><dir name="Block"><dir name="Adminhtml"><dir name="Config"><dir name="Form"><dir name="Field"><file name="Notificationdate.php" hash="7d03a8c9fce098b6bfb556358b50805d"/></dir></dir></dir></dir><file name="Notification.php" hash="9f17c658e5974c2e5af28dde3003f47a"/><file name="Notificationdesign.php" hash="a1d857df7c556c43cf13b9b5115b36c8"/></dir><dir name="Helper"><file name="Data.php" hash="9016e11b629c4f6ee5b075bdc0774101"/></dir><dir name="Model"><dir name="System"><file name="Notificationposition.php" hash="8be3ae1acf3d5943ba395d92cb4a47ab"/></dir></dir><dir name="etc"><file name="config.xml" hash="f4f350c9c76290ccb335cf079f69f3f5"/><file name="system.xml" hash="3d98bbcdb268390de67103016843f436"/></dir></dir><dir name="All"><dir name="Helper"><file name="Data.php" hash="e856726fd089e7f73ca7de450b696419"/></dir><dir name="Model"><file name="All.php" hash="a9aeeb9c6d7be9cf20414f405efc878d"/><dir name="Mysql4"><dir name="All"><file name="Collection.php" hash="a1909236183d126f38e628b85bb57e81"/></dir><file name="All.php" hash="f02542393eb26eadfb9b92d901d2ac12"/></dir><dir name="Source"><dir name="Updates"><file name="Type.php" hash="fa695bf4764c2d93c7436ed54bde89ba"/></dir></dir><file name="Status.php" hash="30a6f0da7d9d45e1082da532d5f8dabc"/><file name="Update.php" hash="83ceddbab4d621545b9c7c4bccdec7c0"/></dir><dir name="etc"><file name="config.xml" hash="27e403cedb861da03753d28527d9c664"/><file name="system.xml" hash="17262087dc933d934e09ac04cafb4c51"/></dir></dir></dir></target><target name="magedesign"><dir name="frontend"><dir name="default"><dir name="default"><dir name="layout"><file name="notification.xml" hash="0e206c5421f931f4041205fc8a5ffafc"/></dir><dir name="template"><dir name="notification"><file name="notification.phtml" hash="cda1f3160bb139ec023471c7ce9cbf9d"/><file name="notificationdesign.phtml" hash="9076e4a5c455ab061c9c702d1fb97e1f"/></dir></dir></dir></dir></dir></target><target name="mageskin"><dir name="frontend"><dir name="default"><dir name="default"><dir name="notification"><dir name="images"><file name="bubble-left.png" hash="8e612ee12c2b5a417c6d3e0b03dcb451"/><file name="bubble-right.png" hash="a0627a11ee46e7019bcaafe402871333"/><file name="close-note.png" hash="d4511392715a554859c06430eb445b28"/><file name="closebox.png" hash="f2aace763cfcc4d6f3427a8a0842e55c"/><file name="overlay.png" hash="28d610442e36fb2a71773eeb013c3660"/></dir></dir></dir></dir></dir></target></contents>
25
  <compatible/>
26
  <dependencies><required><php><min>5.1.0</min><max>6.0.0</max></php></required></dependencies>
27
  </package>
skin/frontend/default/default/notification/images/bubble-left.png ADDED
Binary file
skin/frontend/default/default/notification/images/bubble-right.png ADDED
Binary file