wp_custom_menu - Version 2.5.8

Version Notes

Изменил расположение папки расширния, переместив из local в community

Download this release

Release Info

Developer WebAndPeople
Extension wp_custom_menu
Version 2.5.8
Comparing to
See all releases


Code changes from version 2.5.7 to 2.5.8

app/code/{local → community}/WP/CustomMenu/Block/Navigation.php RENAMED
File without changes
app/code/{local → community}/WP/CustomMenu/Block/Toggle.php RENAMED
File without changes
app/code/{local → community}/WP/CustomMenu/Block/Topmenu.php RENAMED
File without changes
app/code/{local → community}/WP/CustomMenu/Helper/Data.php RENAMED
File without changes
app/code/{local → community}/WP/CustomMenu/controllers/AjaxmenucontentController.php RENAMED
File without changes
app/code/{local → community}/WP/CustomMenu/controllers/AjaxmobilemenucontentController.php RENAMED
File without changes
app/code/{local → community}/WP/CustomMenu/etc/config.xml RENAMED
@@ -1,125 +1,105 @@
1
- <?xml version="1.0"?>
2
- <config>
3
- <modules>
4
- <WP_CustomMenu>
5
- <version>2.5.7</version>
6
- </WP_CustomMenu>
7
- </modules>
8
- <frontend>
9
- <routers>
10
- <custommenu>
11
- <use>standard</use>
12
- <args>
13
- <frontName>custommenu</frontName>
14
- <module>WP_CustomMenu</module>
15
- </args>
16
- </custommenu>
17
- </routers>
18
- <layout>
19
- <updates>
20
- <custommenu>
21
- <file>webandpeople/custommenu.xml</file>
22
- </custommenu>
23
- </updates>
24
- </layout>
25
- </frontend>
26
- <adminhtml>
27
- <acl>
28
- <resources>
29
- <all>
30
- <title>Allow Everything</title>
31
- </all>
32
- <admin>
33
- <children>
34
- <system>
35
- <children>
36
- <config>
37
- <children>
38
- <custom_menu translate="title" module="custommenu">
39
- <title><![CDATA[Web & People: Custom Menu]]></title>
40
- <sort_order>2000</sort_order>
41
- </custom_menu>
42
- </children>
43
- </config>
44
- </children>
45
- </system>
46
- </children>
47
- </admin>
48
- </resources>
49
- </acl>
50
- </adminhtml>
51
- <global>
52
- <blocks>
53
- <catalog>
54
- <rewrite>
55
- <navigation>WP_CustomMenu_Block_Navigation</navigation>
56
- <!-- v1.4-1.6 -->
57
- </rewrite>
58
- </catalog>
59
- <page>
60
- <rewrite>
61
- <html_topmenu>WP_CustomMenu_Block_Topmenu</html_topmenu>
62
- <!-- v1.7 -->
63
- </rewrite>
64
- </page>
65
- <custommenu>
66
- <class>WP_CustomMenu_Block</class>
67
- </custommenu>
68
- </blocks>
69
- <helpers>
70
- <custommenu>
71
- <class>WP_CustomMenu_Helper</class>
72
- </custommenu>
73
- </helpers>
74
- </global>
75
- <default>
76
- <custom_menu>
77
- <general>
78
- <enabled>1</enabled>
79
- <ajax_load_content>0</ajax_load_content>
80
- <move_code_to_bottom>0</move_code_to_bottom>
81
- <mobile_menu>1</mobile_menu>
82
- <display_empty_categories>1</display_empty_categories>
83
- <max_level>3</max_level>
84
- <show_home_link>1</show_home_link>
85
- <non_breaking_space>0</non_breaking_space>
86
- <ie6_ignore>1</ie6_ignore>
87
- <rtl>0</rtl>
88
- <version>2.5.7</version>
89
- </general>
90
- <columns>
91
- <count>3</count>
92
- <divided_horizontally>0</divided_horizontally>
93
- <integrate>1</integrate>
94
- </columns>
95
- <popup>
96
- <width>0</width>
97
- <top_offset>0</top_offset>
98
- <delay_displaying>150</delay_displaying>
99
- <delay_hiding>100</delay_hiding>
100
- </popup>
101
- </custom_menu>
102
- </default>
103
- <adminhtml>
104
- <acl>
105
- <resources>
106
- <admin>
107
- <children>
108
- <system>
109
- <children>
110
- <config>
111
- <children>
112
- <about_webandpeople translate="title" module="custommenu">
113
- <title><![CDATA[Web & People: About Us]]></title>
114
- <sort_order>1000</sort_order>
115
- </about_webandpeople>
116
- </children>
117
- </config>
118
- </children>
119
- </system>
120
- </children>
121
- </admin>
122
- </resources>
123
- </acl>
124
- </adminhtml>
125
- </config>
1
+ <?xml version="1.0"?>
2
+ <config>
3
+ <modules>
4
+ <WP_CustomMenu>
5
+ <version>2.5.8</version>
6
+ </WP_CustomMenu>
7
+ </modules>
8
+
9
+ <frontend>
10
+ <routers>
11
+ <custommenu>
12
+ <use>standard</use>
13
+ <args>
14
+ <frontName>custommenu</frontName>
15
+ <module>WP_CustomMenu</module>
16
+ </args>
17
+ </custommenu>
18
+ </routers>
19
+ <layout>
20
+ <updates>
21
+ <custommenu>
22
+ <file>webandpeople/custommenu.xml</file>
23
+ </custommenu>
24
+ </updates>
25
+ </layout>
26
+ </frontend>
27
+
28
+ <adminhtml>
29
+ <acl>
30
+ <resources>
31
+ <all>
32
+ <title>Allow Everything</title>
33
+ </all>
34
+ <admin>
35
+ <children>
36
+ <system>
37
+ <children>
38
+ <config>
39
+ <children>
40
+ <custom_menu translate="title" module="custommenu">
41
+ <title><![CDATA[Web & People: Custom Menu]]></title>
42
+ <sort_order>2000</sort_order>
43
+ </custom_menu>
44
+ </children>
45
+ </config>
46
+ </children>
47
+ </system>
48
+ </children>
49
+ </admin>
50
+ </resources>
51
+ </acl>
52
+ </adminhtml>
53
+
54
+ <global>
55
+ <blocks>
56
+ <catalog>
57
+ <rewrite>
58
+ <navigation>WP_CustomMenu_Block_Navigation</navigation><!-- v1.4-1.6 -->
59
+ </rewrite>
60
+ </catalog>
61
+ <page>
62
+ <rewrite>
63
+ <html_topmenu>WP_CustomMenu_Block_Topmenu</html_topmenu><!-- v1.7 -->
64
+ </rewrite>
65
+ </page>
66
+ <custommenu>
67
+ <class>WP_CustomMenu_Block</class>
68
+ </custommenu>
69
+ </blocks>
70
+ <helpers>
71
+ <custommenu>
72
+ <class>WP_CustomMenu_Helper</class>
73
+ </custommenu>
74
+ </helpers>
75
+ </global>
76
+
77
+ <default>
78
+ <custom_menu>
79
+ <general>
80
+ <enabled>1</enabled>
81
+ <ajax_load_content>0</ajax_load_content>
82
+ <move_code_to_bottom>0</move_code_to_bottom>
83
+ <mobile_menu>1</mobile_menu>
84
+ <display_empty_categories>1</display_empty_categories>
85
+ <max_level>3</max_level>
86
+ <show_home_link>1</show_home_link>
87
+ <non_breaking_space>0</non_breaking_space>
88
+ <ie6_ignore>1</ie6_ignore>
89
+ <rtl>0</rtl>
90
+ <version>2.5.8</version>
91
+ </general>
92
+ <columns>
93
+ <count>3</count>
94
+ <divided_horizontally>0</divided_horizontally>
95
+ <integrate>1</integrate>
96
+ </columns>
97
+ <popup>
98
+ <width>0</width>
99
+ <top_offset>0</top_offset>
100
+ <delay_displaying>150</delay_displaying>
101
+ <delay_hiding>100</delay_hiding>
102
+ </popup>
103
+ </custom_menu>
104
+ </default>
105
+ </config>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/code/{local → community}/WP/CustomMenu/etc/system.xml RENAMED
@@ -1,240 +1,222 @@
1
- <?xml version="1.0"?>
2
- <config>
3
- <tabs>
4
- <web_and_people translate="label" module="custommenu">
5
- <label>Web-And-People</label>
6
- <sort_order>150</sort_order>
7
- </web_and_people>
8
- </tabs>
9
- <sections>
10
- <custom_menu translate="label" module="custommenu">
11
- <label>Custom Menu</label>
12
- <tab>web_and_people</tab>
13
- <frontend_type>text</frontend_type>
14
- <sort_order>200</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
- <groups>
19
- <general translate="label">
20
- <label>General</label>
21
- <frontend_type>text</frontend_type>
22
- <sort_order>10</sort_order>
23
- <show_in_default>1</show_in_default>
24
- <show_in_website>1</show_in_website>
25
- <show_in_store>1</show_in_store>
26
- <fields>
27
- <enabled translate="label comment">
28
- <label>Enable</label>
29
- <comment><![CDATA[In order to display a custom block with images or other html content in the popup, use the <b>Static Block</b> (<strong>CMS->Static Blocks</strong> section) with the ID like "<b>wp_custom_menu_83</b>", where "<b>83</b>" is the Category ID of this category]]></comment>
30
- <frontend_type>select</frontend_type>
31
- <source_model>adminhtml/system_config_source_yesno</source_model>
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
- </enabled>
37
- <ajax_load_content translate="label comment">
38
- <label>Load content through ajax</label>
39
- <frontend_type>select</frontend_type>
40
- <source_model>adminhtml/system_config_source_yesno</source_model>
41
- <sort_order>2</sort_order>
42
- <show_in_default>1</show_in_default>
43
- <show_in_website>1</show_in_website>
44
- <show_in_store>1</show_in_store>
45
- </ajax_load_content>
46
- <move_code_to_bottom translate="label">
47
- <label>Move content to the bottom</label>
48
- <comment>Move the menu source code to the bottom of a page</comment>
49
- <frontend_type>select</frontend_type>
50
- <source_model>adminhtml/system_config_source_yesno</source_model>
51
- <sort_order>3</sort_order>
52
- <show_in_default>1</show_in_default>
53
- <show_in_website>1</show_in_website>
54
- <show_in_store>1</show_in_store>
55
- <depends>
56
- <ajax_load_content>0</ajax_load_content>
57
- </depends>
58
- </move_code_to_bottom>
59
- <mobile_menu translate="label comment">
60
- <label>Mobile menu</label>
61
- <frontend_type>select</frontend_type>
62
- <source_model>adminhtml/system_config_source_enabledisable</source_model>
63
- <sort_order>4</sort_order>
64
- <show_in_default>1</show_in_default>
65
- <show_in_website>1</show_in_website>
66
- <show_in_store>1</show_in_store>
67
- </mobile_menu>
68
- <display_empty_categories translate="label comment">
69
- <label>Display empty categories</label>
70
- <comment><![CDATA[An empty category is a category that has no products]]></comment>
71
- <frontend_type>select</frontend_type>
72
- <source_model>adminhtml/system_config_source_yesno</source_model>
73
- <sort_order>5</sort_order>
74
- <show_in_default>1</show_in_default>
75
- <show_in_website>1</show_in_website>
76
- <show_in_store>1</show_in_store>
77
- </display_empty_categories>
78
- <max_level translate="label comment">
79
- <label>Visible menu depth</label>
80
- <comment><![CDATA[e.g. 1, 2, 3, 4 (0 - disable limits). For example, if you set this value to <b>2</b>, only second level categories will be displayed]]></comment>
81
- <frontend_type>text</frontend_type>
82
- <sort_order>10</sort_order>
83
- <show_in_default>1</show_in_default>
84
- <show_in_website>1</show_in_website>
85
- <show_in_store>1</show_in_store>
86
- </max_level>
87
- <show_home_link translate="label">
88
- <label>Show the link "Home"</label>
89
- <frontend_type>select</frontend_type>
90
- <source_model>adminhtml/system_config_source_yesno</source_model>
91
- <sort_order>15</sort_order>
92
- <show_in_default>1</show_in_default>
93
- <show_in_website>1</show_in_website>
94
- <show_in_store>1</show_in_store>
95
- </show_home_link>
96
- <non_breaking_space translate="label comment">
97
- <label>Replace spaces with non-breaking spaces</label>
98
- <comment><![CDATA[Insert <b>&amp;nbsp;</b> instead of a space in a name of a menu item]]></comment>
99
- <frontend_type>select</frontend_type>
100
- <source_model>adminhtml/system_config_source_yesno</source_model>
101
- <sort_order>20</sort_order>
102
- <show_in_default>1</show_in_default>
103
- <show_in_website>1</show_in_website>
104
- <show_in_store>1</show_in_store>
105
- </non_breaking_space>
106
- <ie6_ignore translate="label">
107
- <label>Display standard menu in IE6 browser</label>
108
- <frontend_type>select</frontend_type>
109
- <source_model>adminhtml/system_config_source_yesno</source_model>
110
- <sort_order>30</sort_order>
111
- <show_in_default>1</show_in_default>
112
- <show_in_website>1</show_in_website>
113
- <show_in_store>1</show_in_store>
114
- </ie6_ignore>
115
- <rtl translate="label">
116
- <label>Enable RTL Text mode</label>
117
- <frontend_type>select</frontend_type>
118
- <source_model>adminhtml/system_config_source_yesno</source_model>
119
- <sort_order>35</sort_order>
120
- <show_in_default>1</show_in_default>
121
- <show_in_website>1</show_in_website>
122
- <show_in_store>1</show_in_store>
123
- </rtl>
124
- <version translate="label">
125
- <label>Extension Release</label>
126
- <frontend_type>label</frontend_type>
127
- <sort_order>100</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
- </version>
132
- </fields>
133
- </general>
134
- <columns translate="label">
135
- <label>Columns</label>
136
- <frontend_type>text</frontend_type>
137
- <sort_order>15</sort_order>
138
- <show_in_default>1</show_in_default>
139
- <show_in_website>1</show_in_website>
140
- <show_in_store>1</show_in_store>
141
- <fields>
142
- <count translate="label comment">
143
- <label>Number of columns</label>
144
- <comment>e.g. 1, 2, 3. The maximum number of columns in the popup</comment>
145
- <frontend_type>text</frontend_type>
146
- <sort_order>1</sort_order>
147
- <show_in_default>1</show_in_default>
148
- <show_in_website>1</show_in_website>
149
- <show_in_store>1</show_in_store>
150
- </count>
151
- <divided_horizontally translate="label comment">
152
- <label>Split categories left to right into columns</label>
153
- <comment><![CDATA[Next Sub-category is placed to the next column]]></comment>
154
- <frontend_type>select</frontend_type>
155
- <source_model>adminhtml/system_config_source_yesno</source_model>
156
- <sort_order>3</sort_order>
157
- <show_in_default>1</show_in_default>
158
- <show_in_website>1</show_in_website>
159
- <show_in_store>1</show_in_store>
160
- </divided_horizontally>
161
- <integrate translate="label comment">
162
- <label>Merge small subcategories</label>
163
- <comment><![CDATA[Merge small subcategory lists into one column (except the extream left categories)]]></comment>
164
- <frontend_type>select</frontend_type>
165
- <source_model>adminhtml/system_config_source_yesno</source_model>
166
- <sort_order>5</sort_order>
167
- <show_in_default>1</show_in_default>
168
- <show_in_website>1</show_in_website>
169
- <show_in_store>1</show_in_store>
170
- </integrate>
171
- </fields>
172
- </columns>
173
- <popup translate="label">
174
- <label>Popup settings</label>
175
- <frontend_type>text</frontend_type>
176
- <sort_order>20</sort_order>
177
- <show_in_default>1</show_in_default>
178
- <show_in_website>1</show_in_website>
179
- <show_in_store>1</show_in_store>
180
- <fields>
181
- <width translate="label comment">
182
- <label>Width</label>
183
- <comment>in pixels, (0 - no fixed width)</comment>
184
- <frontend_type>text</frontend_type>
185
- <sort_order>1</sort_order>
186
- <show_in_default>1</show_in_default>
187
- <show_in_website>1</show_in_website>
188
- <show_in_store>1</show_in_store>
189
- </width>
190
- <top_offset translate="label comment">
191
- <label>Top offset</label>
192
- <comment>in pixels, (0 - to calculate the offset automatically)</comment>
193
- <frontend_type>text</frontend_type>
194
- <sort_order>3</sort_order>
195
- <show_in_default>1</show_in_default>
196
- <show_in_website>1</show_in_website>
197
- <show_in_store>1</show_in_store>
198
- </top_offset>
199
- <delay_displaying translate="label comment">
200
- <label>Delay before displaying</label>
201
- <comment>in milliseconds</comment>
202
- <frontend_type>text</frontend_type>
203
- <sort_order>15</sort_order>
204
- <show_in_default>1</show_in_default>
205
- <show_in_website>1</show_in_website>
206
- <show_in_store>1</show_in_store>
207
- </delay_displaying>
208
- <delay_hiding translate="label comment">
209
- <label>Delay before hiding</label>
210
- <comment>in milliseconds</comment>
211
- <frontend_type>text</frontend_type>
212
- <sort_order>20</sort_order>
213
- <show_in_default>1</show_in_default>
214
- <show_in_website>1</show_in_website>
215
- <show_in_store>1</show_in_store>
216
- </delay_hiding>
217
- </fields>
218
- </popup>
219
- </groups>
220
- </custom_menu>
221
- <about_webandpeople translate="label" module="custommenu">
222
- <label>About Us</label>
223
- <tab>web_and_people</tab>
224
- <frontend_type>text</frontend_type>
225
- <sort_order>99</sort_order>
226
- <show_in_default>1</show_in_default>
227
- <show_in_website>1</show_in_website>
228
- <show_in_store>1</show_in_store>
229
- <groups>
230
- <info>
231
- <frontend_model>custommenu/about</frontend_model>
232
- <sort_order>10</sort_order>
233
- <show_in_default>1</show_in_default>
234
- <show_in_website>1</show_in_website>
235
- <show_in_store>1</show_in_store>
236
- </info>
237
- </groups>
238
- </about_webandpeople>
239
- </sections>
240
- </config>
1
+ <?xml version="1.0"?>
2
+ <config>
3
+ <tabs>
4
+ <web_and_people translate="label" module="custommenu">
5
+ <label>Web-And-People</label>
6
+ <sort_order>150</sort_order>
7
+ </web_and_people>
8
+ </tabs>
9
+ <sections>
10
+ <custom_menu translate="label" module="custommenu">
11
+ <label>Custom Menu</label>
12
+ <tab>web_and_people</tab>
13
+ <frontend_type>text</frontend_type>
14
+ <sort_order>200</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
+ <groups>
19
+ <general translate="label">
20
+ <label>General</label>
21
+ <frontend_type>text</frontend_type>
22
+ <sort_order>10</sort_order>
23
+ <show_in_default>1</show_in_default>
24
+ <show_in_website>1</show_in_website>
25
+ <show_in_store>1</show_in_store>
26
+ <fields>
27
+ <enabled translate="label comment">
28
+ <label>Enable</label>
29
+ <comment><![CDATA[In order to display a custom block with images or other html content in the popup, use the <b>Static Block</b> (<strong>CMS->Static Blocks</strong> section) with the ID like "<b>wp_custom_menu_83</b>", where "<b>83</b>" is the Category ID of this category]]></comment>
30
+ <frontend_type>select</frontend_type>
31
+ <source_model>adminhtml/system_config_source_yesno</source_model>
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
+ </enabled>
37
+ <ajax_load_content translate="label comment">
38
+ <label>Load content through ajax</label>
39
+ <frontend_type>select</frontend_type>
40
+ <source_model>adminhtml/system_config_source_yesno</source_model>
41
+ <sort_order>2</sort_order>
42
+ <show_in_default>1</show_in_default>
43
+ <show_in_website>1</show_in_website>
44
+ <show_in_store>1</show_in_store>
45
+ </ajax_load_content>
46
+ <move_code_to_bottom translate="label">
47
+ <label>Move content to the bottom</label>
48
+ <comment>Move the menu source code to the bottom of a page</comment>
49
+ <frontend_type>select</frontend_type>
50
+ <source_model>adminhtml/system_config_source_yesno</source_model>
51
+ <sort_order>3</sort_order>
52
+ <show_in_default>1</show_in_default>
53
+ <show_in_website>1</show_in_website>
54
+ <show_in_store>1</show_in_store>
55
+ <depends>
56
+ <ajax_load_content>0</ajax_load_content>
57
+ </depends>
58
+ </move_code_to_bottom>
59
+ <mobile_menu translate="label comment">
60
+ <label>Mobile menu</label>
61
+ <frontend_type>select</frontend_type>
62
+ <source_model>adminhtml/system_config_source_enabledisable</source_model>
63
+ <sort_order>4</sort_order>
64
+ <show_in_default>1</show_in_default>
65
+ <show_in_website>1</show_in_website>
66
+ <show_in_store>1</show_in_store>
67
+ </mobile_menu>
68
+ <display_empty_categories translate="label comment">
69
+ <label>Display empty categories</label>
70
+ <comment><![CDATA[An empty category is a category that has no products]]></comment>
71
+ <frontend_type>select</frontend_type>
72
+ <source_model>adminhtml/system_config_source_yesno</source_model>
73
+ <sort_order>5</sort_order>
74
+ <show_in_default>1</show_in_default>
75
+ <show_in_website>1</show_in_website>
76
+ <show_in_store>1</show_in_store>
77
+ </display_empty_categories>
78
+ <max_level translate="label comment">
79
+ <label>Visible menu depth</label>
80
+ <comment><![CDATA[e.g. 1, 2, 3, 4 (0 - disable limits). For example, if you set this value to <b>2</b>, only second level categories will be displayed]]></comment>
81
+ <frontend_type>text</frontend_type>
82
+ <sort_order>10</sort_order>
83
+ <show_in_default>1</show_in_default>
84
+ <show_in_website>1</show_in_website>
85
+ <show_in_store>1</show_in_store>
86
+ </max_level>
87
+ <show_home_link translate="label">
88
+ <label>Show the link "Home"</label>
89
+ <frontend_type>select</frontend_type>
90
+ <source_model>adminhtml/system_config_source_yesno</source_model>
91
+ <sort_order>15</sort_order>
92
+ <show_in_default>1</show_in_default>
93
+ <show_in_website>1</show_in_website>
94
+ <show_in_store>1</show_in_store>
95
+ </show_home_link>
96
+ <non_breaking_space translate="label comment">
97
+ <label>Replace spaces with non-breaking spaces</label>
98
+ <comment><![CDATA[Insert <b>&amp;nbsp;</b> instead of a space in a name of a menu item]]></comment>
99
+ <frontend_type>select</frontend_type>
100
+ <source_model>adminhtml/system_config_source_yesno</source_model>
101
+ <sort_order>20</sort_order>
102
+ <show_in_default>1</show_in_default>
103
+ <show_in_website>1</show_in_website>
104
+ <show_in_store>1</show_in_store>
105
+ </non_breaking_space>
106
+ <ie6_ignore translate="label">
107
+ <label>Display standard menu in IE6 browser</label>
108
+ <frontend_type>select</frontend_type>
109
+ <source_model>adminhtml/system_config_source_yesno</source_model>
110
+ <sort_order>30</sort_order>
111
+ <show_in_default>1</show_in_default>
112
+ <show_in_website>1</show_in_website>
113
+ <show_in_store>1</show_in_store>
114
+ </ie6_ignore>
115
+ <rtl translate="label">
116
+ <label>Enable RTL Text mode</label>
117
+ <frontend_type>select</frontend_type>
118
+ <source_model>adminhtml/system_config_source_yesno</source_model>
119
+ <sort_order>35</sort_order>
120
+ <show_in_default>1</show_in_default>
121
+ <show_in_website>1</show_in_website>
122
+ <show_in_store>1</show_in_store>
123
+ </rtl>
124
+ <version translate="label">
125
+ <label>Extension Release</label>
126
+ <frontend_type>label</frontend_type>
127
+ <sort_order>100</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
+ </version>
132
+ </fields>
133
+ </general>
134
+ <columns translate="label">
135
+ <label>Columns</label>
136
+ <frontend_type>text</frontend_type>
137
+ <sort_order>15</sort_order>
138
+ <show_in_default>1</show_in_default>
139
+ <show_in_website>1</show_in_website>
140
+ <show_in_store>1</show_in_store>
141
+ <fields>
142
+ <count translate="label comment">
143
+ <label>Number of columns</label>
144
+ <comment>e.g. 1, 2, 3. The maximum number of columns in the popup</comment>
145
+ <frontend_type>text</frontend_type>
146
+ <sort_order>1</sort_order>
147
+ <show_in_default>1</show_in_default>
148
+ <show_in_website>1</show_in_website>
149
+ <show_in_store>1</show_in_store>
150
+ </count>
151
+ <divided_horizontally translate="label comment">
152
+ <label>Split categories left to right into columns</label>
153
+ <comment><![CDATA[Next Sub-category is placed to the next column]]></comment>
154
+ <frontend_type>select</frontend_type>
155
+ <source_model>adminhtml/system_config_source_yesno</source_model>
156
+ <sort_order>3</sort_order>
157
+ <show_in_default>1</show_in_default>
158
+ <show_in_website>1</show_in_website>
159
+ <show_in_store>1</show_in_store>
160
+ </divided_horizontally>
161
+ <integrate translate="label comment">
162
+ <label>Merge small subcategories</label>
163
+ <comment><![CDATA[Merge small subcategory lists into one column (except the extream left categories)]]></comment>
164
+ <frontend_type>select</frontend_type>
165
+ <source_model>adminhtml/system_config_source_yesno</source_model>
166
+ <sort_order>5</sort_order>
167
+ <show_in_default>1</show_in_default>
168
+ <show_in_website>1</show_in_website>
169
+ <show_in_store>1</show_in_store>
170
+ </integrate>
171
+ </fields>
172
+ </columns>
173
+ <popup translate="label">
174
+ <label>Popup settings</label>
175
+ <frontend_type>text</frontend_type>
176
+ <sort_order>20</sort_order>
177
+ <show_in_default>1</show_in_default>
178
+ <show_in_website>1</show_in_website>
179
+ <show_in_store>1</show_in_store>
180
+ <fields>
181
+ <width translate="label comment">
182
+ <label>Width</label>
183
+ <comment>in pixels, (0 - no fixed width)</comment>
184
+ <frontend_type>text</frontend_type>
185
+ <sort_order>1</sort_order>
186
+ <show_in_default>1</show_in_default>
187
+ <show_in_website>1</show_in_website>
188
+ <show_in_store>1</show_in_store>
189
+ </width>
190
+ <top_offset translate="label comment">
191
+ <label>Top offset</label>
192
+ <comment>in pixels, (0 - to calculate the offset automatically)</comment>
193
+ <frontend_type>text</frontend_type>
194
+ <sort_order>3</sort_order>
195
+ <show_in_default>1</show_in_default>
196
+ <show_in_website>1</show_in_website>
197
+ <show_in_store>1</show_in_store>
198
+ </top_offset>
199
+ <delay_displaying translate="label comment">
200
+ <label>Delay before displaying</label>
201
+ <comment>in milliseconds</comment>
202
+ <frontend_type>text</frontend_type>
203
+ <sort_order>15</sort_order>
204
+ <show_in_default>1</show_in_default>
205
+ <show_in_website>1</show_in_website>
206
+ <show_in_store>1</show_in_store>
207
+ </delay_displaying>
208
+ <delay_hiding translate="label comment">
209
+ <label>Delay before hiding</label>
210
+ <comment>in milliseconds</comment>
211
+ <frontend_type>text</frontend_type>
212
+ <sort_order>20</sort_order>
213
+ <show_in_default>1</show_in_default>
214
+ <show_in_website>1</show_in_website>
215
+ <show_in_store>1</show_in_store>
216
+ </delay_hiding>
217
+ </fields>
218
+ </popup>
219
+ </groups>
220
+ </custom_menu>
221
+ </sections>
222
+ </config>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/code/local/WP/CustomMenu/Block/About.php DELETED
@@ -1,203 +0,0 @@
1
- <?php
2
-
3
- class WP_CustomMenu_Block_About
4
- extends Mage_Adminhtml_Block_Abstract
5
- implements Varien_Data_Form_Element_Renderer_Interface
6
- {
7
-
8
- /**
9
- * Render fieldset html
10
- *
11
- * @param Varien_Data_Form_Element_Abstract $element
12
- * @return string
13
- */
14
- public function render(Varien_Data_Form_Element_Abstract $element)
15
- {
16
- $default = <<<HTML
17
- <div style="background-color:#EAF0EE;border:1px solid #CCCCCC;margin-bottom:10px;padding:20px;">
18
- <p>
19
- <b style="font-size:12px;">WebAndPeople</b>, a family of niche sites, provides small businesses with everything they need to start selling online.
20
- </p>
21
- <p>
22
- <strong>PREMIUM and FREE MAGENTO TEMPALTES and EXTENSIONS</strong><br />
23
- <a href="http://web-experiment.info" target="_blank">Web-Experiment.info</a> offers a wide choice of nice-looking and easily editable free and premium Magento Themes. At Web-Experiment, you can find free downloads or buy premium tempaltes for the extremely popular Magento eCommerce platform.<br />
24
- <strong>MAGENTO HOSTING</strong></strong><br />
25
- <a href="http://magenting.com" target="_blank">Magenting.com</a>, a new and improved hosting solution, is allowing you to easily create, promote, and manage your online store with Magento. Magenting users will receive a valuable set of tools and features, including automatic Magento eCommerce installation, automatic Magento template installation and a free or paid professional Magento hosting account.<br />
26
- <strong>WEB DEVELOPMENT</strong><br />
27
- <a href="http://webandpeople.com" target="_blank">WebAndPeople.com</a> is a team of professional Web developers and designers who are some of the best in the industry. WebAndPeople provides Web application development, custom Magento theme designs, and Website design services.<br />
28
- <br />
29
- </p>
30
- <p>
31
- Our themes and extensions on <a href="http://www.magentocommerce.com/magento-connect/developer/WebAndPeople" target="_blank">MagentoConnect</a><br />
32
- Should you have any questions <a href="http://web-experiment.info/support" target="_blank">Contact Us</a> or email at <a href="mailto:support@web-experiment.info">support@web-experiment.info</a>
33
- <br />
34
- </p>
35
- </div>
36
- HTML;
37
- $default = json_encode($default);
38
- $html = '<div id="wp_aboutus_content"></div>
39
-
40
- <script type="text/javascript"> //<![CDATA[
41
-
42
- /* JSON-P implementation for Prototype.js somewhat by Dan Dean (http://www.dandean.com)
43
- *
44
- * *HEAVILY* based on Tobie Langel\'s version: http://gist.github.com/145466.
45
- * Might as well just call this an iteration.
46
- *
47
- * This version introduces:
48
- * - Support for predefined callbacks (Necessary for OAuth signed requests, by @rboyce)
49
- * - Partial integration with Ajax.Responders (Thanks to @sr3d for the kick in this direction)
50
- * - Compatibility with Prototype 1.7 (Thanks to @soung3 for the bug report)
51
- * - Will not break if page lacks a <head> element
52
- *
53
- * See examples in README for usage
54
- *
55
- * VERSION 1.1.2
56
- *
57
- * new Ajax.JSONRequest(url, options);
58
- * - url (String): JSON-P endpoint url.
59
- * - options (Object): Configuration options for the request.
60
- */
61
- Ajax.JSONRequest = Class.create(Ajax.Base, (function() {
62
- var id = 0, head = document.getElementsByTagName(\'head\')[0] || document.body;
63
- return {
64
- initialize: function($super, url, options) {
65
- $super(options);
66
- this.options.url = url;
67
- this.options.callbackParamName = this.options.callbackParamName || \'callback\';
68
- this.options.timeout = this.options.timeout || 10; // Default timeout: 10 seconds
69
- this.options.invokeImmediately = (!Object.isUndefined(this.options.invokeImmediately)) ? this.options.invokeImmediately : true ;
70
-
71
- if (!Object.isUndefined(this.options.parameters) && Object.isString(this.options.parameters)) {
72
- this.options.parameters = this.options.parameters.toQueryParams();
73
- }
74
-
75
- if (this.options.invokeImmediately) {
76
- this.request();
77
- }
78
- },
79
-
80
- /**
81
- * Ajax.JSONRequest#_cleanup() -> undefined
82
- * Cleans up after the request
83
- **/
84
- _cleanup: function() {
85
- if (this.timeout) {
86
- clearTimeout(this.timeout);
87
- this.timeout = null;
88
- }
89
- if (this.transport && Object.isElement(this.transport)) {
90
- this.transport.remove();
91
- this.transport = null;
92
- }
93
- },
94
-
95
- /**
96
- * Ajax.JSONRequest#request() -> undefined
97
- * Invokes the JSON-P request lifecycle
98
- **/
99
- request: function() {
100
-
101
- // Define local vars
102
- var response = new Ajax.JSONResponse(this);
103
- var key = this.options.callbackParamName,
104
- name = \'_prototypeJSONPCallback_\' + (id++),
105
- complete = function() {
106
- if (Object.isFunction(this.options.onComplete)) {
107
- this.options.onComplete.call(this, response);
108
- }
109
- Ajax.Responders.dispatch(\'onComplete\', this, response);
110
- }.bind(this);
111
-
112
- // If the callback parameter is already defined, use that
113
- if (this.options.parameters[key] !== undefined) {
114
- name = this.options.parameters[key];
115
- }
116
- // Otherwise, add callback as a parameter
117
- else {
118
- this.options.parameters[key] = name;
119
- }
120
-
121
- // Build request URL
122
- this.options.parameters[key] = name;
123
- var url = this.options.url + ((this.options.url.include(\'?\') ? \'&\' : \'?\') + Object.toQueryString(this.options.parameters));
124
-
125
- // Define callback function
126
- window[name] = function(json) {
127
- this._cleanup(); // Garbage collection
128
- window[name] = undefined;
129
-
130
- response.status = 200;
131
- response.statusText = "OK";
132
- response.setResponseContent(json);
133
-
134
- if (Object.isFunction(this.options.onSuccess)) {
135
- this.options.onSuccess.call(this, response);
136
- }
137
- Ajax.Responders.dispatch(\'onSuccess\', this, response);
138
-
139
- complete();
140
-
141
- }.bind(this);
142
-
143
- this.transport = new Element(\'script\', { type: \'text/javascript\', src: url });
144
-
145
- if (Object.isFunction(this.options.onCreate)) {
146
- this.options.onCreate.call(this, response);
147
- }
148
- Ajax.Responders.dispatch(\'onCreate\', this);
149
-
150
- head.appendChild(this.transport);
151
-
152
- this.timeout = setTimeout(function() {
153
- this._cleanup();
154
- window[name] = Prototype.emptyFunction;
155
- if (Object.isFunction(this.options.onFailure)) {
156
- response.status = 504;
157
- response.statusText = "Gateway Timeout";
158
- this.options.onFailure.call(this, response);
159
- }
160
- complete();
161
- }.bind(this), this.options.timeout * 1000);
162
- },
163
- toString: function() { return "[object Ajax.JSONRequest]"; }
164
- };
165
- })());
166
-
167
- Ajax.JSONResponse = Class.create({
168
- initialize: function(request) {
169
- this.request = request;
170
- },
171
- request: undefined,
172
- status: 0,
173
- statusText: \'\',
174
- responseJSON: undefined,
175
- responseText: undefined,
176
- setResponseContent: function(json) {
177
- this.responseJSON = json;
178
- this.responseText = Object.toJSON(json);
179
- },
180
- getTransport: function() {
181
- if (this.request) return this.request.transport;
182
- },
183
- toString: function() { return "[object Ajax.JSONResponse]"; }
184
- });
185
-
186
- window.onload = function(){
187
- var html = ' . $default . ';
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;
195
- }
196
- Element.replace(\'wp_aboutus_content\', html);
197
- }
198
- });
199
- };
200
- //]]></script>';
201
- return $html;
202
- }
203
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/etc/modules/WP_CustomMenu.xml CHANGED
@@ -3,7 +3,7 @@
3
  <modules>
4
  <WP_CustomMenu>
5
  <active>true</active>
6
- <codePool>local</codePool>
7
  </WP_CustomMenu>
8
  </modules>
9
- </config>
3
  <modules>
4
  <WP_CustomMenu>
5
  <active>true</active>
6
+ <codePool>community</codePool>
7
  </WP_CustomMenu>
8
  </modules>
9
+ </config>
package.xml CHANGED
@@ -1,14 +1,14 @@
1
  <?xml version="1.0" encoding="UTF-8"?>
2
  <package>
3
  <name>wp_custom_menu</name>
4
- <version>2.5.7</version>
5
  <stability>stable</stability>
6
  <license uri="http://web-experiment.info/regular_free_license">Web-Experiment.Info Regular Free 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>~ default values, + jQuery: check exists</notes>
12
  <authors>
13
  <author>
14
  <name>WebAndPeople</name>
@@ -21,17 +21,16 @@
21
  <email>y.gerassimenko@webandpeople.com</email>
22
  </author>
23
  </authors>
24
- <date>2014-01-23</date>
25
- <time>13:04:28</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="87be6224e66862e0562d30977277503c"/>
36
  <file name="Toggle.php" hash="c0e3299c7ce19041edb481ff09ab22c7"/>
37
  <file name="Topmenu.php" hash="7102b3bf0473dc5ecb0d66c12bfc6a95"/>
@@ -44,8 +43,8 @@
44
  <file name="AjaxmobilemenucontentController.php" hash="7b1690de9885838fb6f483136eed3a06"/>
45
  </dir>
46
  <dir name="etc">
47
- <file name="config.xml" hash="cb9f2e0bb3f6e822f7bb7c88887802fd"/>
48
- <file name="system.xml" hash="64cafadbaacd02165a008a83a4223bb1"/>
49
  </dir>
50
  </dir>
51
  </dir>
@@ -74,7 +73,7 @@
74
  </dir>
75
  <dir name="etc">
76
  <dir name="modules">
77
- <file name="WP_CustomMenu.xml" hash="cfe1d1974c20f4ac9f2d5ace4916c5ab"/>
78
  </dir>
79
  </dir>
80
  </dir>
1
  <?xml version="1.0" encoding="UTF-8"?>
2
  <package>
3
  <name>wp_custom_menu</name>
4
+ <version>2.5.8</version>
5
  <stability>stable</stability>
6
  <license uri="http://web-experiment.info/regular_free_license">Web-Experiment.Info Regular Free 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>Изменил расположение папки расширния, переместив из local в community</notes>
12
  <authors>
13
  <author>
14
  <name>WebAndPeople</name>
21
  <email>y.gerassimenko@webandpeople.com</email>
22
  </author>
23
  </authors>
24
+ <date>2014-03-20</date>
25
+ <time>12:36:01</time>
26
  <contents>
27
  <target name="mageweb">
28
  <dir name="app">
29
  <dir name="code">
30
+ <dir name="community">
31
  <dir name="WP">
32
  <dir name="CustomMenu">
33
  <dir name="Block">
 
34
  <file name="Navigation.php" hash="87be6224e66862e0562d30977277503c"/>
35
  <file name="Toggle.php" hash="c0e3299c7ce19041edb481ff09ab22c7"/>
36
  <file name="Topmenu.php" hash="7102b3bf0473dc5ecb0d66c12bfc6a95"/>
43
  <file name="AjaxmobilemenucontentController.php" hash="7b1690de9885838fb6f483136eed3a06"/>
44
  </dir>
45
  <dir name="etc">
46
+ <file name="config.xml" hash="de23ba8f0f2ed3ec5e59fcc8eaaeb5ed"/>
47
+ <file name="system.xml" hash="c8df283cdc4662e977c4b7479f09e14d"/>
48
  </dir>
49
  </dir>
50
  </dir>
73
  </dir>
74
  <dir name="etc">
75
  <dir name="modules">
76
+ <file name="WP_CustomMenu.xml" hash="c367e72a4fd849f0eb777634ca2d422c"/>
77
  </dir>
78
  </dir>
79
  </dir>