1234567v - Version 1.0.1

Version Notes

fixed bug data not found .and missing files

Download this release

Release Info

Developer srinath madusanka
Extension 1234567v
Version 1.0.1
Comparing to
See all releases


Code changes from version 1.0.0 to 1.0.1

app/code/local/Lkwebtools/Facebookpage/Helper/Data.php CHANGED
@@ -1,6 +1,6 @@
1
- <?php
2
-
3
- class Lkwebtools_Facebookpage_Helper_Data extends Mage_Core_Helper_Abstract
4
- {
5
-
6
}
1
+ <?php
2
+
3
+ class Lkwebtools_Facebookpage_Helper_Data extends Mage_Core_Helper_Abstract
4
+ {
5
+
6
}
app/code/local/Lkwebtools/Facebookpage/etc/config.xml CHANGED
@@ -1,51 +1,51 @@
1
- <?xml version="1.0"?>
2
- <!--
3
- /**
4
- * @category Lkwebtools
5
- * @package Lkwebtools_Facebookpage
6
- * @author madusanka525@gmail.com
7
- * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
8
- */
9
- -->
10
- <config>
11
- <modules>
12
- <Lkwebtools_Facebookpage>
13
- <version>1.0.0</version>
14
- </Lkwebtools_Facebookpage>
15
- </modules>
16
- <frontend>
17
- <routers>
18
- <facebookpage>
19
- <use>standard</use>
20
- <args>
21
- <module>Lkwebtools_Facebookpage</module>
22
- <frontName>facebookpage</frontName>
23
- </args>
24
- </facebookpage>
25
- </routers>
26
- <layout>
27
- <updates>
28
- <facebookpage>
29
- <file>facebookpage.xml</file>
30
- </facebookpage>
31
- </updates>
32
- </layout>
33
- </frontend>
34
- <global>
35
- <models>
36
- <facebookpage>
37
- <class>Lkwebtools_Facebookpage_Model</class>
38
- </facebookpage>
39
- </models>
40
- <blocks>
41
- <facebookpage>
42
- <class>Lkwebtools_Facebookpage_Block</class>
43
- </facebookpage>
44
- </blocks>
45
- <helpers>
46
- <facebookpage>
47
- <class>Lkwebtools_Facebookpage_Helper</class>
48
- </facebookpage>
49
- </helpers>
50
- </global>
51
</config>
1
+ <?xml version="1.0"?>
2
+ <!--
3
+ /**
4
+ * @category Lkwebtools
5
+ * @package Lkwebtools_Facebookpage
6
+ * @author madusanka525@gmail.com
7
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
8
+ */
9
+ -->
10
+ <config>
11
+ <modules>
12
+ <Lkwebtools_Facebookpage>
13
+ <version>1.0.1</version>
14
+ </Lkwebtools_Facebookpage>
15
+ </modules>
16
+ <frontend>
17
+ <routers>
18
+ <facebookpage>
19
+ <use>standard</use>
20
+ <args>
21
+ <module>Lkwebtools_Facebookpage</module>
22
+ <frontName>facebookpage</frontName>
23
+ </args>
24
+ </facebookpage>
25
+ </routers>
26
+ <layout>
27
+ <updates>
28
+ <facebookpage>
29
+ <file>facebookpage.xml</file>
30
+ </facebookpage>
31
+ </updates>
32
+ </layout>
33
+ </frontend>
34
+ <global>
35
+ <models>
36
+ <facebookpage>
37
+ <class>Lkwebtools_Facebookpage_Model</class>
38
+ </facebookpage>
39
+ </models>
40
+ <blocks>
41
+ <facebookpage>
42
+ <class>Lkwebtools_Facebookpage_Block</class>
43
+ </facebookpage>
44
+ </blocks>
45
+ <helpers>
46
+ <facebookpage>
47
+ <class>Lkwebtools_Facebookpage_Helper</class>
48
+ </facebookpage>
49
+ </helpers>
50
+ </global>
51
</config>
app/code/local/Lkwebtools/Facebookpage/etc/system.xml CHANGED
@@ -19,7 +19,7 @@
19
-->
20
<config>
21
<tabs>
22
- <facebookpage translate="label" module="modulecreator">
23
<label>Lkwebtools</label>
24
<sort_order>5000</sort_order>
25
</facebookpage>
19
-->
20
<config>
21
<tabs>
22
+ <facebookpage translate="label" module="facebookpage">
23
<label>Lkwebtools</label>
24
<sort_order>5000</sort_order>
25
</facebookpage>
app/design/frontend/base/default/layout/facebookpage.xml ADDED
@@ -0,0 +1,14 @@
1
+ <?xml version="1.0"?>
2
+ <layout version="0.1.0">
3
+ <default>
4
+ <reference name="after_body_start">
5
+ <block type="core/template" name="after_body_start_script" template="facebookpage/facebookpage.phtml" />
6
+ </reference>
7
+ <reference name="left">
8
+ <block type="core/template" name="test" template="facebookpage/facebookpageplugin.phtml" ></block>
9
+ </reference>
10
+
11
+ </default>
12
+
13
+
14
+ </layout>
app/design/frontend/base/default/template/facebookpage/facebookpage.phtml ADDED
@@ -0,0 +1,8 @@
1
+ <div id="fb-root"></div>
2
+ <script>(function(d, s, id) {
3
+ var js, fjs = d.getElementsByTagName(s)[0];
4
+ if (d.getElementById(id)) return;
5
+ js = d.createElement(s); js.id = id;
6
+ js.src = "//connect.facebook.net/en_GB/sdk.js#xfbml=1&version=v2.5";
7
+ fjs.parentNode.insertBefore(js, fjs);
8
+ }(document, 'script', 'facebook-jssdk'));</script>
app/design/frontend/base/default/template/facebookpage/facebookpageplugin.phtml ADDED
@@ -0,0 +1,83 @@
1
+
2
+ <?php
3
+ if(Mage::getStoreConfig('facebookpage/general/fbenable') != ''){
4
+
5
+ if(Mage::getStoreConfig('facebookpage/general/fbenable')=='1'){
6
+
7
+ $fburl=Mage::getStoreConfig('facebookpage/general/fburl');
8
+
9
+ $fbwidth = Mage::getStoreConfig('facebookpage/general/fbwidth');
10
+
11
+ $fbheight = Mage::getStoreConfig('facebookpage/general/fbheight');
12
+
13
+ $fbsmheadr = Mage::getStoreConfig('facebookpage/general/fbsmheadr');
14
+
15
+ $fbfaceshow = Mage::getStoreConfig('facebookpage/general/fbfaceshow');
16
+
17
+ $fbcoverpic = Mage::getStoreConfig('facebookpage/general/fbcoverpic');
18
+
19
+ $adapt = Mage::getStoreConfig('facebookpage/general/adapt');
20
+
21
+
22
+
23
+ //small header
24
+ if($fbsmheadr !='' && $fbsmheadr=='1'){
25
+ $issmallheader='true';
26
+
27
+ }
28
+
29
+ else{
30
+ $issmallheader='false';
31
+ }
32
+
33
+ //dataadapt container width
34
+
35
+ if($adapt !='' && $adapt=='1'){
36
+ $isadapt='true';
37
+
38
+ }
39
+
40
+ else{
41
+ $isadapt='false';
42
+ }
43
+
44
+ //cover pic
45
+ if($fbcoverpic !='' && $fbcoverpic=='1'){
46
+ $isfbcoverpic='true';
47
+
48
+ }
49
+
50
+ else{
51
+ $isfbcoverpic='false';
52
+ }
53
+
54
+ //facebook frend list
55
+
56
+ if($fbfaceshow !='' && $fbfaceshow=='1'){
57
+ $isfbfaceshow='true';
58
+
59
+ }
60
+
61
+ else{
62
+ $isfbfaceshow='false';
63
+ }
64
+
65
+
66
+
67
+
68
+ ?>
69
+
70
+ <div class="fb-page" data-href="<?php echo $fburl; ?>" data-tabs="timeline" data-small-header="<?php echo $issmallheader; ?>" data-adapt-container-width="<?php echo $isadapt; ?>" data-hide-cover="<?php echo $isfbcoverpic; ?>" data-show-facepile="<?php echo $isfbfaceshow; ?>" data-width="<?php echo $fbwidth; ?>" data-height="<?php echo $fbheight; ?>" ><div class="fb-xfbml-parse-ignore"><blockquote cite="https://www.facebook.com/facebook"><a href="https://www.facebook.com/facebook">Facebook</a></blockquote></div></div>
71
+
72
+
73
+
74
+
75
+ <?php
76
+ }
77
+
78
+ }
79
+
80
+
81
+ ?>
82
+
83
+
app/etc/modules/Lkwebtools_Facebookpage.xml ADDED
@@ -0,0 +1,17 @@
1
+ <?xml version="1.0"?>
2
+ <!--
3
+ /**
4
+ * @category Lkwebtools
5
+ * @package Lkwebtools_Facebookpage
6
+ * @author ModuleCreator
7
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
8
+ */
9
+ -->
10
+ <config>
11
+ <modules>
12
+ <Lkwebtools_Facebookpage>
13
+ <active>true</active>
14
+ <codePool>local</codePool>
15
+ </Lkwebtools_Facebookpage>
16
+ </modules>
17
+ </config>
package.xml CHANGED
@@ -1,20 +1,18 @@
1
<?xml version="1.0"?>
2
<package>
3
<name>Lkwebtools_Facebookpage</name>
4
- <version>1.0.0</version>
5
<stability>devel</stability>
6
<license uri="http://opensource.org/licenses/osl-3.0.php">osl-3.0</license>
7
<channel>community</channel>
8
<extends/>
9
<summary>The Facebook Page plugin lets you easily embed and promote any Facebook Page on your website. </summary>
10
- <description>he Page plugin lets you easily embed and promote any Facebook Page on your website. Just like on Facebook, your visitors can like and share the Page without leaving your site.&#xD;
11
- &#xD;
12
- This extension give you to add facebook page plugin to left sidebar. with all confuguration options facebook supplied</description>
13
- <notes>this is first release</notes>
14
- <authors><author><name>srinath madusanka</name><user>admin</user><email>madusanka525@gmail.com</email></author></authors>
15
- <date>2016-03-13</date>
16
- <time>00:54:47</time>
17
- <contents><target name="magelocal"><dir name="Lkwebtools"><dir name="Facebookpage"><dir name="Helper"><file name="Data.php" hash="67fb5152c9d647fac933673b70747c28"/></dir><dir name="etc"><file name="adminhtml.xml" hash="39f8962bbfb3a8d81d236c4676b288bd"/><file name="config.xml" hash="ad6f288e4ca40d23371895226b5457dd"/><file name="system.xml" hash="67b620938bc4aa906ef67ed7689923b0"/></dir></dir></dir></target><target name="magedesign"><dir name="."><file name="facebookpage.xml" hash=""/></dir></target></contents>
18
<compatible/>
19
<dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php></required></dependencies>
20
</package>
1
<?xml version="1.0"?>
2
<package>
3
<name>Lkwebtools_Facebookpage</name>
4
+ <version>1.0.1</version>
5
<stability>devel</stability>
6
<license uri="http://opensource.org/licenses/osl-3.0.php">osl-3.0</license>
7
<channel>community</channel>
8
<extends/>
9
<summary>The Facebook Page plugin lets you easily embed and promote any Facebook Page on your website. </summary>
10
+ <description>Page plugin lets you easily embed and promote any Facebook Page on your website. Just like on Facebook, your visitors can like and share the Page without leaving your site. This extension give you to add facebook page plugin to left sidebar. with all confuguration options facebook supplied</description>
11
+ <notes>fixed bug data not found .and missing files</notes>
12
+ <authors><author><name>srinath madusanka</name><user>srinath</user><email>madusanka525@gmail.com</email></author></authors>
13
+ <date>2016-03-28</date>
14
+ <time>04:20:35</time>
15
+ <contents><target name="magelocal"><dir name="Lkwebtools"><dir name="Facebookpage"><dir name="Helper"><file name="Data.php" hash="8b373334766f8f5783dea47b1324e661"/></dir><dir name="etc"><file name="adminhtml.xml" hash="39f8962bbfb3a8d81d236c4676b288bd"/><file name="config.xml" hash="2ed5c8a29cee2a0017655e0445e55491"/><file name="system.xml" hash="7b684f242b8eedbfb398e080a6f9f335"/></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Lkwebtools_Facebookpage.xml" hash="6d992fbc6d07256ad075ae7ad2a7ab2e"/></dir></target><target name="magedesign"><dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="template"><dir name="facebookpage"><file name="facebookpage.phtml" hash="283334975b406b85040fe99e16ac4826"/><file name="facebookpageplugin.phtml" hash="56be7b764f36f0d85e0ce163fa780882"/></dir></dir><dir name="layout"><file name="facebookpage.xml" hash="00edd148b6919be5086016aa5493ccdf"/></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>