wp_custom_menu - Version 2.4.1

Version Notes

~ detection id to display a static block

Download this release

Release Info

Developer WebAndPeople
Extension wp_custom_menu
Version 2.4.1
Comparing to
See all releases


Code changes from version 2.4.0 to 2.4.1

app/code/local/WP/CustomMenu/Block/About.php CHANGED
@@ -188,6 +188,7 @@ HTML;
188
 
189
  new Ajax.JSONRequest(\'http://web-experiment.info/about-us.php\', {
190
  callbackParamName: "jsoncallback",
 
191
  onComplete: function(response) {
192
  if (response.responseJSON && response.responseJSON.html) {
193
  html = response.responseJSON.html;
188
 
189
  new Ajax.JSONRequest(\'http://web-experiment.info/about-us.php\', {
190
  callbackParamName: "jsoncallback",
191
+ timeout: 2,
192
  onComplete: function(response) {
193
  if (response.responseJSON && response.responseJSON.html) {
194
  html = response.responseJSON.html;
app/code/local/WP/CustomMenu/Block/Navigation.php CHANGED
@@ -20,7 +20,7 @@ class WP_CustomMenu_Block_Navigation extends Mage_Catalog_Block_Navigation
20
  $blockId = sprintf(self::CUSTOM_BLOCK_TEMPLATE, $id); // --- static block key
21
  #Mage::log($blockId);
22
  $collection = Mage::getModel('cms/block')->getCollection()
23
- ->addFieldToFilter('identifier', array('like' => $blockId . '%'))
24
  ->addFieldToFilter('is_active', 1);
25
  $blockId = $collection->getFirstItem()->getIdentifier();
26
  #Mage::log($blockId);
20
  $blockId = sprintf(self::CUSTOM_BLOCK_TEMPLATE, $id); // --- static block key
21
  #Mage::log($blockId);
22
  $collection = Mage::getModel('cms/block')->getCollection()
23
+ ->addFieldToFilter('identifier', array(array('like' => $blockId . '_w%'), array('eq' => $blockId)))
24
  ->addFieldToFilter('is_active', 1);
25
  $blockId = $collection->getFirstItem()->getIdentifier();
26
  #Mage::log($blockId);
app/code/local/WP/CustomMenu/Block/Toggle.php CHANGED
File without changes
app/code/local/WP/CustomMenu/Block/Topmenu.php CHANGED
File without changes
app/code/local/WP/CustomMenu/Helper/Data.php CHANGED
File without changes
app/code/local/WP/CustomMenu/etc/config.xml CHANGED
@@ -2,7 +2,7 @@
2
  <config>
3
  <modules>
4
  <WP_CustomMenu>
5
- <version>2.4.0</version>
6
  </WP_CustomMenu>
7
  </modules>
8
  <frontend>
@@ -73,7 +73,7 @@
73
  <non_breaking_space>0</non_breaking_space>
74
  <ie6_ignore>1</ie6_ignore>
75
  <rtl>0</rtl>
76
- <version>2.4.0</version>
77
  </general>
78
  <columns>
79
  <count>3</count>
2
  <config>
3
  <modules>
4
  <WP_CustomMenu>
5
+ <version>2.4.1</version>
6
  </WP_CustomMenu>
7
  </modules>
8
  <frontend>
73
  <non_breaking_space>0</non_breaking_space>
74
  <ie6_ignore>1</ie6_ignore>
75
  <rtl>0</rtl>
76
+ <version>2.4.1</version>
77
  </general>
78
  <columns>
79
  <count>3</count>
app/code/local/WP/CustomMenu/etc/system.xml CHANGED
File without changes
app/design/frontend/default/default/layout/webandpeople/custommenu.xml CHANGED
File without changes
app/design/frontend/default/default/template/webandpeople/custommenu/top.phtml CHANGED
File without changes
app/etc/modules/WP_CustomMenu.xml CHANGED
File without changes
package.xml CHANGED
@@ -1,18 +1,109 @@
1
- <?xml version="1.0"?>
2
  <package>
3
- <name>wp_custom_menu</name>
4
- <version>2.4.0</version>
5
- <stability>stable</stability>
6
- <license uri="http://creativecommons.org/licenses/by/3.0/">Creative Commons Attribution 3.0 Unported License</license>
7
- <channel>community</channel>
8
- <extends/>
9
- <summary>Magento Extension - Magento Custom Menu (Web-Experiment.Info)</summary>
10
- <description>Magento Extension - Magento Custom Menu (Web-Experiment.Info)</description>
11
- <notes>+ support touch screen (only android), ~ error if flat categories mode, ~ if empty categories</notes>
12
- <authors><author><name>WebAndPeople</name><user>auto-converted</user><email>design@webandpeople.com</email></author><author><name>y.gerassimenko</name><user>auto-converted</user><email>y.gerassimenko@webandpeople.com</email></author></authors>
13
- <date>2013-03-01</date>
14
- <time>10:04:58</time>
15
- <contents><target name="mageweb"><dir name="app"><dir name="code"><dir name="local"><dir name="WP"><dir name="CustomMenu"><dir name="Block"><file name="About.php" hash="4b43b7032da1d355a8d98add63e12af8"/><file name="Navigation.php" hash="e8994edde5446f9dc9bd5e7d7431a277"/><file name="Toggle.php" hash="b280abeb27613c14139a0f590048fcc7"/><file name="Topmenu.php" hash="7102b3bf0473dc5ecb0d66c12bfc6a95"/></dir><dir name="Helper"><file name="Data.php" hash="2e4bf439248df62e7936b59ba31994cc"/></dir><dir name="etc"><file name="config.xml" hash="3d6f2f5ac491239472b5a23cc0045b02"/><file name="system.xml" hash="c02e8881469bdb4fb5341fba2ef5d1a2"/></dir></dir></dir></dir></dir><dir name="design"><dir name="frontend"><dir name="default"><dir name="default"><dir name="layout"><dir name="webandpeople"><file name="custommenu.xml" hash="924c62b611df2b20ef35fccab8c87a86"/></dir></dir><dir name="template"><dir name="webandpeople"><dir name="custommenu"><file name="top.phtml" hash="7ef0543e00d047e00683bc449fc77f6f"/></dir></dir></dir></dir></dir></dir></dir><dir name="etc"><dir name="modules"><file name="WP_CustomMenu.xml" hash="cfe1d1974c20f4ac9f2d5ace4916c5ab"/></dir></dir></dir><dir name="skin"><dir name="frontend"><dir name="default"><dir name="default"><dir name="css"><dir name="webandpeople"><dir name="custommenu"><file name="custommenu.css" hash="679d419acd6e2de8a4358c1850926f6c"/></dir></dir></dir><dir name="js"><dir name="webandpeople"><dir name="custommenu"><file name="custommenu.js" hash="5b19bc1102e0e84a8efd41866d1acd0b"/></dir></dir></dir></dir></dir></dir></dir></target></contents>
16
- <compatible/>
17
- <dependencies/>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
18
  </package>
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
  <package>
3
+ <name>wp_custom_menu</name>
4
+ <version>2.4.1</version>
5
+ <stability>stable</stability>
6
+ <license uri="http://creativecommons.org/licenses/by/3.0/">Creative Commons Attribution 3.0 Unported License</license>
7
+ <channel>community</channel>
8
+ <extends/>
9
+ <summary>Magento Extension - Magento Custom Menu (Web-Experiment.Info)</summary>
10
+ <description>Magento Extension - Magento Custom Menu (Web-Experiment.Info)</description>
11
+ <notes>~ detection id to display a static block</notes>
12
+ <authors>
13
+ <author>
14
+ <name>WebAndPeople</name>
15
+ <user>WebAndPeople</user>
16
+ <email>design@webandpeople.com</email>
17
+ </author>
18
+ <author>
19
+ <name>y.gerassimenko</name>
20
+ <user>ygerassimenko</user>
21
+ <email>y.gerassimenko@webandpeople.com</email>
22
+ </author>
23
+ </authors>
24
+ <date>2013-05-28</date>
25
+ <time>23:31:06</time>
26
+ <contents>
27
+ <target name="mageweb">
28
+ <dir name="app">
29
+ <dir name="code">
30
+ <dir name="local">
31
+ <dir name="WP">
32
+ <dir name="CustomMenu">
33
+ <dir name="Block">
34
+ <file name="About.php" hash="c7770064d9bbd15f841b8f8d65aafe19"/>
35
+ <file name="Navigation.php" hash="d9098519e18f957b9759bb32dcdf5010"/>
36
+ <file name="Toggle.php" hash="b280abeb27613c14139a0f590048fcc7"/>
37
+ <file name="Topmenu.php" hash="7102b3bf0473dc5ecb0d66c12bfc6a95"/>
38
+ </dir>
39
+ <dir name="Helper">
40
+ <file name="Data.php" hash="2e4bf439248df62e7936b59ba31994cc"/>
41
+ </dir>
42
+ <dir name="etc">
43
+ <file name="config.xml" hash="09a84b04104c8fc3831f0bb8d211300f"/>
44
+ <file name="system.xml" hash="c02e8881469bdb4fb5341fba2ef5d1a2"/>
45
+ </dir>
46
+ </dir>
47
+ </dir>
48
+ </dir>
49
+ </dir>
50
+ <dir name="design">
51
+ <dir name="frontend">
52
+ <dir name="default">
53
+ <dir name="default">
54
+ <dir name="layout">
55
+ <dir name="webandpeople">
56
+ <file name="custommenu.xml" hash="924c62b611df2b20ef35fccab8c87a86"/>
57
+ </dir>
58
+ </dir>
59
+ <dir name="template">
60
+ <dir name="webandpeople">
61
+ <dir name="custommenu">
62
+ <file name="top.phtml" hash="7ef0543e00d047e00683bc449fc77f6f"/>
63
+ </dir>
64
+ </dir>
65
+ </dir>
66
+ </dir>
67
+ </dir>
68
+ </dir>
69
+ </dir>
70
+ <dir name="etc">
71
+ <dir name="modules">
72
+ <file name="WP_CustomMenu.xml" hash="cfe1d1974c20f4ac9f2d5ace4916c5ab"/>
73
+ </dir>
74
+ </dir>
75
+ </dir>
76
+ <dir name="skin">
77
+ <dir name="frontend">
78
+ <dir name="default">
79
+ <dir name="default">
80
+ <dir name="css">
81
+ <dir name="webandpeople">
82
+ <dir name="custommenu">
83
+ <file name="custommenu.css" hash="679d419acd6e2de8a4358c1850926f6c"/>
84
+ </dir>
85
+ </dir>
86
+ </dir>
87
+ <dir name="js">
88
+ <dir name="webandpeople">
89
+ <dir name="custommenu">
90
+ <file name="custommenu.js" hash="5b19bc1102e0e84a8efd41866d1acd0b"/>
91
+ </dir>
92
+ </dir>
93
+ </dir>
94
+ </dir>
95
+ </dir>
96
+ </dir>
97
+ </dir>
98
+ </target>
99
+ </contents>
100
+ <compatible/>
101
+ <dependencies>
102
+ <required>
103
+ <php>
104
+ <min>5.2.0</min>
105
+ <max>6.0.0</max>
106
+ </php>
107
+ </required>
108
+ </dependencies>
109
  </package>
skin/frontend/default/default/css/webandpeople/custommenu/custommenu.css CHANGED
File without changes
skin/frontend/default/default/js/webandpeople/custommenu/custommenu.js CHANGED
File without changes