ajaxified_product_edit - Version 0.1.0.4

Version Notes

This module will help you manage the product attributes.

Download this release

Release Info

Developer Marcin Frymark
Extension ajaxified_product_edit
Version 0.1.0.4
Comparing to
See all releases


Code changes from version 0.1.0.3 to 0.1.0.4

app/code/community/Alekseon/AjaxifiedProductEdit/Helper/Data.php CHANGED
@@ -10,6 +10,11 @@
10
  protected $_currentGridView;
11
  protected $_currentGridViewsCollection;
12
 
 
 
 
 
 
13
  public function getAlekseonUrl()
14
  {
15
  return 'http://www.alekseon.com';
10
  protected $_currentGridView;
11
  protected $_currentGridViewsCollection;
12
 
13
+ public function getAlekseonEmail()
14
+ {
15
+ return 'contact@alekseon.com';
16
+ }
17
+
18
  public function getAlekseonUrl()
19
  {
20
  return 'http://www.alekseon.com';
app/code/community/Alekseon/AjaxifiedProductEdit/controllers/Adminhtml/AjaxifiedProductEditController.php CHANGED
@@ -35,7 +35,7 @@ class Alekseon_AjaxifiedProductEdit_Adminhtml_AjaxifiedProductEditController ext
35
  if (!Mage::helper('alekseon_ajaxifiedProductEdit')->getAvailableGridViews()->count()) {
36
  if (Mage::getSingleton('admin/session')->isAllowed('system/alekseon_ajaxifiedProductEdit/managegridviews')) {
37
  $url = $this->getUrl('*/ajaxifiedProductEdit_manageGridViews/');
38
- $alekseonEmail = Mage::helper('alekseon_core')->getAlekseonEmail();
39
  $errorMessage = Mage::helper('alekseon_ajaxifiedProductEdit')->__("Ajaxified Product Edit is unavailable, please edit your <a href=\"%s\">Grid Views</a> or contact with support <a href=\"mailto:%s\">%s</a>.", $url, $alekseonEmail, $alekseonEmail);
40
  } else {
41
  $errorMessage = Mage::helper('alekseon_ajaxifiedProductEdit')->__('Ajaxified Product Edit is unavailable, please contact with administrator.');
35
  if (!Mage::helper('alekseon_ajaxifiedProductEdit')->getAvailableGridViews()->count()) {
36
  if (Mage::getSingleton('admin/session')->isAllowed('system/alekseon_ajaxifiedProductEdit/managegridviews')) {
37
  $url = $this->getUrl('*/ajaxifiedProductEdit_manageGridViews/');
38
+ $alekseonEmail = Mage::helper('alekseon_ajaxifiedProductEdit')->getAlekseonEmail();
39
  $errorMessage = Mage::helper('alekseon_ajaxifiedProductEdit')->__("Ajaxified Product Edit is unavailable, please edit your <a href=\"%s\">Grid Views</a> or contact with support <a href=\"mailto:%s\">%s</a>.", $url, $alekseonEmail, $alekseonEmail);
40
  } else {
41
  $errorMessage = Mage::helper('alekseon_ajaxifiedProductEdit')->__('Ajaxified Product Edit is unavailable, please contact with administrator.');
app/code/community/Alekseon/AjaxifiedProductEdit/etc/system.xml CHANGED
@@ -60,7 +60,7 @@
60
  <last_update translate="label">
61
  <label>Last Update</label>
62
  <frontend_type>label</frontend_type>
63
- <frontend_model>adminhtml/system_config_form_field_notification</frontend_model>
64
  <sort_order>30</sort_order>
65
  <show_in_default>1</show_in_default>
66
  <show_in_website>0</show_in_website>
60
  <last_update translate="label">
61
  <label>Last Update</label>
62
  <frontend_type>label</frontend_type>
63
+ <frontend_model>alekseon_ajaxifiedProductEdit/adminhtml_system_config_form_field_alekseonNotification</frontend_model>
64
  <sort_order>30</sort_order>
65
  <show_in_default>1</show_in_default>
66
  <show_in_website>0</show_in_website>
app/design/adminhtml/default/default/template/alekseon/cronTasks/runTask.phtml DELETED
@@ -1,30 +0,0 @@
1
- <?php
2
- /**
3
- * @author Marcin Frymark
4
- * @email contact@alekseon.com
5
- * @company Alekseon
6
- * @website www.alekseon.com
7
- */
8
- ?>
9
- <select id="run_cron_task_code">
10
- <option value=""> --- <?php echo $this->__('Select Cron Task') ?> --- </option>
11
- <?php foreach($this->getCronJonsList() as $code): ?>
12
- <option value="<?php echo $code ?>"><?php echo $code ?></option>
13
- <?php endforeach ?>
14
- </select>
15
- <?php echo $this->getRunButtonHtml() ?>
16
- <br />
17
- <br />
18
- <iframe id="runTask_iframe" src="" frameborder=0 style="width:100%; height:500px;"></iframe>
19
- <script type="text/javascript">
20
- function runTask()
21
- {
22
- var taskCode = $('run_cron_task_code').value;
23
- if (taskCode) {
24
- var url = '<?php echo $this->getRunTaskUrl() ?>' + '?taskcode=' + taskCode;
25
- $('runTask_iframe').src = url;
26
- } else {
27
- alert("<?php echo $this->__('Please Select Cron Task.') ?>");
28
- }
29
- }
30
- </script>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/design/adminhtml/default/default/template/alekseon/modulesConflictDetector/explanations.phtml DELETED
@@ -1,9 +0,0 @@
1
- <div class="box box-right">
2
- <b><?php echo $this->__('Rewrites Explanations:') ?></b>
3
- <ul class="note-list">
4
- <li><span style="color:<?php echo $this->getNoConflictColor() ?>"><?php echo $this->__('Green class name') ?></span> <?php echo $this->__('means that this class is currently using instead of initial class.') ?></li>
5
- <li><span style="color:<?php echo $this->getConflictResolvedColor() ?>"><?php echo $this->__('Gray class name') ?></span> <?php echo $this->__('means that currently used class (\'green one\') extends this class.') ?></li>
6
- <li><span style="color:<?php echo $this->getConflictColor() ?>"><?php echo $this->__('Red class name') ?></span> <?php echo $this->__('means that probably there is conflict, initial class has been overwrited by this class, but this class is not used. You should check if this class doesn\'t contain any important methods or changes, which should be used.') ?></li>
7
- </ul>
8
- </div>
9
- <div class="clear"></div>
 
 
 
 
 
 
 
 
 
package.xml CHANGED
@@ -1,20 +1,18 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>ajaxified_product_edit</name>
4
- <version>0.1.0.3</version>
5
  <stability>stable</stability>
6
  <license uri="http://www.opensource.org/licenses/osl-3.0.php">OSL v3.0</license>
7
  <channel>community</channel>
8
  <extends/>
9
  <summary>This module will help you manage the product attributes.</summary>
10
- <description>This module will help you manage the product attributes. Edit values of your product attributes just from grid view and save them by ajax, without reloading page.&#xD;
11
- &#xD;
12
- You can create several grid views with different attributes, and manage acces to them for specific user groups.</description>
13
  <notes>This module will help you manage the product attributes.</notes>
14
  <authors><author><name>Marcin Frymark</name><user>Alekseon</user><email>contact@alekseon.com</email></author></authors>
15
- <date>2014-03-18</date>
16
- <time>16:55:39</time>
17
- <contents><target name="magecommunity"><dir name="Alekseon"><dir name="AjaxifiedProductEdit"><dir><dir name="Block"><dir name="Adminhtml"><dir name="GridView"><dir name="Grid"><dir name="Renderer"><file name="Input.php" hash="76d280c9180820166361143f057fabce"/><file name="SaveButton.php" hash="881214c7b1f657d976c9692231567f05"/></dir></dir><file name="Grid.php" hash="a511a4652fa31f2b15f71cc6b14bf6fb"/><dir name="Manager"><dir name="Edit"><file name="Form.php" hash="5a607b626d7aea903f9bbeca066d0803"/><dir name="Tabs"><file name="General.php" hash="baa7871b27568f2bb8f6f8914aee0dd8"/><dir name="ManageColumns"><file name="Attributes.php" hash="5a2e20af80d8171174da915228c3a932"/></dir><file name="ManageColumns.php" hash="36fbd89f31f2ca5e4f5198c329b513ac"/></dir><file name="Tabs.php" hash="9ad143b7b77e307b95f30b87c4e20af1"/></dir><file name="Edit.php" hash="2cc5679f87e5c63b6196898b0cdcd81e"/><file name="Grid.php" hash="6ce65a1fe5f5e6c9b47f926c1d130fe8"/></dir><file name="Manager.php" hash="6f93b82e166d0e65b4b279a25c3958cc"/></dir><file name="GridView.php" hash="dca5276d52cd0f23af91fc4ecd72c236"/><file name="GridViewSwitcher.php" hash="01f6c060326f05ddbf5d566d81a14dd6"/><dir name="Store"><file name="Switcher.php" hash="90287308aeda8573a39b8cff0677e084"/></dir><dir name="System"><dir name="Config"><dir name="Form"><dir name="Field"><file name="AlekseonLogo.php" hash="2d37ae3ae541c76cf51c8b2715f9780d"/><file name="AlekseonNotification.php" hash="b84660a0e2fe32f44744b93ff6cb1ae1"/><file name="ManageGridViewsButton.php" hash="7ffe45be1540f827c0223e322404dba2"/></dir></dir></dir></dir></dir></dir><dir name="Helper"><file name="Data.php" hash="379c67bccdeb129afda9cc30b9c68aa0"/></dir><dir name="Model"><dir name="AlekseonAdminNotification"><file name="Feed.php" hash="c7379e4b4b86c0f6a95dbf38df7232b5"/><file name="Observer.php" hash="9e6aab48c6c57254ad304e7d4053fe8e"/></dir><file name="GridView.php" hash="8486fc0283216f3cbba04275d3dff67f"/><dir name="Resource"><dir name="GridView"><dir name="Attribute"><file name="Collection.php" hash="e81a0072797932cb0e68e1458f2e057a"/></dir><file name="Collection.php" hash="103a52eb43697774f4b4a1a7948ac20a"/></dir><file name="GridView.php" hash="d5f19460fd18a8292848eb974ee67b4b"/></dir><dir name="System"><dir name="Config"><dir name="Backend"><file name="Cache.php" hash="8e3b12fe3a60e4fa2be4d0e3c956fcdf"/></dir><dir name="Source"><file name="ProductAttributes.php" hash="6d685822dd377e403ff9b35f8107c63d"/><file name="UserRole.php" hash="68411f383ed71b48452bac3f575a35dc"/></dir></dir></dir></dir><dir name="controllers"><dir name="Adminhtml"><dir name="AjaxifiedProductEdit"><file name="ManageGridViewsController.php" hash="40388bf41d0885b7650a37949556fba3"/></dir><file name="AjaxifiedProductEditController.php" hash="c59b4c7035e744f1addf49b9182c086d"/></dir></dir><dir name="etc"><file name="adminhtml.xml" hash="50a707a1fc35b129b67f1e124fdb9ade"/><file name="config.xml" hash="c67046dddd6f6acb0d6f0fcca24b9092"/><file name="logging.xml" hash="2876868df1ebedfd3f7fe773fdbed0c0"/><file name="system.xml" hash="8c2936670ca3e73139babdc1c880af8f"/></dir><dir name="sql"><dir name="alekseon_ajaxifiedproductedit_setup"><file name="mysql4-install-0.1.0.php" hash="fe315b9f9c6a75439bfc1d164e07f39b"/></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Alekseon_AjaxifiedProductEdit.xml" hash="f651f22f2378cddd5fccdba04c6fd758"/></dir></target><target name="mageskin"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="js"><dir name="alekseon"><file name="ajaxifiedProductEdit.js" hash="5a111780b3e03327972e2b6826178dbd"/></dir></dir></dir></dir></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><dir name="alekseon"><file name="ajaxifiedProductEdit.xml" hash="3cbe92362cc6f89f35915ebc85cc893a"/></dir></dir><dir name="template"><dir name="alekseon"><dir><dir name="ajaxifiedProductEdit"><dir name="grid"><dir name="input"><file name="boolean.phtml" hash="3f473d5ba3a7a91c9cb2901267b0fb87"/><file name="date.phtml" hash="e7d702354ec4d129928ae66acd3a905a"/><file name="hidden.phtml" hash="f9c98f36fa00488c1ea671b219023557"/><file name="multiselect.phtml" hash="7d634e663647cc313c6ac3becba4281c"/><file name="price.phtml" hash="34c4ee0a56a5ff069ec42d538fea74f3"/><file name="save.phtml" hash="2023ca4a0f48a6ca83d9799bed134e64"/><file name="select.phtml" hash="3f473d5ba3a7a91c9cb2901267b0fb87"/><file name="text.phtml" hash="ca59e8eaa2ed388152a3be547ed7f023"/><file name="textarea.phtml" hash="c8788dd3b628c5ef8cdb0faf6581e9ce"/><file name="usedefault.phtml" hash="82f478a8aba513dab232740abc32c731"/></dir></dir><file name="gridView.phtml" hash="540624c3b84074dce7085eab4719ce98"/><file name="gridViewSwitcher.phtml" hash="2269d77a164d46f59c5567235814882d"/><dir name="store"><file name="switcher.phtml" hash="03c8037a7915b663814419842095473f"/></dir></dir><dir name="cronTasks"><file name="runTask.phtml" hash="f93c1b8516b08b8ce8d8a5a955ad2130"/></dir><dir name="modulesConflictDetector"><file name="explanations.phtml" hash="08128e718d3295f8be873056f8816b9d"/></dir></dir></dir></dir></dir></dir></dir></target></contents>
18
  <compatible/>
19
  <dependencies><required><php><min>5.3.0</min><max>6.0.0</max></php></required></dependencies>
20
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>ajaxified_product_edit</name>
4
+ <version>0.1.0.4</version>
5
  <stability>stable</stability>
6
  <license uri="http://www.opensource.org/licenses/osl-3.0.php">OSL v3.0</license>
7
  <channel>community</channel>
8
  <extends/>
9
  <summary>This module will help you manage the product attributes.</summary>
10
+ <description>This module will help you manage the product attributes.</description>
 
 
11
  <notes>This module will help you manage the product attributes.</notes>
12
  <authors><author><name>Marcin Frymark</name><user>Alekseon</user><email>contact@alekseon.com</email></author></authors>
13
+ <date>2014-04-03</date>
14
+ <time>14:39:03</time>
15
+ <contents><target name="magecommunity"><dir name="Alekseon"><dir name="AjaxifiedProductEdit"><dir><dir name="Block"><dir name="Adminhtml"><dir name="GridView"><dir name="Grid"><dir name="Renderer"><file name="Input.php" hash="76d280c9180820166361143f057fabce"/><file name="SaveButton.php" hash="881214c7b1f657d976c9692231567f05"/></dir></dir><file name="Grid.php" hash="a511a4652fa31f2b15f71cc6b14bf6fb"/><dir name="Manager"><dir name="Edit"><file name="Form.php" hash="5a607b626d7aea903f9bbeca066d0803"/><dir name="Tabs"><file name="General.php" hash="baa7871b27568f2bb8f6f8914aee0dd8"/><dir name="ManageColumns"><file name="Attributes.php" hash="5a2e20af80d8171174da915228c3a932"/></dir><file name="ManageColumns.php" hash="36fbd89f31f2ca5e4f5198c329b513ac"/></dir><file name="Tabs.php" hash="9ad143b7b77e307b95f30b87c4e20af1"/></dir><file name="Edit.php" hash="2cc5679f87e5c63b6196898b0cdcd81e"/><file name="Grid.php" hash="6ce65a1fe5f5e6c9b47f926c1d130fe8"/></dir><file name="Manager.php" hash="6f93b82e166d0e65b4b279a25c3958cc"/></dir><file name="GridView.php" hash="dca5276d52cd0f23af91fc4ecd72c236"/><file name="GridViewSwitcher.php" hash="01f6c060326f05ddbf5d566d81a14dd6"/><dir name="Store"><file name="Switcher.php" hash="90287308aeda8573a39b8cff0677e084"/></dir><dir name="System"><dir name="Config"><dir name="Form"><dir name="Field"><file name="AlekseonLogo.php" hash="2d37ae3ae541c76cf51c8b2715f9780d"/><file name="AlekseonNotification.php" hash="b84660a0e2fe32f44744b93ff6cb1ae1"/><file name="ManageGridViewsButton.php" hash="7ffe45be1540f827c0223e322404dba2"/></dir></dir></dir></dir></dir></dir><dir name="Helper"><file name="Data.php" hash="8355d698c9eadb35859d9df482361718"/></dir><dir name="Model"><dir name="AlekseonAdminNotification"><file name="Feed.php" hash="c7379e4b4b86c0f6a95dbf38df7232b5"/><file name="Observer.php" hash="9e6aab48c6c57254ad304e7d4053fe8e"/></dir><file name="GridView.php" hash="8486fc0283216f3cbba04275d3dff67f"/><dir name="Resource"><dir name="GridView"><dir name="Attribute"><file name="Collection.php" hash="e81a0072797932cb0e68e1458f2e057a"/></dir><file name="Collection.php" hash="103a52eb43697774f4b4a1a7948ac20a"/></dir><file name="GridView.php" hash="d5f19460fd18a8292848eb974ee67b4b"/></dir><dir name="System"><dir name="Config"><dir name="Backend"><file name="Cache.php" hash="8e3b12fe3a60e4fa2be4d0e3c956fcdf"/></dir><dir name="Source"><file name="ProductAttributes.php" hash="6d685822dd377e403ff9b35f8107c63d"/><file name="UserRole.php" hash="68411f383ed71b48452bac3f575a35dc"/></dir></dir></dir></dir><dir name="controllers"><dir name="Adminhtml"><dir name="AjaxifiedProductEdit"><file name="ManageGridViewsController.php" hash="40388bf41d0885b7650a37949556fba3"/></dir><file name="AjaxifiedProductEditController.php" hash="ef16fd76927a6d5209318e25f2e6a8ce"/></dir></dir><dir name="etc"><file name="adminhtml.xml" hash="50a707a1fc35b129b67f1e124fdb9ade"/><file name="config.xml" hash="c67046dddd6f6acb0d6f0fcca24b9092"/><file name="logging.xml" hash="2876868df1ebedfd3f7fe773fdbed0c0"/><file name="system.xml" hash="3eb71b428a0ce0e1d352538d6d4a642c"/></dir><dir name="sql"><dir name="alekseon_ajaxifiedproductedit_setup"><file name="mysql4-install-0.1.0.php" hash="fe315b9f9c6a75439bfc1d164e07f39b"/></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Alekseon_AjaxifiedProductEdit.xml" hash="f651f22f2378cddd5fccdba04c6fd758"/></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="template"><dir name="alekseon"><dir name="ajaxifiedProductEdit"><dir name="grid"><dir name="input"><file name="boolean.phtml" hash="3f473d5ba3a7a91c9cb2901267b0fb87"/><file name="date.phtml" hash="e7d702354ec4d129928ae66acd3a905a"/><file name="hidden.phtml" hash="f9c98f36fa00488c1ea671b219023557"/><file name="multiselect.phtml" hash="7d634e663647cc313c6ac3becba4281c"/><file name="price.phtml" hash="34c4ee0a56a5ff069ec42d538fea74f3"/><file name="save.phtml" hash="2023ca4a0f48a6ca83d9799bed134e64"/><file name="select.phtml" hash="3f473d5ba3a7a91c9cb2901267b0fb87"/><file name="text.phtml" hash="ca59e8eaa2ed388152a3be547ed7f023"/><file name="textarea.phtml" hash="c8788dd3b628c5ef8cdb0faf6581e9ce"/><file name="usedefault.phtml" hash="82f478a8aba513dab232740abc32c731"/></dir></dir><file name="gridView.phtml" hash="540624c3b84074dce7085eab4719ce98"/><file name="gridViewSwitcher.phtml" hash="2269d77a164d46f59c5567235814882d"/><dir name="store"><file name="switcher.phtml" hash="03c8037a7915b663814419842095473f"/></dir></dir></dir></dir><dir name="layout"><dir name="alekseon"><file name="ajaxifiedProductEdit.xml" hash="3cbe92362cc6f89f35915ebc85cc893a"/></dir></dir></dir></dir></dir></target><target name="mageskin"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="js"><dir name="alekseon"><file name="ajaxifiedProductEdit.js" hash="5a111780b3e03327972e2b6826178dbd"/></dir></dir></dir></dir></dir></target></contents>
16
  <compatible/>
17
  <dependencies><required><php><min>5.3.0</min><max>6.0.0</max></php></required></dependencies>
18
  </package>