Version Notes
Added productlisting includes image, link and price, too.
Consider table prefix getting subscribers, too.
Download this release
Release Info
Developer | SK |
Extension | Rapidmail_RMConnect |
Version | 1.2.0 |
Comparing to | |
See all releases |
Code changes from version 1.1.0 to 1.2.0
app/code/local/Rapidmail/RMConnect/Model/Newsletter/Api/V2.php
CHANGED
@@ -21,7 +21,7 @@ class Rapidmail_RMConnect_Model_Newsletter_Api_V2 extends Mage_Api_Model_Resourc
|
|
21 |
$resource = Mage::getSingleton('core/resource');
|
22 |
|
23 |
// Get subscribers
|
24 |
-
$results = $resource->getConnection('core_read')->fetchAll('SELECT * FROM
|
25 |
|
26 |
return (array)$results;
|
27 |
|
@@ -43,7 +43,7 @@ class Rapidmail_RMConnect_Model_Newsletter_Api_V2 extends Mage_Api_Model_Resourc
|
|
43 |
$db = $resource->getConnection('core_write');
|
44 |
|
45 |
// Get subscriber
|
46 |
-
$subscriber = $db->fetchRow('SELECT * FROM ' . $resource->getTableName('newsletter/subscriber') . ' WHERE subscriber_email =
|
47 |
|
48 |
if (!$subscriber) {
|
49 |
return 404;
|
21 |
$resource = Mage::getSingleton('core/resource');
|
22 |
|
23 |
// Get subscribers
|
24 |
+
$results = $resource->getConnection('core_read')->fetchAll('SELECT * FROM ' . $resource->getTableName('newsletter/subscriber'));
|
25 |
|
26 |
return (array)$results;
|
27 |
|
43 |
$db = $resource->getConnection('core_write');
|
44 |
|
45 |
// Get subscriber
|
46 |
+
$subscriber = $db->fetchRow('SELECT * FROM ' . $resource->getTableName('newsletter/subscriber') . ' WHERE subscriber_email = ' . $db->quote($email) . ' LIMIT 1');
|
47 |
|
48 |
if (!$subscriber) {
|
49 |
return 404;
|
package.xml
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Rapidmail_RMConnect</name>
|
4 |
-
<version>1.
|
5 |
<stability>stable</stability>
|
6 |
<license>GPL</license>
|
7 |
<channel>community</channel>
|
@@ -12,11 +12,13 @@
|
|
12 |
<p>Get the extension key and install the rapidmail Connector.<br />
|
13 |
Also take a look at the <a href="http://doc.rapidmail.net/pages/viewpage.action?pageId=655730">rapidmail user manual</a>
|
14 |
</p></description>
|
15 |
-
<notes>Added productlisting includes image, link and price, too
|
|
|
|
|
16 |
<authors><author><name>SK</name><user>auto-generated</user><email>support@rapidmail.de</email></author></authors>
|
17 |
-
<date>2014-
|
18 |
-
<time>
|
19 |
-
<contents><target name="magelocal"><dir name="Rapidmail"><dir name="RMConnect"><dir name="Model"><dir name="Catalog"><dir name="Api"><file name="V2.php" hash="f12dc4f9e5627493a55fb9d5ee90ee50"/></dir><file name="Api.php" hash="78966a1f4415bbd81f70c6934995298b"/></dir><dir name="Newsletter"><dir name="Api"><file name="V2.php" hash="
|
20 |
<compatible/>
|
21 |
<dependencies><required><php><min>5.3.0</min><max>6.0.0.</max></php></required></dependencies>
|
22 |
</package>
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Rapidmail_RMConnect</name>
|
4 |
+
<version>1.2.0</version>
|
5 |
<stability>stable</stability>
|
6 |
<license>GPL</license>
|
7 |
<channel>community</channel>
|
12 |
<p>Get the extension key and install the rapidmail Connector.<br />
|
13 |
Also take a look at the <a href="http://doc.rapidmail.net/pages/viewpage.action?pageId=655730">rapidmail user manual</a>
|
14 |
</p></description>
|
15 |
+
<notes>Added productlisting includes image, link and price, too.
|
16 |
+

|
17 |
+
Consider table prefix getting subscribers, too.</notes>
|
18 |
<authors><author><name>SK</name><user>auto-generated</user><email>support@rapidmail.de</email></author></authors>
|
19 |
+
<date>2014-03-07</date>
|
20 |
+
<time>11:23:49</time>
|
21 |
+
<contents><target name="magelocal"><dir name="Rapidmail"><dir name="RMConnect"><dir name="Model"><dir name="Catalog"><dir name="Api"><file name="V2.php" hash="f12dc4f9e5627493a55fb9d5ee90ee50"/></dir><file name="Api.php" hash="78966a1f4415bbd81f70c6934995298b"/></dir><dir name="Newsletter"><dir name="Api"><file name="V2.php" hash="7d3a9335b48ae157046243e427cb745e"/></dir><file name="Api.php" hash="d08bb077ebad4060e1539f9fb5adf6e8"/></dir></dir><dir name="etc"><file name="api.xml" hash="016e75b9ec1b65e1facba373edadc0f1"/><file name="config.xml" hash="df1398c1f6bee0682ca128be496b33bb"/><file name="wsdl.xml" hash="b95cf8246a21ecf7289fd21f8b1ea805"/></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Rapidmail_RMConnect.xml" hash="b38e11f35fa67bc12931927ae58dc8da"/></dir></target></contents>
|
22 |
<compatible/>
|
23 |
<dependencies><required><php><min>5.3.0</min><max>6.0.0.</max></php></required></dependencies>
|
24 |
</package>
|