Tagman_Intellitag - Version 1.0.7

Version Notes

Bug on enterprise version fixed

Download this release

Release Info

Developer Toby Doig
Extension Tagman_Intellitag
Version 1.0.7
Comparing to
See all releases


Code changes from version 1.0.6 to 1.0.7

app/code/community/Tagman/Intellitag/Block/Adminhtml/Variables/Edit/Form.php CHANGED
@@ -69,6 +69,7 @@ class Tagman_Intellitag_Block_Adminhtml_Variables_Edit_Form extends Mage_Adminht
69
  ));
70
 
71
  foreach($laModelsForDropdownList as $tsCurrentModelName){
 
72
  $taPropertiesForDropdownList=null;
73
  $tmCurrentlyLoadedModel = Mage::getModel($tsCurrentModelName);
74
  $tsPropertyIdForHTML=str_replace("/","_",$tsCurrentModelName);
@@ -79,7 +80,7 @@ class Tagman_Intellitag_Block_Adminhtml_Variables_Edit_Form extends Mage_Adminht
79
  $tsFormatedMethodName=substr($tsCurrentMethodName,3,strlen($tsCurrentMethodName));
80
  $toReflectionMethod = new ReflectionMethod(get_class($tmCurrentlyLoadedModel),$tsCurrentMethodName);
81
  $toReflectionParameters = $toReflectionMethod->getParameters();
82
-
83
  //define dynamic methods that shouldn't be displayed
84
  switch($tsCurrentModelName){
85
  case 'catalog/category':
@@ -125,8 +126,8 @@ class Tagman_Intellitag_Block_Adminhtml_Variables_Edit_Form extends Mage_Adminht
125
  break;
126
  case 'array':
127
  $taReturnedArray = $tmCurrentlyLoadedModel->$tsCurrentMethodName();
128
- if(count($taReturnedArray)>0){
129
- switch(gettype($taReturnedArray[0])){
130
  case 'string':
131
  case 'integer':
132
  case 'double':
@@ -224,6 +225,7 @@ class Tagman_Intellitag_Block_Adminhtml_Variables_Edit_Form extends Mage_Adminht
224
 
225
  ));
226
  }
 
227
  if($lmModelFromRegistry->getData('is_static')==2){
228
  $taData=explode("&&",$lmModelFromRegistry->getData('magento_value'));
229
  $tsFieldName=str_replace("/","_",$taData[0]);
69
  ));
70
 
71
  foreach($laModelsForDropdownList as $tsCurrentModelName){
72
+
73
  $taPropertiesForDropdownList=null;
74
  $tmCurrentlyLoadedModel = Mage::getModel($tsCurrentModelName);
75
  $tsPropertyIdForHTML=str_replace("/","_",$tsCurrentModelName);
80
  $tsFormatedMethodName=substr($tsCurrentMethodName,3,strlen($tsCurrentMethodName));
81
  $toReflectionMethod = new ReflectionMethod(get_class($tmCurrentlyLoadedModel),$tsCurrentMethodName);
82
  $toReflectionParameters = $toReflectionMethod->getParameters();
83
+
84
  //define dynamic methods that shouldn't be displayed
85
  switch($tsCurrentModelName){
86
  case 'catalog/category':
126
  break;
127
  case 'array':
128
  $taReturnedArray = $tmCurrentlyLoadedModel->$tsCurrentMethodName();
129
+ if(count($taReturnedArray)>0){
130
+ switch(gettype(reset($taReturnedArray))){
131
  case 'string':
132
  case 'integer':
133
  case 'double':
225
 
226
  ));
227
  }
228
+
229
  if($lmModelFromRegistry->getData('is_static')==2){
230
  $taData=explode("&&",$lmModelFromRegistry->getData('magento_value'));
231
  $tsFieldName=str_replace("/","_",$taData[0]);
app/code/community/Tagman/Intellitag/etc/config.xml CHANGED
@@ -2,7 +2,7 @@
2
  <config>
3
  <modules>
4
  <Tagman_Intellitag>
5
- <version>1.0.6</version>
6
  </Tagman_Intellitag>
7
  </modules>
8
  <global>
2
  <config>
3
  <modules>
4
  <Tagman_Intellitag>
5
+ <version>1.0.7</version>
6
  </Tagman_Intellitag>
7
  </modules>
8
  <global>
app/code/community/Tagman/Intellitag/sql/tagman_intellitag_setup/{mysql4-install-1.0.6.php → mysql4-install-1.0.7.php} RENAMED
File without changes
package.xml CHANGED
@@ -1,18 +1,18 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Tagman_Intellitag</name>
4
- <version>1.0.6</version>
5
  <stability>stable</stability>
6
  <license uri="http://opensource.org/licenses/osl-3.0.php">Open Software License (OSL)</license>
7
  <channel>community</channel>
8
  <extends/>
9
- <summary>Provides a simple and seamless integration with TagMan&amp;amp;apos;s Marketing Data Platform and Tag Management System.</summary>
10
- <description>TagMan&#x2019;s Marketing Data Platform (MDP) is powered by our leading tag management system to provide marketers the ability to collect, unify and distribute a clean layer of third-party, first-party and CRM data to your marketing technology vendors in real-time.</description>
11
- <notes>Re-uploaded version</notes>
12
- <authors><author><name>TagMan Ltd.</name><user>tobyattagman</user><email>toby.doig@tagman.com</email></author></authors>
13
- <date>2013-10-29</date>
14
- <time>11:31:57</time>
15
- <contents><target name="mageetc"><dir name="modules"><file name="Tagman_Intellitag.xml" hash="333d03b67ee4a65f9a78910b2f901803"/></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><dir name="tagman"><file name="intellitag.xml" hash="444a905ddb69a1062501acd3984e80b1"/></dir></dir></dir></dir></dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="tagman_intellitag.xml" hash="a11c923250f82ed34b7cc7935f3c6401"/></dir><dir name="template"><dir name="tagman_intellitag"><file name="jsinjector.phtml" hash="58add90971f6d8ff56b6f80930d8b4a9"/></dir></dir></dir></dir></dir></target><target name="magecommunity"><dir name="Tagman"><dir name="Intellitag"><dir name="Block"><dir name="Adminhtml"><dir name="Variables"><dir name="Edit"><file name="Form.php" hash="2041b496319e3c6051010545605db739"/></dir><file name="Edit.php" hash="c27734e57889971ae4cafff4ddb08ed8"/><file name="Grid.php" hash="3e6b1c8e49e60af21aa1d1c55ec7ef69"/></dir><file name="Variables.php" hash="9d5fa2b7442f92bfa5840abb2017d067"/></dir><file name="Field.php" hash="50b4bace6bec94d4693923b79ace1f44"/><file name="JsInjector.php" hash="fd66634d313f3a8e5ac17f3f55483d47"/><file name="Select.php" hash="01aa8523ede2440a5d3de5dc32085866"/><file name="Text.php" hash="0ef1ce4825caa74406ee9b37a397c0b3"/></dir><dir name="Helper"><file name="Data.php" hash="906f295b2d648c9a349c2565e09ddc18"/></dir><dir name="Model"><dir name="Mysql4"><dir name="Variables"><file name="Collection.php" hash="dc0ef1f229e89cef8c52ac20adbc395b"/></dir><file name="Variables.php" hash="1b5357557412cdfa258b3bf532c869f3"/></dir><dir name="System"><dir name="Config"><dir name="Source"><dir name="Model"><file name="Select.php" hash="61b6852fdf992661525d1da63dfdca4e"/></dir></dir></dir></dir><file name="Variables.php" hash="2d3ed7cf392258cd8868c9c8cd45e7d6"/></dir><dir name="controllers"><dir name="Adminhtml"><file name="VariablesController.php" hash="b281e1de3d527046960aad9ba4890e35"/></dir></dir><dir name="etc"><file name="adminhtml.xml" hash="61187b3ac51a10ca5ba73ccd0880db7f"/><file name="config.xml" hash="912beb788ce910ff1580fee16d0b8708"/><file name="system.xml" hash="8484f9945f5246b2d9f44dc76e3ae0bf"/></dir><dir name="sql"><dir name="tagman_intellitag_setup"><file name="mysql4-install-1.0.6.php" hash="a91da3d51779b91d218caa9482268c45"/></dir></dir></dir></dir></target></contents>
16
  <compatible/>
17
  <dependencies><required><php><min>5.3.24</min><max>6.0.0</max></php></required></dependencies>
18
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Tagman_Intellitag</name>
4
+ <version>1.0.7</version>
5
  <stability>stable</stability>
6
  <license uri="http://opensource.org/licenses/osl-3.0.php">Open Software License (OSL)</license>
7
  <channel>community</channel>
8
  <extends/>
9
+ <summary>Provides a simple and seamless integration with TagMan&amp;amp;amp;apos;s Marketing Data Platform and Tag Management System.</summary>
10
+ <description>TagMan's Marketing Data Platform (MDP) is powered by our leading tag management system to provide marketers the ability to collect, unify and distribute a clean layer of third-party, first-party and CRM data to your marketing technology vendors in real-time.</description>
11
+ <notes>Bug on enterprise version fixed</notes>
12
+ <authors><author><name>TagMan ltd.</name><user>tobyattagman</user><email>toby.doig@tagman.com</email></author></authors>
13
+ <date>2013-10-31</date>
14
+ <time>13:56:49</time>
15
+ <contents><target name="magecommunity"><dir name="Tagman"><dir name="Intellitag"><dir name="Block"><dir name="Adminhtml"><dir name="Variables"><dir name="Edit"><file name="Form.php" hash="37260f123a4c05396b1ef2dd5a5f33f7"/></dir><file name="Edit.php" hash="c27734e57889971ae4cafff4ddb08ed8"/><file name="Grid.php" hash="3e6b1c8e49e60af21aa1d1c55ec7ef69"/></dir><file name="Variables.php" hash="9d5fa2b7442f92bfa5840abb2017d067"/></dir><file name="Field.php" hash="50b4bace6bec94d4693923b79ace1f44"/><file name="JsInjector.php" hash="fd66634d313f3a8e5ac17f3f55483d47"/><file name="Select.php" hash="01aa8523ede2440a5d3de5dc32085866"/><file name="Text.php" hash="0ef1ce4825caa74406ee9b37a397c0b3"/></dir><dir name="Helper"><file name="Data.php" hash="906f295b2d648c9a349c2565e09ddc18"/></dir><dir name="Model"><dir name="Mysql4"><dir name="Variables"><file name="Collection.php" hash="dc0ef1f229e89cef8c52ac20adbc395b"/></dir><file name="Variables.php" hash="1b5357557412cdfa258b3bf532c869f3"/></dir><dir name="System"><dir name="Config"><dir name="Source"><dir name="Model"><file name="Select.php" hash="61b6852fdf992661525d1da63dfdca4e"/></dir></dir></dir></dir><file name="Variables.php" hash="2d3ed7cf392258cd8868c9c8cd45e7d6"/></dir><dir name="controllers"><dir name="Adminhtml"><file name="VariablesController.php" hash="b281e1de3d527046960aad9ba4890e35"/></dir></dir><dir name="etc"><file name="adminhtml.xml" hash="61187b3ac51a10ca5ba73ccd0880db7f"/><file name="config.xml" hash="aa86ba7d01c3019aeb73b69a19c0ec61"/><file name="system.xml" hash="8484f9945f5246b2d9f44dc76e3ae0bf"/></dir><dir name="sql"><dir name="tagman_intellitag_setup"><file name="mysql4-install-1.0.7.php" hash="a91da3d51779b91d218caa9482268c45"/></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Tagman_Intellitag.xml" hash="333d03b67ee4a65f9a78910b2f901803"/></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="template"><dir name="tagman_intellitag"><file name="jsinjector.phtml" hash="58add90971f6d8ff56b6f80930d8b4a9"/></dir></dir><dir name="layout"><file name="tagman_intellitag.xml" hash="a11c923250f82ed34b7cc7935f3c6401"/></dir></dir></dir></dir><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><dir name="tagman"><file name="intellitag.xml" hash="444a905ddb69a1062501acd3984e80b1"/></dir></dir></dir></dir></dir></target></contents>
16
  <compatible/>
17
  <dependencies><required><php><min>5.3.24</min><max>6.0.0</max></php></required></dependencies>
18
  </package>