Version Notes
- enable / disable support
- tag placement support for before head end, after body start, before body end
- 1 or multiple ids
Download this release
Release Info
Developer | Matthew Parke |
Extension | Twitter_Website_Tag |
Version | 1.0.1 |
Comparing to | |
See all releases |
Code changes from version 1.0.0 to 1.0.1
- app/code/community/EngageCommerce/Facebook/Helper/Data.php +0 -36
- app/code/community/EngageCommerce/Facebook/Model/LoadOrder.php +0 -30
- app/code/community/EngageCommerce/Facebook/etc/adminhtml.xml +0 -43
- app/code/community/EngageCommerce/Facebook/etc/config.xml +0 -69
- app/code/community/EngageCommerce/Facebook/etc/system.xml +0 -81
- app/design/frontend/base/default/template/EngageCommerce/Facebook/facebook_pixel.phtml +0 -44
- app/design/frontend/base/default/template/EngageCommerce/Facebook/pixel_after_body_start.phtml +0 -24
- app/design/frontend/base/default/template/EngageCommerce/Facebook/pixel_before_body_end.phtml +0 -24
- app/design/frontend/base/default/template/EngageCommerce/Facebook/pixel_before_head_end.phtml +0 -24
- package.xml +5 -5
app/code/community/EngageCommerce/Facebook/Helper/Data.php
DELETED
@@ -1,36 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
/**
|
3 |
-
* Engage Commerce
|
4 |
-
*
|
5 |
-
* NOTICE OF LICENSE
|
6 |
-
*
|
7 |
-
* This source file is subject to the Open Software License (OSL 3.0)
|
8 |
-
* that is bundled with this package in the file LICENSE.txt.
|
9 |
-
* It is also available through the world-wide-web at this URL:
|
10 |
-
* http://opensource.org/licenses/osl-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@magentocommerce.com so we can send you a copy immediately.
|
14 |
-
*
|
15 |
-
* @category EngageCommerce
|
16 |
-
* @package EngageCommerce_Facebook
|
17 |
-
* @copyright Copyright (c) 2016 Engage Commerce (http://engagecommerce.io)
|
18 |
-
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
19 |
-
*/
|
20 |
-
class EngageCommerce_Facebook_Helper_Data extends Mage_Core_Helper_Abstract
|
21 |
-
{
|
22 |
-
public function isPixelEnabled()
|
23 |
-
{
|
24 |
-
return Mage::getStoreConfig("engagecommerce_facebook/facebook_pixel/enabled");
|
25 |
-
}
|
26 |
-
|
27 |
-
public function getLoadOrder()
|
28 |
-
{
|
29 |
-
return Mage::getStoreConfig("engagecommerce_facebook/facebook_pixel/loadorder");
|
30 |
-
}
|
31 |
-
|
32 |
-
public function getPixelId()
|
33 |
-
{
|
34 |
-
return Mage::getStoreConfig("engagecommerce_facebook/facebook_pixel/pixel_id");
|
35 |
-
}
|
36 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
app/code/community/EngageCommerce/Facebook/Model/LoadOrder.php
DELETED
@@ -1,30 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
/**
|
3 |
-
* Engage Commerce
|
4 |
-
*
|
5 |
-
* NOTICE OF LICENSE
|
6 |
-
*
|
7 |
-
* This source file is subject to the Open Software License (OSL 3.0)
|
8 |
-
* that is bundled with this package in the file LICENSE.txt.
|
9 |
-
* It is also available through the world-wide-web at this URL:
|
10 |
-
* http://opensource.org/licenses/osl-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@magentocommerce.com so we can send you a copy immediately.
|
14 |
-
*
|
15 |
-
* @category EngageCommerce
|
16 |
-
* @package EngageCommerce_Facebook
|
17 |
-
* @copyright Copyright (c) 2016 Engage Commerce (http://engagecommerce.io)
|
18 |
-
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
19 |
-
*/
|
20 |
-
class EngageCommerce_Facebook_Model_LoadOrder extends Mage_Adminhtml_Model_System_Config_Source_Yesno
|
21 |
-
{
|
22 |
-
public function toOptionArray()
|
23 |
-
{
|
24 |
-
return array(
|
25 |
-
array('value' => 'before_head_end', 'label'=>Mage::helper('adminhtml')->__('Before Head End')),
|
26 |
-
array('value' => 'after_body_start', 'label'=>Mage::helper('adminhtml')->__('After Body Start')),
|
27 |
-
array('value' => 'before_body_end', 'label'=>Mage::helper('adminhtml')->__('Before Body End'))
|
28 |
-
);
|
29 |
-
}
|
30 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
app/code/community/EngageCommerce/Facebook/etc/adminhtml.xml
DELETED
@@ -1,43 +0,0 @@
|
|
1 |
-
<?xml version="1.0"?>
|
2 |
-
<!--
|
3 |
-
/**
|
4 |
-
* Engage Commerce
|
5 |
-
*
|
6 |
-
* NOTICE OF LICENSE
|
7 |
-
*
|
8 |
-
* This source file is subject to the Open Software License (OSL 3.0)
|
9 |
-
* that is bundled with this package in the file LICENSE.txt.
|
10 |
-
* It is also available through the world-wide-web at this URL:
|
11 |
-
* http://opensource.org/licenses/osl-3.0.php
|
12 |
-
* If you did not receive a copy of the license and are unable to
|
13 |
-
* obtain it through the world-wide-web, please send an email
|
14 |
-
* to license@magentocommerce.com so we can send you a copy immediately.
|
15 |
-
*
|
16 |
-
* @category EngageCommerce
|
17 |
-
* @package EngageCommerce_Facebook
|
18 |
-
* @copyright Copyright (c) 2016 Engage Commerce (http://engagecommerce.io)
|
19 |
-
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
20 |
-
*/
|
21 |
-
-->
|
22 |
-
<config>
|
23 |
-
<acl>
|
24 |
-
<resources>
|
25 |
-
<admin>
|
26 |
-
<children>
|
27 |
-
<system>
|
28 |
-
<children>
|
29 |
-
<config>
|
30 |
-
<children>
|
31 |
-
<engagecommerce_facebook>
|
32 |
-
<title>Engage Commerce Facebook Pixel</title>
|
33 |
-
<sort_order>990</sort_order>
|
34 |
-
</engagecommerce_facebook>
|
35 |
-
</children>
|
36 |
-
</config>
|
37 |
-
</children>
|
38 |
-
</system>
|
39 |
-
</children>
|
40 |
-
</admin>
|
41 |
-
</resources>
|
42 |
-
</acl>
|
43 |
-
</config>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
app/code/community/EngageCommerce/Facebook/etc/config.xml
DELETED
@@ -1,69 +0,0 @@
|
|
1 |
-
<?xml version="1.0"?>
|
2 |
-
<!--
|
3 |
-
/**
|
4 |
-
* Engage Commerce
|
5 |
-
*
|
6 |
-
* NOTICE OF LICENSE
|
7 |
-
*
|
8 |
-
* This source file is subject to the Open Software License (OSL 3.0)
|
9 |
-
* that is bundled with this package in the file LICENSE.txt.
|
10 |
-
* It is also available through the world-wide-web at this URL:
|
11 |
-
* http://opensource.org/licenses/osl-3.0.php
|
12 |
-
* If you did not receive a copy of the license and are unable to
|
13 |
-
* obtain it through the world-wide-web, please send an email
|
14 |
-
* to license@magentocommerce.com so we can send you a copy immediately.
|
15 |
-
*
|
16 |
-
* @category EngageCommerce
|
17 |
-
* @package EngageCommerce_Facebook
|
18 |
-
* @copyright Copyright (c) 2016 Engage Commerce (http://engagecommerce.io)
|
19 |
-
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
20 |
-
*/
|
21 |
-
-->
|
22 |
-
<config>
|
23 |
-
<modules>
|
24 |
-
<engagecommerce_facebook>
|
25 |
-
<version>0.0.1</version>
|
26 |
-
</engagecommerce_facebook>
|
27 |
-
</modules>
|
28 |
-
<global>
|
29 |
-
<models>
|
30 |
-
<engagecommerce_facebook>
|
31 |
-
<class>EngageCommerce_Facebook_Model</class>
|
32 |
-
<resourceModel>engagecommerce_facebook_resource</resourceModel>
|
33 |
-
</engagecommerce_facebook>
|
34 |
-
<engagecommerce_facebook_resource>
|
35 |
-
<class>EngageCommerce_Facebook_Model_Resource</class>
|
36 |
-
</engagecommerce_facebook_resource>
|
37 |
-
|
38 |
-
<engagecommerce_facebook_loadorder>
|
39 |
-
<class>EngageCommerce_Facebook_Model_LoadOrder</class>
|
40 |
-
<resourceModel>engagecommerce_facebook_loadorder_resource</resourceModel>
|
41 |
-
</engagecommerce_facebook_loadorder>
|
42 |
-
<engagecommerce_facebook_loadorder_resource>
|
43 |
-
<class>EngageCommerce_Facebook_Model_LoadOrder_Resource</class>
|
44 |
-
</engagecommerce_facebook_loadorder_resource>
|
45 |
-
</models>
|
46 |
-
<helpers>
|
47 |
-
<engagecommerce_facebook>
|
48 |
-
<class>EngageCommerce_Facebook_Helper</class>
|
49 |
-
</engagecommerce_facebook>
|
50 |
-
</helpers>
|
51 |
-
</global>
|
52 |
-
<frontend>
|
53 |
-
<layout>
|
54 |
-
<updates>
|
55 |
-
<engagecommerce_facebook>
|
56 |
-
<file>engagecommerce_facebook.xml</file>
|
57 |
-
</engagecommerce_facebook>
|
58 |
-
</updates>
|
59 |
-
</layout>
|
60 |
-
</frontend>
|
61 |
-
<default>
|
62 |
-
<engagecommerce_facebook>
|
63 |
-
<facebook_pixel>
|
64 |
-
<enabled>0</enabled>
|
65 |
-
<loadorder>before_head_end</loadorder>
|
66 |
-
</facebook_pixel>
|
67 |
-
</engagecommerce_facebook>
|
68 |
-
</default>
|
69 |
-
</config>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
app/code/community/EngageCommerce/Facebook/etc/system.xml
DELETED
@@ -1,81 +0,0 @@
|
|
1 |
-
<?xml version="1.0"?>
|
2 |
-
<!--
|
3 |
-
/**
|
4 |
-
* Engage Commerce
|
5 |
-
*
|
6 |
-
* NOTICE OF LICENSE
|
7 |
-
*
|
8 |
-
* This source file is subject to the Open Software License (OSL 3.0)
|
9 |
-
* that is bundled with this package in the file LICENSE.txt.
|
10 |
-
* It is also available through the world-wide-web at this URL:
|
11 |
-
* http://opensource.org/licenses/osl-3.0.php
|
12 |
-
* If you did not receive a copy of the license and are unable to
|
13 |
-
* obtain it through the world-wide-web, please send an email
|
14 |
-
* to license@magentocommerce.com so we can send you a copy immediately.
|
15 |
-
*
|
16 |
-
* @category EngageCommerce
|
17 |
-
* @package EngageCommerce_Facebook
|
18 |
-
* @copyright Copyright (c) 2016 Engage Commerce (http://engagecommerce.io)
|
19 |
-
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
20 |
-
*/
|
21 |
-
-->
|
22 |
-
<config>
|
23 |
-
<tabs>
|
24 |
-
<engagecommerce>
|
25 |
-
<label>Engage Commerce</label>
|
26 |
-
<sort_order>100</sort_order>
|
27 |
-
</engagecommerce>
|
28 |
-
</tabs>
|
29 |
-
<sections>
|
30 |
-
<engagecommerce_facebook translate="label">
|
31 |
-
<label>Facebook Pixel</label>
|
32 |
-
<tab>engagecommerce</tab>
|
33 |
-
<frontend_type>text</frontend_type>
|
34 |
-
<sort_order>0</sort_order>
|
35 |
-
<show_in_default>1</show_in_default>
|
36 |
-
<show_in_website>1</show_in_website>
|
37 |
-
<show_in_store>1</show_in_store>
|
38 |
-
<groups>
|
39 |
-
<facebook_pixel translate="label">
|
40 |
-
<label>Setup Base Pixel</label>
|
41 |
-
<show_in_default>1</show_in_default>
|
42 |
-
<show_in_website>1</show_in_website>
|
43 |
-
<show_in_store>1</show_in_store>
|
44 |
-
<sort_order>1</sort_order>
|
45 |
-
<expanded>1</expanded>
|
46 |
-
<fields>
|
47 |
-
<enabled translate="label">
|
48 |
-
<label>Enabled</label>
|
49 |
-
<frontend_type>select</frontend_type>
|
50 |
-
<source_model>adminhtml/system_config_source_enabledisable</source_model>
|
51 |
-
<sort_order>10</sort_order>
|
52 |
-
<show_in_default>1</show_in_default>
|
53 |
-
<show_in_website>1</show_in_website>
|
54 |
-
<show_in_store>1</show_in_store>
|
55 |
-
<comment><![CDATA[Enabling the Facebook pixel will allow the pixel to load on every page, sending your visitor traffic to Facebook so that you can utilize <a href="https://www.facebook.com/business/help/449542958510885" target="_blank">custom audiences</a> and <a href="https://www.facebook.com/business/help/780705975381000" target="_blank">custom conversions</a>.]]></comment>
|
56 |
-
</enabled>
|
57 |
-
<pixel_id translate="label">
|
58 |
-
<label>Facebook Pixel ID(s)</label>
|
59 |
-
<frontend_type>text</frontend_type>
|
60 |
-
<sort_order>20</sort_order>
|
61 |
-
<show_in_default>1</show_in_default>
|
62 |
-
<show_in_website>1</show_in_website>
|
63 |
-
<show_in_store>1</show_in_store>
|
64 |
-
<comment><![CDATA[Your Facebook Pixel ID(s) can be found in your <a href="https://www.facebook.com/ads/manager/pixel/facebook_pixel/" target="_blank">pixel dashboard</a> or Business Manager <a href="https://business.facebook.com/settings/pixels/" target="_blank">pixel settings</a>. If entering multiple IDs, please separate them with a comma.]]></comment>
|
65 |
-
</pixel_id>
|
66 |
-
<loadorder translate="label">
|
67 |
-
<label>Facebook Pixel Load Order</label>
|
68 |
-
<frontend_type>select</frontend_type>
|
69 |
-
<source_model>EngageCommerce_Facebook_Model_LoadOrder</source_model>
|
70 |
-
<sort_order>10</sort_order>
|
71 |
-
<show_in_default>1</show_in_default>
|
72 |
-
<show_in_website>1</show_in_website>
|
73 |
-
<show_in_store>1</show_in_store>
|
74 |
-
<comment><![CDATA[Change where in your page the Facebook pixel will load if needed, but <a href="https://www.facebook.com/business/help/952192354843755" target="_blank">Facebook recommends</a> loading it in the head section.]]></comment>
|
75 |
-
</loadorder>
|
76 |
-
</fields>
|
77 |
-
</facebook_pixel>
|
78 |
-
</groups>
|
79 |
-
</engagecommerce_facebook>
|
80 |
-
</sections>
|
81 |
-
</config>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
app/design/frontend/base/default/template/EngageCommerce/Facebook/facebook_pixel.phtml
DELETED
@@ -1,44 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
/**
|
3 |
-
* Engage Commerce
|
4 |
-
*
|
5 |
-
* NOTICE OF LICENSE
|
6 |
-
*
|
7 |
-
* This source file is subject to the Open Software License (OSL 3.0)
|
8 |
-
* that is bundled with this package in the file LICENSE.txt.
|
9 |
-
* It is also available through the world-wide-web at this URL:
|
10 |
-
* http://opensource.org/licenses/osl-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@magentocommerce.com so we can send you a copy immediately.
|
14 |
-
*
|
15 |
-
* @category EngageCommerce
|
16 |
-
* @package EngageCommerce_Facebook
|
17 |
-
* @copyright Copyright (c) 2016 Engage Commerce (http://engagecommerce.io)
|
18 |
-
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
19 |
-
*/
|
20 |
-
$pixelHelper = Mage::helper("engagecommerce_facebook");
|
21 |
-
$pixelId = $pixelHelper->getPixelId();
|
22 |
-
$pixelArr = array_filter(array_map('trim', explode(',', $pixelId)), 'strlen');
|
23 |
-
?>
|
24 |
-
|
25 |
-
<!-- Engage Commerce: Facebook Pixel Base Code -->
|
26 |
-
<script>
|
27 |
-
!function(f,b,e,v,n,t,s){if(f.fbq)return;n=f.fbq=function(){n.callMethod?
|
28 |
-
n.callMethod.apply(n,arguments):n.queue.push(arguments)};if(!f._fbq)f._fbq=n;
|
29 |
-
n.push=n;n.loaded=!0;n.version='2.0';n.queue=[];t=b.createElement(e);t.async=!0;
|
30 |
-
t.src=v;s=b.getElementsByTagName(e)[0];s.parentNode.insertBefore(t,s)}(window,
|
31 |
-
document,'script','//connect.facebook.net/en_US/fbevents.js');
|
32 |
-
|
33 |
-
<?php foreach($pixelArr as $id): ?>
|
34 |
-
fbq('init', '<?php echo $id ?>');
|
35 |
-
<?php endforeach; ?>
|
36 |
-
|
37 |
-
fbq('track', "PageView");
|
38 |
-
</script>
|
39 |
-
|
40 |
-
<?php foreach($pixelArr as $id): ?>
|
41 |
-
<noscript>
|
42 |
-
<img height="1" width="1" style="display:none" src="//www.facebook.com/tr?id=<?php echo $id ?>&ev=PageView&noscript=1" />
|
43 |
-
</noscript>
|
44 |
-
<?php endforeach; ?>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
app/design/frontend/base/default/template/EngageCommerce/Facebook/pixel_after_body_start.phtml
DELETED
@@ -1,24 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
/**
|
3 |
-
* Engage Commerce
|
4 |
-
*
|
5 |
-
* NOTICE OF LICENSE
|
6 |
-
*
|
7 |
-
* This source file is subject to the Open Software License (OSL 3.0)
|
8 |
-
* that is bundled with this package in the file LICENSE.txt.
|
9 |
-
* It is also available through the world-wide-web at this URL:
|
10 |
-
* http://opensource.org/licenses/osl-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@magentocommerce.com so we can send you a copy immediately.
|
14 |
-
*
|
15 |
-
* @category EngageCommerce
|
16 |
-
* @package EngageCommerce_Facebook
|
17 |
-
* @copyright Copyright (c) 2016 Engage Commerce (http://engagecommerce.io)
|
18 |
-
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
19 |
-
*/
|
20 |
-
$pixelHelper = Mage::helper("engagecommerce_facebook");
|
21 |
-
if ($pixelHelper->isPixelEnabled() && ($pixelHelper->getLoadOrder() === 'after_body_start')) {
|
22 |
-
echo $this->getChildHtml('engagecommerce_facebook_pixel');
|
23 |
-
}
|
24 |
-
?>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
app/design/frontend/base/default/template/EngageCommerce/Facebook/pixel_before_body_end.phtml
DELETED
@@ -1,24 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
/**
|
3 |
-
* Engage Commerce
|
4 |
-
*
|
5 |
-
* NOTICE OF LICENSE
|
6 |
-
*
|
7 |
-
* This source file is subject to the Open Software License (OSL 3.0)
|
8 |
-
* that is bundled with this package in the file LICENSE.txt.
|
9 |
-
* It is also available through the world-wide-web at this URL:
|
10 |
-
* http://opensource.org/licenses/osl-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@magentocommerce.com so we can send you a copy immediately.
|
14 |
-
*
|
15 |
-
* @category EngageCommerce
|
16 |
-
* @package EngageCommerce_Facebook
|
17 |
-
* @copyright Copyright (c) 2016 Engage Commerce (http://engagecommerce.io)
|
18 |
-
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
19 |
-
*/
|
20 |
-
$pixelHelper = Mage::helper("engagecommerce_facebook");
|
21 |
-
if ($pixelHelper->isPixelEnabled() && ($pixelHelper->getLoadOrder() === 'before_body_end')) {
|
22 |
-
echo $this->getChildHtml('engagecommerce_facebook_pixel');
|
23 |
-
}
|
24 |
-
?>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
app/design/frontend/base/default/template/EngageCommerce/Facebook/pixel_before_head_end.phtml
DELETED
@@ -1,24 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
/**
|
3 |
-
* Engage Commerce
|
4 |
-
*
|
5 |
-
* NOTICE OF LICENSE
|
6 |
-
*
|
7 |
-
* This source file is subject to the Open Software License (OSL 3.0)
|
8 |
-
* that is bundled with this package in the file LICENSE.txt.
|
9 |
-
* It is also available through the world-wide-web at this URL:
|
10 |
-
* http://opensource.org/licenses/osl-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@magentocommerce.com so we can send you a copy immediately.
|
14 |
-
*
|
15 |
-
* @category EngageCommerce
|
16 |
-
* @package EngageCommerce_Facebook
|
17 |
-
* @copyright Copyright (c) 2016 Engage Commerce (http://engagecommerce.io)
|
18 |
-
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
19 |
-
*/
|
20 |
-
$pixelHelper = Mage::helper("engagecommerce_facebook");
|
21 |
-
if ($pixelHelper->isPixelEnabled() && ($pixelHelper->getLoadOrder() === 'before_head_end')) {
|
22 |
-
echo $this->getChildHtml('engagecommerce_facebook_pixel');
|
23 |
-
}
|
24 |
-
?>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
package.xml
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Twitter_Website_Tag</name>
|
4 |
-
<version>1.0.
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://opensource.org/licenses/osl-3.0.php">Open Software License (OSL)</license>
|
7 |
<channel>community</channel>
|
@@ -11,10 +11,10 @@
|
|
11 |
<notes> - enable / disable support
|
12 |
- tag placement support for before head end, after body start, before body end
|
13 |
- 1 or multiple ids</notes>
|
14 |
-
<authors><author><name>Matthew Parke</name><user>MAG003281797</user><email>
|
15 |
-
<date>2016-01-
|
16 |
-
<time>
|
17 |
-
<contents><target name="magecommunity"><dir name="EngageCommerce"><dir name="
|
18 |
<compatible/>
|
19 |
<dependencies><required><php><min>5.1.0</min><max>6.0.0</max></php></required></dependencies>
|
20 |
</package>
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Twitter_Website_Tag</name>
|
4 |
+
<version>1.0.1</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>
|
11 |
<notes> - enable / disable support
|
12 |
- tag placement support for before head end, after body start, before body end
|
13 |
- 1 or multiple ids</notes>
|
14 |
+
<authors><author><name>Matthew Parke</name><user>MAG003281797</user><email>development@engagecommerce.io</email></author></authors>
|
15 |
+
<date>2016-01-23</date>
|
16 |
+
<time>01:11:42</time>
|
17 |
+
<contents><target name="magecommunity"><dir name="EngageCommerce"><dir name="Twitter"><dir name="Helper"><file name="Data.php" hash="93d9f633995f0fca427ba297034fbb43"/></dir><dir name="Model"><file name="LoadOrder.php" hash="9a82e503ef91a2c8640aef3bfbc5ccab"/></dir><dir name="etc"><file name="adminhtml.xml" hash="43e5a363097a61d1395b85c4482b77fc"/><file name="config.xml" hash="55e81997fd5e1a2189816d8e6bf914d1"/><file name="system.xml" hash="fb7f723cc180a3659cf192175db4d752"/></dir></dir></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="engagecommerce_twitter.xml" hash="7e3a5862169b67f0c17128032ba8c9e4"/></dir><dir name="template"><dir name="EngageCommerce"><dir name="Twitter"><file name="pixel_after_body_start.phtml" hash="077686f035e1d818981e7dc10735d8cc"/><file name="pixel_before_body_end.phtml" hash="2513dc3ea6c408d14531b166b4a1943d"/><file name="pixel_before_head_end.phtml" hash="05333c3260ee07540ceacb2d2fea52bc"/><file name="twitter_pixel.phtml" hash="27fb262373bacc7d8c47b88d0840144d"/></dir></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="EngageCommerce_Twitter.xml" hash="c2d9521c37adace501eba81472789421"/></dir></target></contents>
|
18 |
<compatible/>
|
19 |
<dependencies><required><php><min>5.1.0</min><max>6.0.0</max></php></required></dependencies>
|
20 |
</package>
|