Version Notes
Admin layout update for first release
Download this release
Release Info
Developer | Diego Noya |
Extension | doppler |
Version | 0.1.6.1 |
Comparing to | |
See all releases |
Code changes from version 0.1.6 to 0.1.6.1
- app/code/local/MakingSense/Doppler/etc/config.xml +1 -1
- app/design/adminhtml/default/default/template/doppler/form/renderer/fieldset/attributes.phtml +89 -0
- app/design/adminhtml/default/default/template/doppler/form/renderer/fieldset/error.phtml +22 -0
- app/design/adminhtml/default/default/template/doppler/form/testconnection.phtml +17 -0
- app/design/adminhtml/default/default/template/doppler/menu.phtml +86 -0
- app/design/adminhtml/default/default/template/doppler/widget/grid/massaction.phtml +86 -0
- package.xml +5 -5
- skin/adminhtml/default/default/makingsense_doppler/custom.css +34 -0
- skin/adminhtml/default/default/makingsense_doppler/images/nav2_last_li_bg-green.png +0 -0
- skin/adminhtml/default/default/makingsense_doppler/images/nav2_last_li_bg-red.png +0 -0
app/code/local/MakingSense/Doppler/etc/config.xml
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
<config>
|
3 |
<modules>
|
4 |
<MakingSense_Doppler>
|
5 |
-
<version>0.1.6</version>
|
6 |
</MakingSense_Doppler>
|
7 |
</modules>
|
8 |
<admin>
|
2 |
<config>
|
3 |
<modules>
|
4 |
<MakingSense_Doppler>
|
5 |
+
<version>0.1.6.1</version>
|
6 |
</MakingSense_Doppler>
|
7 |
</modules>
|
8 |
<admin>
|
app/design/adminhtml/default/default/template/doppler/form/renderer/fieldset/attributes.phtml
ADDED
@@ -0,0 +1,89 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
$_element = $this->getElement();
|
3 |
+
$_htmlId = $this->getElement()->getHtmlId();
|
4 |
+
$_htmlClass = $this->getElement()->getClass();
|
5 |
+
$_htmlName = $this->getElement()->getName();
|
6 |
+
$values = $this->getValues();
|
7 |
+
$selectedAttributes = $values instanceof Varien_Object && $values->getData('attributes') ? $values->getData('attributes') : array();
|
8 |
+
?>
|
9 |
+
<?php $attributes = $this->getData('index_attributes') ? $this->getData('index_attributes') : array() ?>
|
10 |
+
<?php if ($_element->getFieldsetContainerId()): ?>
|
11 |
+
<div id="<?php echo $_element->getFieldsetContainerId(); ?>">
|
12 |
+
<?php endif; ?>
|
13 |
+
<?php if ($_element->getLegend()): ?>
|
14 |
+
<div class="entry-edit-head">
|
15 |
+
<h4 class="icon-head head-edit-form fieldset-legend"><?php echo $_element->getLegend() ?></h4>
|
16 |
+
<div class="form-buttons"><?php echo $_element->getHeaderBar() ?></div>
|
17 |
+
</div>
|
18 |
+
<?php endif; ?>
|
19 |
+
<?php if (!$_element->getNoContainer()): ?>
|
20 |
+
<div class="fieldset <?php echo $_element->getClass() ?>" id="<?php echo $_element->getHtmlId() ?>">
|
21 |
+
<?php endif; ?>
|
22 |
+
<div class="hor-scroll grid tier">
|
23 |
+
<?php if ($_element->getComment()): ?>
|
24 |
+
<p class="comment"><?php echo $this->escapeHtml($_element->getComment()) ?></p>
|
25 |
+
<?php endif; ?>
|
26 |
+
<?php if ($_element->hasHtmlContent()): ?>
|
27 |
+
<?php echo $_element->getHtmlContent(); ?>
|
28 |
+
<?php else: ?>
|
29 |
+
<table cellspacing="0" class="data border">
|
30 |
+
<thead>
|
31 |
+
<tr class="headings">
|
32 |
+
<th><?php echo $this->__('Attribute') ?></th>
|
33 |
+
<th><?php echo $this->__('Weight') ?></th>
|
34 |
+
<th />
|
35 |
+
</tr>
|
36 |
+
<tr id="<?php echo $_htmlId ?>_add_template" class="template no-display">
|
37 |
+
<td class="no-br">
|
38 |
+
<select disabled="no-template" class="<?php echo $_htmlClass ?> custgroup" name="<?php echo $_htmlName ?>[__index__][attribute]" id="attributes_row___index___attribute">
|
39 |
+
<?php foreach($attributes as $k => $v) : ?>
|
40 |
+
<option value="<?php echo $k ?>"><?php echo $v ?></option>
|
41 |
+
<?php endforeach ?>
|
42 |
+
</select>
|
43 |
+
</td>
|
44 |
+
<td class="no-br">
|
45 |
+
<input disabled="no-template" class="<?php echo $_htmlClass ?> required-entry validate-number validate-digits validate-greater-than-zero" type="text" name="<?php echo $_htmlName ?>[__index__][weight]" value="#{weight}" id="attributes_row___index___weight" />
|
46 |
+
</td>
|
47 |
+
<td class="last"><input type="hidden" name="<?php echo $_htmlName ?>[__index__][delete]" class="delete" disabled="no-template" value="" /><button title="Delete attribute" class="scalable delete icon-btn delete-product-option" onclick="attributesControl.deleteItem(event);return false"><span>Delete</span></button></td>
|
48 |
+
</tr>
|
49 |
+
</thead>
|
50 |
+
<tfoot>
|
51 |
+
<tr>
|
52 |
+
<td></td>
|
53 |
+
<td colspan="3" class="a-right">
|
54 |
+
<button style="" onclick="attributesControl.addItem()" class="scalable add" type="button"><span>Add attribute</span></button>
|
55 |
+
</td>
|
56 |
+
</tr>
|
57 |
+
</tfoot>
|
58 |
+
<tbody id="<?php echo $_htmlId ?>_container">
|
59 |
+
<?php $_index = 0 ?>
|
60 |
+
<?php foreach($selectedAttributes as $sa) : ?>
|
61 |
+
<tr id="<?php echo $_htmlId ?>_add_template" class="template">
|
62 |
+
<td class="no-br">
|
63 |
+
<select class="<?php echo $_htmlClass ?> custgroup" name="<?php echo $_htmlName ?>[<?php echo $_index ?>][attribute]" id="attributes_row_<?php echo $_index ?>_attribute">
|
64 |
+
<?php foreach($attributes as $k => $v) : ?>
|
65 |
+
<option value="<?php echo $k ?>"<?php if($sa['attribute'] == $k) : ?> selected="selected"<?php endif ?>><?php echo $v ?></option>
|
66 |
+
<?php endforeach ?>
|
67 |
+
</select>
|
68 |
+
</td>
|
69 |
+
<td class="no-br">
|
70 |
+
<input class="<?php echo $_htmlClass ?> required-entry validate-number validate-digits validate-greater-than-zero" type="text" name="<?php echo $_htmlName ?>[<?php echo $_index ?>][weight]" value="<?php echo $sa['weight'] ?>" id="attributes_row_<?php echo $_index ?>_weight" />
|
71 |
+
</td>
|
72 |
+
<td class="last"><input type="hidden" name="<?php echo $_htmlName ?>[<?php echo $_index ?>][delete]" class="delete" value="" /><button title="Delete attribute" class="scalable delete icon-btn delete-product-option" onclick="attributesControl.deleteItem(event);return false"><span>Delete</span></button></td>
|
73 |
+
</tr>
|
74 |
+
<?php $_index++ ?>
|
75 |
+
<?php endforeach ?>
|
76 |
+
</tbody>
|
77 |
+
</table>
|
78 |
+
<?php endif; ?>
|
79 |
+
</div>
|
80 |
+
<?php echo $_element->getSubFieldsetHtml() ?>
|
81 |
+
<?php if (!$_element->getNoContainer()): ?>
|
82 |
+
</div>
|
83 |
+
<?php endif; ?>
|
84 |
+
<?php if ($_element->getFieldsetContainerId()): ?>
|
85 |
+
</div>
|
86 |
+
<?php endif; ?>
|
87 |
+
<script type="text/javascript">
|
88 |
+
attributesControl.setCount(<?php echo $_index ?>);
|
89 |
+
</script>
|
app/design/adminhtml/default/default/template/doppler/form/renderer/fieldset/error.phtml
ADDED
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
$_element = $this->getElement();
|
3 |
+
?>
|
4 |
+
<?php if ($_element->getFieldsetContainerId()): ?>
|
5 |
+
<div id="<?php echo $_element->getFieldsetContainerId(); ?>">
|
6 |
+
<?php endif; ?>
|
7 |
+
<?php if ($_element->getLegend()): ?>
|
8 |
+
<div class="entry-edit-head">
|
9 |
+
<h4 class="icon-head head-edit-form fieldset-legend"><?php echo $_element->getLegend() ?></h4>
|
10 |
+
<div class="form-buttons"><?php echo $_element->getHeaderBar() ?></div>
|
11 |
+
</div>
|
12 |
+
<?php endif; ?>
|
13 |
+
<?php if (!$_element->getNoContainer()): ?>
|
14 |
+
<div class="fieldset <?php echo $_element->getClass() ?>" id="<?php echo $_element->getHtmlId() ?>">
|
15 |
+
<?php endif; ?>
|
16 |
+
<span style="color: red;font-weight: bold;"><?php echo $this->__('Some error occurs. Please, retry type selection') ?></span>
|
17 |
+
<?php if (!$_element->getNoContainer()): ?>
|
18 |
+
</div>
|
19 |
+
<?php endif; ?>
|
20 |
+
<?php if ($_element->getFieldsetContainerId()): ?>
|
21 |
+
</div>
|
22 |
+
<?php endif; ?>
|
app/design/adminhtml/default/default/template/doppler/form/testconnection.phtml
ADDED
@@ -0,0 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<div id="test_connection_container">
|
2 |
+
<div>
|
3 |
+
<?php if ($_statusCode = $this->getStatusCode()): ?>
|
4 |
+
<?php if ($_statusCode == '200'): ?>
|
5 |
+
<div style="color: green; font-weight: bold;"><?php echo $this->__('Connection successfully established') ?></div>
|
6 |
+
<?php elseif ($_statusCode == '404'): ?>
|
7 |
+
<div style="color: red; font-weight: bold;"><?php echo $this->__('The Doppler API is not currently available, please try later') ?></div>
|
8 |
+
<?php elseif ($_statusCode == '4040'): ?>
|
9 |
+
<div style="color: red; font-weight: bold;"><?php echo $this->__('The Doppler API is not currently available, please try later') ?></div>
|
10 |
+
<?php else: ?>
|
11 |
+
<div style="color: red; font-weight: bold;"><?php echo $this->__('Your credentials are not valid, please check your username and API key and try again') ?></div>
|
12 |
+
<?php endif ?>
|
13 |
+
<?php else: ?>
|
14 |
+
<div><?php echo $this->__('Please, add your credentials above and save this page to test your API connection') ?></div>
|
15 |
+
<?php endif ?>
|
16 |
+
</div>
|
17 |
+
</div>
|
app/design/adminhtml/default/default/template/doppler/menu.phtml
ADDED
@@ -0,0 +1,86 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-3.0.php
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magento.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* DISCLAIMER
|
16 |
+
*
|
17 |
+
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
+
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magento.com for more information.
|
20 |
+
*
|
21 |
+
* @category design
|
22 |
+
* @package default_default
|
23 |
+
* @copyright Copyright (c) 2006-2015 X.commerce, Inc. (http://www.magento.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
|
28 |
+
<div class="nav-bar">
|
29 |
+
<!-- menu start -->
|
30 |
+
<?php echo $this->getMenuLevel($this->getMenuArray()); ?>
|
31 |
+
<!-- menu end -->
|
32 |
+
|
33 |
+
<a id="page-help-link" href="<?php echo Mage::helper('adminhtml')->getPageHelpUrl() ?>"><?php echo $this->__('Get help for this page') ?></a>
|
34 |
+
<script type="text/javascript">
|
35 |
+
$('page-help-link').target = 'magento_page_help';
|
36 |
+
|
37 |
+
// CUSTOM: Add JS to highlight Doppler "API Connection" menu item based on the connection status
|
38 |
+
|
39 |
+
// Find API Connection menu item
|
40 |
+
var spanTags = document.getElementsByTagName('span');
|
41 |
+
var searchText = '<?php echo $this->__('API Connection') ?>';
|
42 |
+
var found;
|
43 |
+
for (var i = 0; i < spanTags.length; i++) {
|
44 |
+
if (spanTags[i].textContent == searchText) {
|
45 |
+
found = spanTags[i];
|
46 |
+
break;
|
47 |
+
}
|
48 |
+
}
|
49 |
+
spanTags[i].parentElement.style.backgroundColor = 'transparent';
|
50 |
+
|
51 |
+
// Apply red/green background color based on API Connection status
|
52 |
+
<?php if ($_statusCode = $this->getActiveDopplerApi()): ?>
|
53 |
+
<?php if ($_statusCode == '200'): ?>
|
54 |
+
spanTags[i].parentElement.parentElement.style.backgroundImage= "url(<?php echo $this->getSkinUrl('makingsense_doppler/images/nav2_last_li_bg-green.png') ?>)";
|
55 |
+
<?php elseif ($_statusCode == '404'): ?>
|
56 |
+
spanTags[i].parentElement.parentElement.style.backgroundImage= "url(<?php echo $this->getSkinUrl('makingsense_doppler/images/nav2_last_li_bg-red.png') ?>)";
|
57 |
+
<?php elseif ($_statusCode == '4040'): ?>
|
58 |
+
spanTags[i].parentElement.parentElement.style.backgroundImage= "url(<?php echo $this->getSkinUrl('makingsense_doppler/images/nav2_last_li_bg-red.png') ?>)";
|
59 |
+
<?php else: ?>
|
60 |
+
spanTags[i].parentElement.parentElement.style.backgroundImage= "url(<?php echo $this->getSkinUrl('makingsense_doppler/images/nav2_last_li_bg-red.png') ?>)";
|
61 |
+
<?php endif ?>
|
62 |
+
<?php else: ?>
|
63 |
+
spanTags[i].parentElement.parentElement.style.backgroundImage= "url(<?php echo $this->getSkinUrl('makingsense_doppler/images/nav2_last_li_bg-red.png') ?>)";
|
64 |
+
<?php endif ?>
|
65 |
+
|
66 |
+
// Find Default Doppler List menu item
|
67 |
+
searchText = '<?php echo $this->__('Default Doppler List') ?>';
|
68 |
+
found = false;
|
69 |
+
for (i = 0; i < spanTags.length; i++) {
|
70 |
+
if (spanTags[i].textContent == searchText) {
|
71 |
+
found = spanTags[i];
|
72 |
+
break;
|
73 |
+
}
|
74 |
+
}
|
75 |
+
|
76 |
+
spanTags[i].parentElement.style.backgroundColor = 'transparent';
|
77 |
+
|
78 |
+
// Apply red/green background color based on default Doppler list status
|
79 |
+
<?php if (!$this->getDefaultListEnabled()): ?>
|
80 |
+
spanTags[i].parentElement.parentElement.style.backgroundImage= "url(<?php echo $this->getSkinUrl('makingsense_doppler/images/nav2_last_li_bg-red.png') ?>)";
|
81 |
+
<?php else: ?>
|
82 |
+
spanTags[i].parentElement.parentElement.style.backgroundImage= "url(<?php echo $this->getSkinUrl('makingsense_doppler/images/nav2_last_li_bg-green.png') ?>)";
|
83 |
+
<?php endif ?>
|
84 |
+
</script>
|
85 |
+
|
86 |
+
</div>
|
app/design/adminhtml/default/default/template/doppler/widget/grid/massaction.phtml
ADDED
@@ -0,0 +1,86 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-3.0.php
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magento.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* DISCLAIMER
|
16 |
+
*
|
17 |
+
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
+
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magento.com for more information.
|
20 |
+
*
|
21 |
+
* @category design
|
22 |
+
* @package default_default
|
23 |
+
* @copyright Copyright (c) 2006-2015 X.commerce, Inc. (http://www.magento.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
<div id="<?php echo $this->getHtmlId() ?>">
|
28 |
+
<table cellspacing="0" cellpadding="0" class="massaction">
|
29 |
+
<tr>
|
30 |
+
<td><?php if ($this->getUseSelectAll()):?>
|
31 |
+
<a href="#" onclick="return <?php echo $this->getJsObjectName() ?>.selectAll()"><?php echo $this->__('Select All') ?></a>
|
32 |
+
<span class="separator">|</span>
|
33 |
+
<a href="#" onclick="return <?php echo $this->getJsObjectName() ?>.unselectAll()"><?php echo $this->__('Unselect All') ?></a>
|
34 |
+
<span class="separator">|</span>
|
35 |
+
<?php endif; ?>
|
36 |
+
<a href="#" onclick="return <?php echo $this->getJsObjectName() ?>.selectVisible()"><?php echo $this->__('Select Visible') ?></a>
|
37 |
+
<span class="separator">|</span>
|
38 |
+
<a href="#" onclick="return <?php echo $this->getJsObjectName() ?>.unselectVisible()"><?php echo $this->__('Unselect Visible') ?></a>
|
39 |
+
<span class="separator">|</span>
|
40 |
+
<strong id="<?php echo $this->getHtmlId() ?>-count">0</strong> <?php echo $this->__('items selected') ?>
|
41 |
+
</td>
|
42 |
+
<td>
|
43 |
+
<div class="right">
|
44 |
+
<div class="entry-edit">
|
45 |
+
<?php if ($this->getHideFormElement() !== true):?>
|
46 |
+
<form action="" id="<?php echo $this->getHtmlId() ?>-form" method="post">
|
47 |
+
<?php endif ?>
|
48 |
+
<?php echo $this->getBlockHtml('formkey')?>
|
49 |
+
<fieldset>
|
50 |
+
<span class="field-row">
|
51 |
+
<label><?php echo $this->__('Export selected customers to the following Doppler list') ?></label>
|
52 |
+
<select id="<?php echo $this->getHtmlId() ?>-select" class="required-entry select absolute-advice local-validation">
|
53 |
+
<option value=""></option>
|
54 |
+
<?php foreach($this->getItems() as $_item): ?>
|
55 |
+
<option value="<?php echo $_item->getId() ?>"<?php echo ($_item->getSelected() ? ' selected="selected"' : '')?>><?php echo $_item->getLabel() ?></option>
|
56 |
+
<?php endforeach; ?>
|
57 |
+
</select>
|
58 |
+
</span>
|
59 |
+
<span class="outer-span" id="<?php echo $this->getHtmlId() ?>-form-hiddens"></span>
|
60 |
+
<span class="outer-span" id="<?php echo $this->getHtmlId() ?>-form-additional"></span>
|
61 |
+
<span class="field-row">
|
62 |
+
<?php echo $this->getApplyButtonHtml() ?>
|
63 |
+
</span>
|
64 |
+
</fieldset>
|
65 |
+
<?php if ($this->getHideFormElement() !== true):?>
|
66 |
+
</form>
|
67 |
+
<?php endif ?>
|
68 |
+
</div>
|
69 |
+
|
70 |
+
<div class="no-display">
|
71 |
+
<?php foreach($this->getItems() as $_item): ?>
|
72 |
+
<div id="<?php echo $this->getHtmlId() ?>-item-<?php echo $_item->getId() ?>-block">
|
73 |
+
<?php echo $_item->getAdditionalActionBlockHtml() ?>
|
74 |
+
</div>
|
75 |
+
<?php endforeach; ?>
|
76 |
+
</div>
|
77 |
+
</div>
|
78 |
+
</td>
|
79 |
+
</tr>
|
80 |
+
</table>
|
81 |
+
<?php if(!$this->getParentBlock()->canDisplayContainer()): ?>
|
82 |
+
<script type="text/javascript">
|
83 |
+
<?php echo $this->getJsObjectName() ?>.setGridIds('<?php echo $this->getGridIdsJson() ?>');
|
84 |
+
</script>
|
85 |
+
<?php endif; ?>
|
86 |
+
</div>
|
package.xml
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>doppler</name>
|
4 |
-
<version>0.1.6</version>
|
5 |
<stability>stable</stability>
|
6 |
<license>GNU General Public License (GPL)</license>
|
7 |
<channel>community</channel>
|
@@ -9,11 +9,11 @@
|
|
9 |
<summary>Integrate your Magento Ecommerce with the #1 Email Marketing app in Latin America.</summary>
|
10 |
<description>Integrate your Magento Ecommerce with the #1 Email Marketing app in Latin America.
|
11 |
Easily connect your Magento store with Doppler Email Marketing via API. Create and feed Lists with your Subscribers and keep them updated about offers, related products and upcoming events.</description>
|
12 |
-
<notes>
|
13 |
<authors><author><name>Diego Noya</name><user>fromdoppler</user><email>info@fromdoppler.com</email></author></authors>
|
14 |
-
<date>2016-
|
15 |
-
<time>
|
16 |
-
<contents><target name="magelocal"><dir name="MakingSense"><dir name="Doppler"><dir name="Block"><dir name="Adminhtml"><dir name="Defaultlist"><dir name="Edit"><file name="Form.php" hash="275282eaf7cf50d02a0c6bf161f48756"/></dir><file name="Edit.php" hash="dd96f133d719ef8d8f3ad2a8850d739a"/><file name="Grid.php" hash="b4824a36d21fd92a0185c98dfdcd35be"/></dir><file name="Defaultlist.php" hash="e6cc7220c68c7871353f35f357f6c8cd"/><dir name="Leadmap"><dir name="Edit"><file name="Form.php" hash="b035e77fda37069647d85dff8486378e"/></dir><file name="Edit.php" hash="18bceea1de7d0e9d3e8df151128d6366"/><file name="Grid.php" hash="2a4d19f4f8133d5501947358a59edf44"/></dir><file name="Leadmap.php" hash="4be963f6145dd6747025f3f97f935a7e"/><dir name="Lists"><dir name="Edit"><file name="Form.php" hash="f32ee3fb9254e644696d9bbe39d228b0"/></dir><file name="Edit.php" hash="2b4f832f106bf7f216b148cc294c9818"/><file name="Grid.php" hash="83034f4b418ea4db9b8d7cc74784fd34"/></dir><file name="Lists.php" hash="3c7bbbb7bb0dfd605c69cd4d449822c1"/><dir name="Page"><file name="Menu.php" hash="f6084398a4759e5b44a341ea4a31071c"/></dir><dir name="Subscribers"><dir name="Edit"><file name="Form.php" hash="eff1d4c4abb544b57e7c1b2ccba81b37"/></dir><file name="Edit.php" hash="86d0a296798146f1f7b6ab0bf2d97263"/><dir name="Grid"><file name="Massaction.php" hash="eb3bf3252eeaaf6e12d10db8cb367c82"/><dir name="Renderer"><file name="Status.php" hash="24dd5c6f01c6d8cddf1926328b8dfb88"/></dir></dir><file name="Grid.php" hash="3fa03acdec0bedd0fd10b02462f24acb"/></dir><file name="Subscribers.php" hash="848080dce7b3ff4077fe1c9a2a3faec6"/></dir><dir name="System"><dir name="Config"><dir name="Form"><dir name="Fieldset"><dir name="Connection"><file name="Test.php" hash="7f379041cdf908eef0043d62ba83ea61"/></dir></dir></dir></dir></dir></dir><dir name="Helper"><file name="Data.php" hash="e0a6d660915d9812e1cebb3e4dfdc7f9"/></dir><dir name="Model"><file name="Defaultlist.php" hash="dbbd7f25156e5a32b22241a45c4e34de"/><file name="Importtasks.php" hash="b4b74f349b5defbfb7cefb7fcd595816"/><file name="Leadmap.php" hash="77f20672db0a9f087b7ee501ae2ab957"/><file name="Lists.php" hash="e7acb4f6f40d469a35399ac076a8845f"/><file name="Observer.php" hash="caad137fd1a196c4686f460751a6d459"/><dir name="Resource"><dir name="Doppler"><dir name="Defaultlist"><file name="Collection.php" hash="fdf5477e12e45dccbe1dca87e85307a6"/></dir><file name="Defaultlist.php" hash="fed14c6c8d4baf44fb514c8214ff3c0b"/><dir name="Importtasks"><file name="Collection.php" hash="3a5b3b592bc5f797d86179df8bf70124"/></dir><file name="Importtasks.php" hash="96944fd94691352b24cc05525ee3690e"/><dir name="Leadmap"><file name="Collection.php" hash="5842fadb316b297ffbbbfa71809f935d"/></dir><file name="Leadmap.php" hash="6cfa33b1dff95237c6f3c29b04fc154a"/><dir name="Lists"><file name="Collection.php" hash="1f659cdcfc0417df5ff4e15dec3e3490"/></dir><file name="Lists.php" hash="898ccf06c30fdee3cdc431ca73f7b35d"/></dir></dir></dir><dir name="controllers"><dir name="Adminhtml"><file name="DefaultlistController.php" hash="c1d2dbf86beed5540958292fb5e45252"/><file name="LeadmapController.php" hash="1ce2a9da4de566fe115d2d93622f2cb5"/><file name="ListsController.php" hash="d40e66846b7d0f6341e39bdabd054c5a"/><file name="SubscribersController.php" hash="1eefb6432719a2b6385ab47a3a3247c2"/></dir></dir><dir name="etc"><file name="adminhtml.xml" hash="819da510c7c6ac5105ff02be4819c345"/><file name="config.xml" hash="
|
17 |
<compatible/>
|
18 |
<dependencies><required><php><min>5.1.0</min><max>6.0.0</max></php></required></dependencies>
|
19 |
</package>
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>doppler</name>
|
4 |
+
<version>0.1.6.1</version>
|
5 |
<stability>stable</stability>
|
6 |
<license>GNU General Public License (GPL)</license>
|
7 |
<channel>community</channel>
|
9 |
<summary>Integrate your Magento Ecommerce with the #1 Email Marketing app in Latin America.</summary>
|
10 |
<description>Integrate your Magento Ecommerce with the #1 Email Marketing app in Latin America.
|
11 |
Easily connect your Magento store with Doppler Email Marketing via API. Create and feed Lists with your Subscribers and keep them updated about offers, related products and upcoming events.</description>
|
12 |
+
<notes>Admin layout update for first release</notes>
|
13 |
<authors><author><name>Diego Noya</name><user>fromdoppler</user><email>info@fromdoppler.com</email></author></authors>
|
14 |
+
<date>2016-05-06</date>
|
15 |
+
<time>01:32:39</time>
|
16 |
+
<contents><target name="magelocal"><dir name="MakingSense"><dir name="Doppler"><dir name="Block"><dir name="Adminhtml"><dir name="Defaultlist"><dir name="Edit"><file name="Form.php" hash="275282eaf7cf50d02a0c6bf161f48756"/></dir><file name="Edit.php" hash="dd96f133d719ef8d8f3ad2a8850d739a"/><file name="Grid.php" hash="b4824a36d21fd92a0185c98dfdcd35be"/></dir><file name="Defaultlist.php" hash="e6cc7220c68c7871353f35f357f6c8cd"/><dir name="Leadmap"><dir name="Edit"><file name="Form.php" hash="b035e77fda37069647d85dff8486378e"/></dir><file name="Edit.php" hash="18bceea1de7d0e9d3e8df151128d6366"/><file name="Grid.php" hash="2a4d19f4f8133d5501947358a59edf44"/></dir><file name="Leadmap.php" hash="4be963f6145dd6747025f3f97f935a7e"/><dir name="Lists"><dir name="Edit"><file name="Form.php" hash="f32ee3fb9254e644696d9bbe39d228b0"/></dir><file name="Edit.php" hash="2b4f832f106bf7f216b148cc294c9818"/><file name="Grid.php" hash="83034f4b418ea4db9b8d7cc74784fd34"/></dir><file name="Lists.php" hash="3c7bbbb7bb0dfd605c69cd4d449822c1"/><dir name="Page"><file name="Menu.php" hash="f6084398a4759e5b44a341ea4a31071c"/></dir><dir name="Subscribers"><dir name="Edit"><file name="Form.php" hash="eff1d4c4abb544b57e7c1b2ccba81b37"/></dir><file name="Edit.php" hash="86d0a296798146f1f7b6ab0bf2d97263"/><dir name="Grid"><file name="Massaction.php" hash="eb3bf3252eeaaf6e12d10db8cb367c82"/><dir name="Renderer"><file name="Status.php" hash="24dd5c6f01c6d8cddf1926328b8dfb88"/></dir></dir><file name="Grid.php" hash="3fa03acdec0bedd0fd10b02462f24acb"/></dir><file name="Subscribers.php" hash="848080dce7b3ff4077fe1c9a2a3faec6"/></dir><dir name="System"><dir name="Config"><dir name="Form"><dir name="Fieldset"><dir name="Connection"><file name="Test.php" hash="7f379041cdf908eef0043d62ba83ea61"/></dir></dir></dir></dir></dir></dir><dir name="Helper"><file name="Data.php" hash="e0a6d660915d9812e1cebb3e4dfdc7f9"/></dir><dir name="Model"><file name="Defaultlist.php" hash="dbbd7f25156e5a32b22241a45c4e34de"/><file name="Importtasks.php" hash="b4b74f349b5defbfb7cefb7fcd595816"/><file name="Leadmap.php" hash="77f20672db0a9f087b7ee501ae2ab957"/><file name="Lists.php" hash="e7acb4f6f40d469a35399ac076a8845f"/><file name="Observer.php" hash="caad137fd1a196c4686f460751a6d459"/><dir name="Resource"><dir name="Doppler"><dir name="Defaultlist"><file name="Collection.php" hash="fdf5477e12e45dccbe1dca87e85307a6"/></dir><file name="Defaultlist.php" hash="fed14c6c8d4baf44fb514c8214ff3c0b"/><dir name="Importtasks"><file name="Collection.php" hash="3a5b3b592bc5f797d86179df8bf70124"/></dir><file name="Importtasks.php" hash="96944fd94691352b24cc05525ee3690e"/><dir name="Leadmap"><file name="Collection.php" hash="5842fadb316b297ffbbbfa71809f935d"/></dir><file name="Leadmap.php" hash="6cfa33b1dff95237c6f3c29b04fc154a"/><dir name="Lists"><file name="Collection.php" hash="1f659cdcfc0417df5ff4e15dec3e3490"/></dir><file name="Lists.php" hash="898ccf06c30fdee3cdc431ca73f7b35d"/></dir></dir></dir><dir name="controllers"><dir name="Adminhtml"><file name="DefaultlistController.php" hash="c1d2dbf86beed5540958292fb5e45252"/><file name="LeadmapController.php" hash="1ce2a9da4de566fe115d2d93622f2cb5"/><file name="ListsController.php" hash="d40e66846b7d0f6341e39bdabd054c5a"/><file name="SubscribersController.php" hash="1eefb6432719a2b6385ab47a3a3247c2"/></dir></dir><dir name="etc"><file name="adminhtml.xml" hash="819da510c7c6ac5105ff02be4819c345"/><file name="config.xml" hash="4c3cd988a7af7a814490f849f4043fb4"/><file name="system.xml" hash="e0f28e099a1a40671754f33e9e7f1f35"/></dir><dir name="sql"><dir name="makingsense_doppler_setup"><file name="mysql4-install-0.1.0.php" hash="8325a9967a4875fddb598da3bd007087"/><file name="mysql4-upgrade-0.1.0-0.1.1.php" hash="0dc4ca318a0df5c2b47051b6156997e8"/><file name="mysql4-upgrade-0.1.1-0.1.2.php" hash="e46e845f4402ef1de1b11201bb4f3f8b"/><file name="mysql4-upgrade-0.1.2-0.1.3.php" hash="5ac55a4d87d5d0d97c02e09ce6fd64b5"/><file name="mysql4-upgrade-0.1.3-0.1.4.php" hash="01a312a208b4f389e8f2b349fb2f5dca"/><file name="mysql4-upgrade-0.1.4-0.1.5.php" hash="33fa34c98228f4ebd38e71dbde4cf5c8"/><file name="mysql4-upgrade-0.1.5-0.1.6.php" hash="27d72daaae65d2a1d840a8e2336f8045"/></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="MakingSense_Doppler.xml" hash="c2cab7fee09972139d514c6c92e2efd8"/></dir></target><target name="magelocale"><dir><dir name="es_AR"><file name="MakingSense_Doppler.csv" hash="f1932e8149e90954f9514b63fed650f8"/></dir></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="makingsense_doppler.xml" hash="e67494c7f0c90b118589765c5c86bea9"/></dir><dir name="template"><dir name="doppler"><dir name="form"><dir name="renderer"><dir name="fieldset"><file name="attributes.phtml" hash="74196c4f278f9a454d09dbbcf78fae35"/><file name="error.phtml" hash="b42473e304ab6968b1a2ff84aae57c3b"/></dir></dir><file name="testconnection.phtml" hash="05593c43b668849e92aa4bca686925cb"/></dir><file name="menu.phtml" hash="ebc606b908a81ad2e97d744573576032"/><dir name="widget"><dir name="grid"><file name="massaction.phtml" hash="9ba9fbb1fe22a1461bf27264315bb60b"/></dir></dir></dir></dir></dir></dir></dir></target><target name="mageskin"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="makingsense_doppler"><file name="custom.css" hash="ed5ce32e5425f4e9aa2601e2443f3158"/><dir name="images"><file name="nav2_last_li_bg-green.png" hash="e74aa65e1b57d26d4c62f7e7b1ec3f59"/><file name="nav2_last_li_bg-red.png" hash="81aefe9cd15e65b92ce6540f50983b08"/></dir></dir></dir></dir></dir></target></contents>
|
17 |
<compatible/>
|
18 |
<dependencies><required><php><min>5.1.0</min><max>6.0.0</max></php></required></dependencies>
|
19 |
</package>
|
skin/adminhtml/default/default/makingsense_doppler/custom.css
ADDED
@@ -0,0 +1,34 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
.non-editable {
|
2 |
+
background-color: transparent !important;
|
3 |
+
border-width: 0 !important;
|
4 |
+
cursor: default;
|
5 |
+
}
|
6 |
+
|
7 |
+
.adminhtml-subscribers-index button.add span {
|
8 |
+
background-image: url("../images/save_btn_icon.gif");
|
9 |
+
}
|
10 |
+
|
11 |
+
.adminhtml-subscribers-index td.doppler-highlighted {
|
12 |
+
background-color: #FFFCDD;
|
13 |
+
}
|
14 |
+
|
15 |
+
.adminhtml-subscribers-index tr.even td.doppler-highlighted {
|
16 |
+
background-color: #F3F0D3;
|
17 |
+
}
|
18 |
+
|
19 |
+
#makingsense_doppler_defaultlist_grid_table td {
|
20 |
+
vertical-align: middle;
|
21 |
+
padding: 100px;
|
22 |
+
text-align: center;
|
23 |
+
}
|
24 |
+
|
25 |
+
#makingsense_doppler_defaultlist_grid_table td.last {
|
26 |
+
font-weight: bold;
|
27 |
+
}
|
28 |
+
|
29 |
+
#makingsense_doppler_defaultlist_grid_table td {
|
30 |
+
padding: 50px;
|
31 |
+
text-align: center;
|
32 |
+
vertical-align: middle;
|
33 |
+
font-size: 14px;
|
34 |
+
}
|
skin/adminhtml/default/default/makingsense_doppler/images/nav2_last_li_bg-green.png
ADDED
Binary file
|
skin/adminhtml/default/default/makingsense_doppler/images/nav2_last_li_bg-red.png
ADDED
Binary file
|