Version Notes
Second release
Download this release
Release Info
Developer | Mike The Tech Ninja Whittenberger |
Extension | Techninja_Share |
Version | 1.0.2 |
Comparing to | |
See all releases |
Code changes from version 1.0.1 to 1.0.2
app/design/frontend/base/default/template/share/thebuttons.phtml
ADDED
@@ -0,0 +1,34 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
?>
|
4 |
+
<?php if ($this->isEnabled()): ?>
|
5 |
+
|
6 |
+
<?php if ($this->showSTbutton()): ?>
|
7 |
+
<span class='st_sharethis' displayText='ShareThis'></span>
|
8 |
+
<?php endif; ?>
|
9 |
+
|
10 |
+
<?php if ($this->showFBbutton()): ?>
|
11 |
+
<span class='st_facebook' displayText='Facebook'></span>
|
12 |
+
<?php endif; ?>
|
13 |
+
|
14 |
+
<?php if ($this->showTweetbutton()): ?>
|
15 |
+
<span class='st_twitter' displayText='Tweet'></span>
|
16 |
+
<?php endif; ?>
|
17 |
+
|
18 |
+
<?php if ($this->showLIbutton()): ?>
|
19 |
+
<span class='st_linkedin' displayText='LinkedIn'></span>
|
20 |
+
<?php endif; ?>
|
21 |
+
|
22 |
+
<?php if ($this->showPinbutton()): ?>
|
23 |
+
<span class='st_pinterest' displayText='Pinterest'></span>
|
24 |
+
<?php endif; ?>
|
25 |
+
|
26 |
+
<?php if ($this->showEmailbutton()): ?>
|
27 |
+
<span class='st_email' displayText='Email'></span>
|
28 |
+
<?php endif; ?>
|
29 |
+
|
30 |
+
<script type="text/javascript">var switchTo5x=true;</script>
|
31 |
+
<script type="text/javascript" src="http://w.sharethis.com/button/buttons.js"></script>
|
32 |
+
<script type="text/javascript">stLight.options({publisher: "<?php echo $this->getPubKey(); ?>", doNotHash: false, doNotCopy: false, hashAddressBar: false});</script>
|
33 |
+
|
34 |
+
<?php endif; ?>
|
package.xml
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Techninja_Share</name>
|
4 |
-
<version>1.0.
|
5 |
<stability>stable</stability>
|
6 |
<license>GNU General Public License (GPL)</license>
|
7 |
<channel>community</channel>
|
@@ -12,11 +12,11 @@
|
|
12 |
In addition, two widgets are included which do the same, and can be added to a Magento site anywhere that widgets are excepted. One widget displays the standard style buttons, and one displays them in a floating side bar.
|
13 |

|
14 |
The current buttons included are the official ShareThis.com button, and also Facebook, Twitter, LinkedIn, Pinterest, and Email.</description>
|
15 |
-
<notes>
|
16 |
<authors><author><name>Mike The Tech Ninja Whittenberger</name><user>mwhittenberger</user><email>mwhittenberger@yahoo.com</email></author></authors>
|
17 |
-
<date>2014-06-
|
18 |
-
<time>
|
19 |
-
<contents><target name="magecommunity"><dir name="Techninja"><dir name="Share"><dir name="Block"><file name="Share.php" hash="b93f63a659eb6380596437a982a192d8"/><file name="Thebuttons.php" hash="6b9af518ac9afaa96e3346d7d769a0f7"/><file name="Widget.php" hash="3fb5cc4d39ad28c390810268e3ac5390"/></dir><dir name="Helper"><file name="Data.php" hash="a0b3e76b941126caed62830ecb659547"/></dir><dir name="Model"><dir name="System"><dir name="Config"><dir name="Source"><file name="Side.php" hash="cdb5a3d4394b965ed088b74793097b86"/><file name="Size.php" hash="7f576614efcc4ce41b55cf8d86314957"/></dir></dir></dir></dir><dir name="etc"><file name="adminhtml.xml" hash="11abb62074e32eda1501dc44de9a9dea"/><file name="config.xml" hash="f33b452d22af5b604b1cb01cdf917a7e"/><file name="system.xml" hash="ad560b56ffbcbec1ef6438e73aacdf83"/><file name="widget.xml" hash="a7def7467a6c898683572cf70a3cc764"/></dir></dir></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="techninja_share.xml" hash="fa8040da8ffebc774b502aea1d810271"/></dir
|
20 |
<compatible/>
|
21 |
<dependencies><required><php><min>4.1.0</min><max>6.0.0</max></php></required></dependencies>
|
22 |
</package>
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Techninja_Share</name>
|
4 |
+
<version>1.0.2</version>
|
5 |
<stability>stable</stability>
|
6 |
<license>GNU General Public License (GPL)</license>
|
7 |
<channel>community</channel>
|
12 |
In addition, two widgets are included which do the same, and can be added to a Magento site anywhere that widgets are excepted. One widget displays the standard style buttons, and one displays them in a floating side bar.
|
13 |

|
14 |
The current buttons included are the official ShareThis.com button, and also Facebook, Twitter, LinkedIn, Pinterest, and Email.</description>
|
15 |
+
<notes>Second release</notes>
|
16 |
<authors><author><name>Mike The Tech Ninja Whittenberger</name><user>mwhittenberger</user><email>mwhittenberger@yahoo.com</email></author></authors>
|
17 |
+
<date>2014-06-28</date>
|
18 |
+
<time>16:43:37</time>
|
19 |
+
<contents><target name="magecommunity"><dir name="Techninja"><dir name="Share"><dir name="Block"><file name="Share.php" hash="b93f63a659eb6380596437a982a192d8"/><file name="Thebuttons.php" hash="6b9af518ac9afaa96e3346d7d769a0f7"/><file name="Widget.php" hash="3fb5cc4d39ad28c390810268e3ac5390"/></dir><dir name="Helper"><file name="Data.php" hash="a0b3e76b941126caed62830ecb659547"/></dir><dir name="Model"><dir name="System"><dir name="Config"><dir name="Source"><file name="Side.php" hash="cdb5a3d4394b965ed088b74793097b86"/><file name="Size.php" hash="7f576614efcc4ce41b55cf8d86314957"/></dir></dir></dir></dir><dir name="etc"><file name="adminhtml.xml" hash="11abb62074e32eda1501dc44de9a9dea"/><file name="config.xml" hash="f33b452d22af5b604b1cb01cdf917a7e"/><file name="system.xml" hash="ad560b56ffbcbec1ef6438e73aacdf83"/><file name="widget.xml" hash="a7def7467a6c898683572cf70a3cc764"/></dir></dir></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="techninja_share.xml" hash="fa8040da8ffebc774b502aea1d810271"/></dir><dir name="template"><dir name="share"><file name="thebuttons.phtml" hash="4375a60a719c079eaefedcacf304ed5e"/></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Techninja_Share.xml" hash="1c3dfaa4f95f1db3e4798e3ffda6921e"/></dir></target></contents>
|
20 |
<compatible/>
|
21 |
<dependencies><required><php><min>4.1.0</min><max>6.0.0</max></php></required></dependencies>
|
22 |
</package>
|