Online_Ring_sizer-1_0 - Version 1.0.0.0

Version Notes

First version of FMRS Module.

Download this release

Release Info

Developer FMRS
Extension Online_Ring_sizer-1_0
Version 1.0.0.0
Comparing to
See all releases


Version 1.0.0.0

app/code/community/FMRS/Module/etc/config.xml ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+
3
+ <config>
4
+ <modules>
5
+ <FMRS_Module>
6
+ <version>1.0.0.0</version>
7
+ </FMRS_Module>
8
+ </modules>
9
+ <frontend>
10
+ <layout>
11
+ <updates>
12
+ <fmrs_Module>
13
+ <file>fmrs/module/FMRSmod.xml</file>
14
+ </fmrs_Module>
15
+ </updates>
16
+ </layout>
17
+ </frontend>
18
+ </config>
app/design/frontend/default/default/layout/fmrs/module/FMRSmod.xml ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <layout version="0.1.0">
3
+ <catalog_product_view>
4
+ <reference name="before_body_end">
5
+ <block type="core/template" name="fmrs_module_js" template="fmrs/module/js.phtml" before="-" />
6
+ </reference>
7
+ <reference name="alert.urls">
8
+ <block type="core/template" name="fmrs_module_button" template="fmrs/module/button.phtml" before="-" />
9
+ </reference>
10
+ </catalog_product_view>
11
+ </layout>
app/design/frontend/default/default/template/fmrs/module/button.phtml ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
1
+ <?php $_product = Mage::registry('current_product') ?>
2
+ <?php if ($_product && $_product->getId()): ?>
3
+ <!--this is your button -->
4
+ <!--FMRS-BUTTON:BEGIN-->
5
+ <link href='http://static.findmyringsize.com/shared/buttons/fmrs-buttons.css' rel='stylesheet' type='text/css' />
6
+ <a id='ringsizer' class='fmrs-bsize-l fmrs-bdes-bl9 fmrs-button-host' alt='Find Your Ring Size' href='http://sizer.findmyringsize.com' target='_blank' >Find Your Ring Size</a>
7
+ <!--FMRS-BUTTON:END-->
8
+
9
+ <?php endif; ?>
app/design/frontend/default/default/template/fmrs/module/js.phtml ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php $_product = Mage::registry('current_product') ?>
2
+ <?php if ($_product && $_product->getId()): ?>
3
+ <!--this is your pop-up ring sizer magic : put this on the bottom of your page before your <\body> tag -->
4
+ <!--FMRS-POPUP:BEGIN -->
5
+ <script type='text/javascript'>
6
+ var host = (("https:" == document.location.protocol) ? "https://" : "http://"); document.write(unescape("%3Cscript src='" + host + "findmyringsize.com/Shared/Embed/fmrs-1.0.js' type='text/javascript'%3E%3C/script%3E"));
7
+ </script>
8
+
9
+ <script>
10
+ var ringsizer = new FMRS();
11
+ ringsizer.initialize({
12
+ 'client': 'sizer',
13
+ 'mode': 'overlay',
14
+ 'overlaySettings': { boxTheme: 'facebook', shadowOverlay: true }
15
+ });
16
+ ringsizer.bind();
17
+ </script>
18
+
19
+ <!--FMRS-POPUP:END-->
20
+
21
+ <?php endif; ?>
app/etc/modules/FMRS_Module.xml ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+
3
+ <config>
4
+ <modules>
5
+ <FMRS_Module>
6
+ <active>true</active>
7
+ <codePool>community</codePool>
8
+ </FMRS_Module>
9
+ </modules>
10
+ </config>
package.xml ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <package>
3
+ <name>Online_Ring_sizer-1_0</name>
4
+ <version>1.0.0.0</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>
8
+ <extends/>
9
+ <summary>FMRSModule</summary>
10
+ <description>First version of FMRS Module.</description>
11
+ <notes>First version of FMRS Module.</notes>
12
+ <authors><author><name>FMRS</name><user>FMRS</user><email>ev@triplenext.com</email></author></authors>
13
+ <date>2012-02-27</date>
14
+ <time>13:21:56</time>
15
+ <contents><target name="mageetc"><dir name="modules"><file name="FMRS_Module.xml" hash="3281d59728a4e697329b85391bca1901"/></dir></target><target name="magecommunity"><dir name="FMRS"><dir name="Module"><dir name="etc"><file name="config.xml" hash="180b98a11bcc3cd145f2d1805347b244"/></dir></dir></dir></target><target name="magedesign"><dir name="frontend"><dir name="default"><dir name="default"><dir name="layout"><dir name="fmrs"><dir name="module"><file name="FMRSmod.xml" hash="c2eb494ffd5b60775d857bd9024a39a6"/></dir></dir></dir><dir name="template"><dir name="fmrs"><dir name="module"><file name="button.phtml" hash="9557a96931184c4d229a2de31a1aea59"/><file name="js.phtml" hash="954a16bbefd2493fee6c07df54c61293"/></dir></dir></dir></dir></dir></dir></target></contents>
16
+ <compatible/>
17
+ <dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php></required></dependencies>
18
+ </package>