Version Notes
- Can be placed anywhere in the site: left column, right column, cms pages, static blocks etc.
- Can be used in CMS pages / Static Blockas as: {{block type="tellafriend/tellafriend" name="tellafriend-block" template="tellafriend/tellafriend.phtml}}
- Tell a friend email template can be customized easily.
Download this release
Release Info
Developer | Magento Core Team |
Extension | Mp_Tell_A_Friend |
Version | 0.1.1 |
Comparing to | |
See all releases |
Code changes from version 0.1.0 to 0.1.1
app/design/frontend/default/default/template/tellafriend/tellafriend.phtml
ADDED
@@ -0,0 +1,28 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<div class="block block-subscribe">
|
2 |
+
<div class="block-title">
|
3 |
+
<strong><span><?php echo $this->__('Tell a Friend') ?></span></strong>
|
4 |
+
</div>
|
5 |
+
<form action="<?php echo $this->getFormActionUrl() ?>" method="post" id="tellafriend-validate-detail">
|
6 |
+
<div class="block-content">
|
7 |
+
|
8 |
+
<label for="name"><?php echo $this->__('Your Name:') ?></label>
|
9 |
+
<div class="input-box">
|
10 |
+
<input type="text" class="input-text required-entry" title="<?php echo $this->__('Your Name') ?>" id="name" name="name" />
|
11 |
+
</div>
|
12 |
+
|
13 |
+
<label for="email"><?php echo $this->__('Your Friend\'s Email Address:') ?></label>
|
14 |
+
<div class="input-box">
|
15 |
+
<input type="text" class="input-text required-entry validate-email" title="<?php echo $this->__('Your Friend\'s Email Address') ?>" id="email" name="email" />
|
16 |
+
</div>
|
17 |
+
|
18 |
+
<div class="actions">
|
19 |
+
<button type="submit" title="<?php echo $this->__('Submit') ?>" class="button"><span><span><?php echo $this->__('Submit') ?></span></span></button>
|
20 |
+
</div>
|
21 |
+
</div>
|
22 |
+
</form>
|
23 |
+
<script type="text/javascript">
|
24 |
+
//<![CDATA[
|
25 |
+
var tellafriendFormDetail = new VarienForm('tellafriend-validate-detail');
|
26 |
+
//]]>
|
27 |
+
</script>
|
28 |
+
</div>
|
app/etc/modules/MagePsycho_Tellafriend.xml
CHANGED
@@ -11,7 +11,7 @@
|
|
11 |
<config>
|
12 |
<modules>
|
13 |
<MagePsycho_Tellafriend>
|
14 |
-
<active>
|
15 |
<codePool>local</codePool>
|
16 |
</MagePsycho_Tellafriend>
|
17 |
</modules>
|
11 |
<config>
|
12 |
<modules>
|
13 |
<MagePsycho_Tellafriend>
|
14 |
+
<active>false</active>
|
15 |
<codePool>local</codePool>
|
16 |
</MagePsycho_Tellafriend>
|
17 |
</modules>
|
package.xml
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Mp_Tell_A_Friend</name>
|
4 |
-
<version>0.1.
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://www.opensource.org/licenses/osl-3.0.php">OSL v3.0</license>
|
7 |
<channel>community</channel>
|
@@ -12,9 +12,9 @@
|
|
12 |
- Can be used in CMS pages / Static Blockas as: {{block type="tellafriend/tellafriend" name="tellafriend-block" template="tellafriend/tellafriend.phtml}}
|
13 |
- Tell a friend email template can be customized easily.</notes>
|
14 |
<authors><author><name>MagePsycho</name><user>auto-converted</user><email>rajen_k_bhtt@hotmail.com</email></author></authors>
|
15 |
-
<date>2011-
|
16 |
-
<time>
|
17 |
-
<contents><target name="mageetc"><dir name="modules"><file name="MagePsycho_Tellafriend.xml" hash="
|
18 |
<compatible/>
|
19 |
<dependencies/>
|
20 |
</package>
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Mp_Tell_A_Friend</name>
|
4 |
+
<version>0.1.1</version>
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://www.opensource.org/licenses/osl-3.0.php">OSL v3.0</license>
|
7 |
<channel>community</channel>
|
12 |
- Can be used in CMS pages / Static Blockas as: {{block type="tellafriend/tellafriend" name="tellafriend-block" template="tellafriend/tellafriend.phtml}}
|
13 |
- Tell a friend email template can be customized easily.</notes>
|
14 |
<authors><author><name>MagePsycho</name><user>auto-converted</user><email>rajen_k_bhtt@hotmail.com</email></author></authors>
|
15 |
+
<date>2011-07-05</date>
|
16 |
+
<time>07:52:56</time>
|
17 |
+
<contents><target name="mageetc"><dir name="modules"><file name="MagePsycho_Tellafriend.xml" hash="9078956cbb25cb9a3c603ffdffc9016d"/></dir></target><target name="magelocale"><dir name="en_US"><dir name="template"><dir name="email"><dir name="tellafriend"><file name="tellafriend.html" hash="2042d99734027712c27349c4826000df"/></dir></dir></dir></dir></target><target name="magedesign"><dir name="frontend"><dir name="default"><dir name="default"><dir name="template"><dir name="tellafriend"><file name="tellafriend.phtml" hash="c8cb73d980c7dda669eda03fddc2477b"/></dir></dir><dir name="layout"><file name="tellafriend.xml" hash="673a4260b5c289fc5e6076313e53fab7"/></dir></dir></dir></dir></target><target name="magelocal"><dir name="MagePsycho"><dir name="Tellafriend"><dir name="Block"><dir name="System"><dir name="Config"><file name="Info.php" hash="44b685a1e1b4f1ad2797fd5c63dff1ff"/></dir></dir><file name="Tellafriend.php" hash="62ca34c67d745642c0743b559a218389"/></dir><dir name="Helper"><file name="Data.php" hash="71127f38a09f04173df539c5533b7962"/></dir><dir name="Model"><file name="Session.php" hash="495a430e59c5f7a057756c6a344ff6c4"/><file name="Tellafriend.php" hash="f50f073a66f1ec4d4eed1b06011c29a4"/></dir><dir name="controllers"><file name="IndexController.php" hash="18527e015d622b491045c23e465c877d"/></dir><dir name="etc"><file name="config.xml" hash="65ad47c5c73660a3715cea021a0adfc2"/><file name="system.xml" hash="e090f36250cff5787a5bd9cc6c85638b"/></dir></dir></dir></target></contents>
|
18 |
<compatible/>
|
19 |
<dependencies/>
|
20 |
</package>
|