Quick_Action_Attribute_Values_or_Labels - Version 1.6.2

Version Notes

Compatibility with patch SUPEE-6788

Download this release

Release Info

Developer CueBlocks
Extension Quick_Action_Attribute_Values_or_Labels
Version 1.6.2
Comparing to
See all releases


Code changes from version 1.6.1 to 1.6.2

app/code/community/CueBlocks/Cueattributevalue/etc/adminhtml.xml CHANGED
@@ -17,12 +17,12 @@
17
  <additems module="cueattributevalue">
18
  <title>Add Attribute Labels</title>
19
  <sort_order>0</sort_order>
20
- <action>cueattributevalue/adminhtml_cueattributevalue</action>
21
  </additems>
22
  <deleteitems module="cueattributevalue">
23
  <title>Delete Attribute Labels</title>
24
  <sort_order>1</sort_order>
25
- <action>cueattributevalue/adminhtml_cueattributevaluedelete</action>
26
  </deleteitems>
27
  </children>
28
  </cueattributevalue>
17
  <additems module="cueattributevalue">
18
  <title>Add Attribute Labels</title>
19
  <sort_order>0</sort_order>
20
+ <action>adminhtml/cueattributevalue</action>
21
  </additems>
22
  <deleteitems module="cueattributevalue">
23
  <title>Delete Attribute Labels</title>
24
  <sort_order>1</sort_order>
25
+ <action>adminhtml/cueattributevaluedelete</action>
26
  </deleteitems>
27
  </children>
28
  </cueattributevalue>
app/code/community/CueBlocks/Cueattributevalue/etc/config.xml CHANGED
@@ -11,7 +11,7 @@
11
  <config>
12
  <modules>
13
  <CueBlocks_Cueattributevalue>
14
- <version>1.6.1</version>
15
  </CueBlocks_Cueattributevalue>
16
  </modules>
17
  <global>
@@ -48,13 +48,13 @@
48
  </global>
49
  <admin>
50
  <routers>
51
- <cueattributevalue>
52
- <use>admin</use>
53
  <args>
54
- <module>CueBlocks_Cueattributevalue</module>
55
- <frontName>cueattributevalue</frontName>
 
56
  </args>
57
- </cueattributevalue>
58
  </routers>
59
  </admin>
60
  </config>
11
  <config>
12
  <modules>
13
  <CueBlocks_Cueattributevalue>
14
+ <version>1.6.2</version>
15
  </CueBlocks_Cueattributevalue>
16
  </modules>
17
  <global>
48
  </global>
49
  <admin>
50
  <routers>
51
+ <adminhtml>
 
52
  <args>
53
+ <modules>
54
+ <cueattributevalue before="Mage_Adminhtml">CueBlocks_Cueattributevalue_Adminhtml</cueattributevalue>
55
+ </modules>
56
  </args>
57
+ </adminhtml>
58
  </routers>
59
  </admin>
60
  </config>
app/design/adminhtml/default/default/layout/cueattributevalue.xml CHANGED
@@ -9,9 +9,9 @@
9
  */
10
  -->
11
  <layout version="0.1.0">
12
- <cueattributevalue_adminhtml_cueattributevalue_index>
13
  <reference name="content">
14
  <block type="cueattributevalue/adminhtml_cueattributevalue" name="cueattributevalue" />
15
  </reference>
16
- </cueattributevalue_adminhtml_cueattributevalue_index>
17
  </layout>
9
  */
10
  -->
11
  <layout version="0.1.0">
12
+ <adminhtml_cueattributevalue_index>
13
  <reference name="content">
14
  <block type="cueattributevalue/adminhtml_cueattributevalue" name="cueattributevalue" />
15
  </reference>
16
+ </adminhtml_cueattributevalue_index>
17
  </layout>
app/design/adminhtml/default/default/template/cueattributevalue/cueattributevalueadd.phtml CHANGED
@@ -30,7 +30,7 @@ $storegroupObj = Mage::getModel('core/store_group');
30
  <div class="content-header">
31
  <table cellspacing="0" class="grid-header">
32
  <tr>
33
- <td><h3><?=$this->__('Add Attribute Labels')?></h3></td>
34
  <td class="a-right">
35
  <button onclick="editForm.submit()" class="scalable save" type="button"><span>Add Label</span></button>
36
  </td>
@@ -39,15 +39,15 @@ $storegroupObj = Mage::getModel('core/store_group');
39
  </div>
40
  <div class="entry-edit">
41
  <div class="entry-edit-head">
42
- <h4 class="icon-head head-edit-form fieldset-legend"><?=$this->__('Manage Options (values of your attribute)')?></h4>
43
  </div>
44
  <fieldset id="my-fieldset">
45
  <?php /***Add Form Starts***/ ?>
46
- <form id="edit_form" name="edit_form" method="post" action="<?=$this->getUrl('*/*/save')?>">
47
  <input name="form_key" type="hidden" value="<?php echo Mage::getSingleton('core/session')->getFormKey() ?>" />
48
  <table cellspacing="0" class="form-list">
49
  <tr>
50
- <td class="label"><?=$this->__('Select Attribute Code')?> <span class="required">*</span></td>
51
  <td class="input-ele"> <select class="required-entry" name="attribute_id" id="attribute_id">
52
  <?php foreach($combinedarr as $arratt){?>
53
  <option value="<?php echo $arratt['value']?>" <?php echo $Data['attribute_id']==$arratt['value'] ?'selected=selected':''?>><?php echo $arratt['label']?></option>
@@ -63,7 +63,7 @@ $storegroupObj = Mage::getModel('core/store_group');
63
  foreach($storegroup as $storegroupname){}
64
  ?>
65
  <tr>
66
- <td class="label"><?=$this->__($Websitename['name']." &gt; ".$store['name'])?><?php if($store['store_id']=='0'){?><span class="required">*</span><?php }?></td>
67
  <td class="input-ele"><input type="text" class="<?php echo $store['store_id']=='0'?'required-entry':''?>" value="<?php echo @$Data['attribute_option_value_'.$store['store_id']]?>" name="attribute_option_value_<?php echo $store['store_id']?>" id="attribute_option_value_<?php echo $store['store_id']?>"></td>
68
  </tr>
69
  <?php }?>
30
  <div class="content-header">
31
  <table cellspacing="0" class="grid-header">
32
  <tr>
33
+ <td><h3><?php echo $this->__('Add Attribute Labels')?></h3></td>
34
  <td class="a-right">
35
  <button onclick="editForm.submit()" class="scalable save" type="button"><span>Add Label</span></button>
36
  </td>
39
  </div>
40
  <div class="entry-edit">
41
  <div class="entry-edit-head">
42
+ <h4 class="icon-head head-edit-form fieldset-legend"><?php echo $this->__('Manage Options (values of your attribute)')?></h4>
43
  </div>
44
  <fieldset id="my-fieldset">
45
  <?php /***Add Form Starts***/ ?>
46
+ <form id="edit_form" name="edit_form" method="post" action="<?php echo $this->getUrl('*/*/save')?>">
47
  <input name="form_key" type="hidden" value="<?php echo Mage::getSingleton('core/session')->getFormKey() ?>" />
48
  <table cellspacing="0" class="form-list">
49
  <tr>
50
+ <td class="label"><?php echo $this->__('Select Attribute Code')?> <span class="required">*</span></td>
51
  <td class="input-ele"> <select class="required-entry" name="attribute_id" id="attribute_id">
52
  <?php foreach($combinedarr as $arratt){?>
53
  <option value="<?php echo $arratt['value']?>" <?php echo $Data['attribute_id']==$arratt['value'] ?'selected=selected':''?>><?php echo $arratt['label']?></option>
63
  foreach($storegroup as $storegroupname){}
64
  ?>
65
  <tr>
66
+ <td class="label"><?php echo $this->__($Websitename['name']." &gt; ".$store['name'])?><?php if($store['store_id']=='0'){?><span class="required">*</span><?php }?></td>
67
  <td class="input-ele"><input type="text" class="<?php echo $store['store_id']=='0'?'required-entry':''?>" value="<?php echo @$Data['attribute_option_value_'.$store['store_id']]?>" name="attribute_option_value_<?php echo $store['store_id']?>" id="attribute_option_value_<?php echo $store['store_id']?>"></td>
68
  </tr>
69
  <?php }?>
app/design/adminhtml/default/default/template/cueattributevalue/cueattributevaluedelete.phtml CHANGED
@@ -61,7 +61,7 @@ $Website = $websiteObj->getCollection()->setLoadDefault(true)->load();
61
  <div class="content-header">
62
  <table cellspacing="0" class="grid-header">
63
  <tr>
64
- <td><h3><?=$this->__('Delete Attribute Labels')?></h3></td>
65
  <td class="a-right">
66
  <button onclick="editForm.submit()" class="scalable save" type="button"><span>Search</span></button>
67
  <form id="delete_form" name="edit_form" method="post" action="<?php echo $this->getUrl('*/*/delete')?>">
@@ -77,10 +77,9 @@ $Website = $websiteObj->getCollection()->setLoadDefault(true)->load();
77
  </tr>
78
  </table>
79
  </div>
80
- <? //$this->getUrl('*/*/delete')?>
81
  <div class="entry-edit">
82
  <div class="entry-edit-head">
83
- <h4 class="icon-head head-edit-form fieldset-legend"><?=$this->__("Delete Attribute Labels")?></h4>
84
  </div>
85
  <fieldset id="my-fieldset">
86
  <?php /***Search Form Starts***/ ?>
@@ -92,7 +91,7 @@ $Website = $websiteObj->getCollection()->setLoadDefault(true)->load();
92
  <ol style="margin:0 0 30px 50px;"><li>1. If you delete 'admin' label, store labels will also be deleted.</li><li>2. If you delete label for particular store then admin label will be displayed.</li></ol></td>
93
  </tr>
94
  <tr>
95
- <td class="label"><?=$this->__('Select Attribute Code')?> <span class="required">*</span></td>
96
  <td class="input-ele"> <select class="required-entry" name="attribute_id" id="attribute_id">
97
  <?php foreach($combinedarr as $arratt){?>
98
  <option value="<?php echo $arratt['value']?>" <?php echo $arratt['value']==$attribute_id ?'selected=selected':''?>><?php echo $arratt['label']?></option>
@@ -101,7 +100,7 @@ $Website = $websiteObj->getCollection()->setLoadDefault(true)->load();
101
  </td>
102
  </tr>
103
  <tr>
104
- <td class="label"><?=$this->__('Select Store')?> <span class="required">*</span></td>
105
  <td class="input-ele"> <select name="store_id" id="store_id" class="required-entry">
106
  <option value="">---Select Store---</option>
107
  <?php foreach($Website as $Websitename){?>
@@ -117,7 +116,7 @@ $Website = $websiteObj->getCollection()->setLoadDefault(true)->load();
117
  {
118
  ?>
119
  <optgroup style="padding-left: 16px;" label="<?php echo $storegroupname['name']; $arr=$storegroupname['name'];?>">
120
- <? }?>
121
  <option style="" value="<?php echo $Storename['store_id']?>" <?php echo $Storename['store_id']==$store_id ?'selected=selected':' '?>><?php echo $Storename['name']?></option>
122
  <?php }?></optgroup>
123
  <?php }?>
@@ -125,7 +124,7 @@ $Website = $websiteObj->getCollection()->setLoadDefault(true)->load();
125
  </td>
126
  </tr>
127
  <tr>
128
- <td class="label"><?=$this->__('Search Label')?> <span class="required">*</span></td>
129
  <td class="input-ele"><input class="required-entry" value="<?php echo htmlentities($searchlabel)?>" name="search_attribute" id="search_attribute" /></td>
130
  </tr>
131
  </table>
@@ -139,7 +138,7 @@ $Website = $websiteObj->getCollection()->setLoadDefault(true)->load();
139
  ?>
140
  <table cellspacing="0" width="100%">
141
  <tr>
142
- <td class="label" height="20px" style="padding-top:10px;padding-bottom:10px"><span class="required"><?=$this->__('Search Result')?></span></td>
143
  </tr>
144
 
145
  </table>
@@ -157,14 +156,14 @@ $Website = $websiteObj->getCollection()->setLoadDefault(true)->load();
157
  if($rowcount>0)
158
  {?>
159
  <tr>
160
- <td class="label"><strong><?=$this->__('Label Value')?></strong></td>
161
- <td class="label"><strong><?=$this->__('Action')?></strong></td>
162
 
163
  </tr>
164
  <?php foreach($datavalues as $val)
165
  {?>
166
  <tr>
167
- <td class="label"><?=$this->__($val['value'])?></td>
168
  <td align="left">
169
  <button id="del<?php echo $val['value_id']?>" class="delete delete-option" type="button" onclick="del(<?php echo $val['value_id']?>,<?php echo $val['option_id']?>)"><span>Mark for Deletion</span></button>
170
  </td>
@@ -175,7 +174,7 @@ $Website = $websiteObj->getCollection()->setLoadDefault(true)->load();
175
  if($rowcount==0)
176
  {?>
177
  <tr>
178
- <td class="label"><?=$this->__('No Result Found')?></td>
179
  </tr>
180
  <?php }
181
  ?>
61
  <div class="content-header">
62
  <table cellspacing="0" class="grid-header">
63
  <tr>
64
+ <td><h3><?php echo $this->__('Delete Attribute Labels')?></h3></td>
65
  <td class="a-right">
66
  <button onclick="editForm.submit()" class="scalable save" type="button"><span>Search</span></button>
67
  <form id="delete_form" name="edit_form" method="post" action="<?php echo $this->getUrl('*/*/delete')?>">
77
  </tr>
78
  </table>
79
  </div>
 
80
  <div class="entry-edit">
81
  <div class="entry-edit-head">
82
+ <h4 class="icon-head head-edit-form fieldset-legend"><?php echo $this->__("Delete Attribute Labels")?></h4>
83
  </div>
84
  <fieldset id="my-fieldset">
85
  <?php /***Search Form Starts***/ ?>
91
  <ol style="margin:0 0 30px 50px;"><li>1. If you delete 'admin' label, store labels will also be deleted.</li><li>2. If you delete label for particular store then admin label will be displayed.</li></ol></td>
92
  </tr>
93
  <tr>
94
+ <td class="label"><?php echo $this->__('Select Attribute Code')?> <span class="required">*</span></td>
95
  <td class="input-ele"> <select class="required-entry" name="attribute_id" id="attribute_id">
96
  <?php foreach($combinedarr as $arratt){?>
97
  <option value="<?php echo $arratt['value']?>" <?php echo $arratt['value']==$attribute_id ?'selected=selected':''?>><?php echo $arratt['label']?></option>
100
  </td>
101
  </tr>
102
  <tr>
103
+ <td class="label"><?php echo $this->__('Select Store')?> <span class="required">*</span></td>
104
  <td class="input-ele"> <select name="store_id" id="store_id" class="required-entry">
105
  <option value="">---Select Store---</option>
106
  <?php foreach($Website as $Websitename){?>
116
  {
117
  ?>
118
  <optgroup style="padding-left: 16px;" label="<?php echo $storegroupname['name']; $arr=$storegroupname['name'];?>">
119
+ <?php }?>
120
  <option style="" value="<?php echo $Storename['store_id']?>" <?php echo $Storename['store_id']==$store_id ?'selected=selected':' '?>><?php echo $Storename['name']?></option>
121
  <?php }?></optgroup>
122
  <?php }?>
124
  </td>
125
  </tr>
126
  <tr>
127
+ <td class="label"><?php echo $this->__('Search Label')?> <span class="required">*</span></td>
128
  <td class="input-ele"><input class="required-entry" value="<?php echo htmlentities($searchlabel)?>" name="search_attribute" id="search_attribute" /></td>
129
  </tr>
130
  </table>
138
  ?>
139
  <table cellspacing="0" width="100%">
140
  <tr>
141
+ <td class="label" height="20px" style="padding-top:10px;padding-bottom:10px"><span class="required"><?php echo $this->__('Search Result')?></span></td>
142
  </tr>
143
 
144
  </table>
156
  if($rowcount>0)
157
  {?>
158
  <tr>
159
+ <td class="label"><strong><?php echo $this->__('Label Value')?></strong></td>
160
+ <td class="label"><strong><?php echo $this->__('Action')?></strong></td>
161
 
162
  </tr>
163
  <?php foreach($datavalues as $val)
164
  {?>
165
  <tr>
166
+ <td class="label"><?php echo $this->__($val['value'])?></td>
167
  <td align="left">
168
  <button id="del<?php echo $val['value_id']?>" class="delete delete-option" type="button" onclick="del(<?php echo $val['value_id']?>,<?php echo $val['option_id']?>)"><span>Mark for Deletion</span></button>
169
  </td>
174
  if($rowcount==0)
175
  {?>
176
  <tr>
177
+ <td class="label"><?php echo $this->__('No Result Found')?></td>
178
  </tr>
179
  <?php }
180
  ?>
package.xml CHANGED
@@ -1,18 +1,18 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Quick_Action_Attribute_Values_or_Labels</name>
4
- <version>1.6.1</version>
5
  <stability>stable</stability>
6
  <license>OSL v3.0</license>
7
  <channel>community</channel>
8
  <extends/>
9
  <summary>Extension to add Attribute Labels by CueBlocks.com</summary>
10
  <description>This extension has been developed by CueBlocks.com to add attirbute labels.</description>
11
- <notes>This extension will allow you to add/delete/search attribute labels</notes>
12
- <authors><author><name>Francesco Magazzu</name><user>CueBlocks</user><email>pancham@cueblocks.com</email></author></authors>
13
- <date>2012-06-01</date>
14
- <time>11:18:46</time>
15
- <contents><target name="mageetc"><dir name="modules"><file name="CueBlocks_Cueattributevalue.xml" hash="cb17491c5aa5bbfc667d2e7f51e4dccc"/></dir></target><target name="magecommunity"><dir name="CueBlocks"><dir name="Cueattributevalue"><dir name="Block"><dir name="Adminhtml"><dir name="Cueattributevalue"><dir name="Edit"><file name="Tabs.php" hash="b89d1728f3278570482018e38d61ea6d"/></dir><file name="Edit.php" hash="f2359d3c38452d13ffba9e8a7edf6f37"/></dir><file name="Cueattributevalue.php" hash="d1ca33e7e6982c5db7ace22f710f5891"/><dir name="Cueattributevaluedelete"><dir name="Edit"><file name="Tabs.php" hash="37b4a58b4695856082601d6f1ff3a5dc"/></dir><file name="Edit.php" hash="f9f8d25b2a9afacbce9055606e632655"/></dir><file name="Cueattributevaluedelete.php" hash="61968ece63443aacf0650732c3f9ff60"/></dir></dir><dir name="Helper"><file name="Data.php" hash="6a7bde10d6391609249973c57b714190"/></dir><dir name="controllers"><dir name="Adminhtml"><file name="CueattributevalueController.php" hash="0157c3970d8fcc18e46bab8d0cbf26fd"/><file name="CueattributevaluedeleteController.php" hash="9b5c76f95c62be5ba14298ef5f2eaa02"/></dir></dir><dir name="etc"><file name="adminhtml.xml" hash="7a7bde1e2cbdd9be2cf18ecc2bd6a719"/><file name="config.xml" hash="4f9f4653324ff56d89185e9d3c04ae64"/></dir></dir></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="cueattributevalue.xml" hash="ebd121a86dd52d488a451cff03f84f49"/></dir><dir name="template"><dir name="cueattributevalue"><file name="cueattributevalueadd.phtml" hash="9ae67746c070fa1ead699e5ea35c58dc"/><file name="cueattributevaluedelete.phtml" hash="c111c4f13d8430248b7fcda9c7a96233"/></dir></dir></dir></dir></dir></target></contents>
16
  <compatible/>
17
  <dependencies><required><php><min>5.0.0</min><max>6.0.0</max></php></required></dependencies>
18
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Quick_Action_Attribute_Values_or_Labels</name>
4
+ <version>1.6.2</version>
5
  <stability>stable</stability>
6
  <license>OSL v3.0</license>
7
  <channel>community</channel>
8
  <extends/>
9
  <summary>Extension to add Attribute Labels by CueBlocks.com</summary>
10
  <description>This extension has been developed by CueBlocks.com to add attirbute labels.</description>
11
+ <notes>Compatibility with patch SUPEE-6788</notes>
12
+ <authors><author><name>CueBlocks</name><user>Riti</user><email>riti.gulati@cueblocks.com</email></author></authors>
13
+ <date>2015-11-19</date>
14
+ <time>07:56:06</time>
15
+ <contents><target name="mageetc"><dir name="modules"><file name="CueBlocks_Cueattributevalue.xml" hash="cb17491c5aa5bbfc667d2e7f51e4dccc"/></dir></target><target name="magecommunity"><dir name="CueBlocks"><dir name="Cueattributevalue"><dir name="Block"><dir name="Adminhtml"><dir name="Cueattributevalue"><dir name="Edit"><file name="Tabs.php" hash="b89d1728f3278570482018e38d61ea6d"/></dir><file name="Edit.php" hash="f2359d3c38452d13ffba9e8a7edf6f37"/></dir><file name="Cueattributevalue.php" hash="d1ca33e7e6982c5db7ace22f710f5891"/><dir name="Cueattributevaluedelete"><dir name="Edit"><file name="Tabs.php" hash="37b4a58b4695856082601d6f1ff3a5dc"/></dir><file name="Edit.php" hash="f9f8d25b2a9afacbce9055606e632655"/></dir><file name="Cueattributevaluedelete.php" hash="61968ece63443aacf0650732c3f9ff60"/></dir></dir><dir name="Helper"><file name="Data.php" hash="6a7bde10d6391609249973c57b714190"/></dir><dir name="controllers"><dir name="Adminhtml"><file name="CueattributevalueController.php" hash="0157c3970d8fcc18e46bab8d0cbf26fd"/><file name="CueattributevaluedeleteController.php" hash="9b5c76f95c62be5ba14298ef5f2eaa02"/></dir></dir><dir name="etc"><file name="adminhtml.xml" hash="0aecd20278902959dde3f44052a6b616"/><file name="config.xml" hash="a8d2b05aafaac68d7a330d76359f9c72"/></dir></dir></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="cueattributevalue.xml" hash="9270649436dc3a1c44c8ed5fcdf7eb98"/></dir><dir name="template"><dir name="cueattributevalue"><file name="cueattributevalueadd.phtml" hash="90b5779ddc153430b5112a7db48fa603"/><file name="cueattributevaluedelete.phtml" hash="9fd19aaf6b042677a3d6a8c673e8ec9f"/></dir></dir></dir></dir></dir></target></contents>
16
  <compatible/>
17
  <dependencies><required><php><min>5.0.0</min><max>6.0.0</max></php></required></dependencies>
18
  </package>