Version Notes
Likebox works now, It is availaible to set Facebook Page URL. Were added comments to all options.
Download this release
Release Info
| Developer | Dmitry Poddubny |
| Extension | Magazento_Facebook_Widgets |
| Version | 1.0.2 |
| Comparing to | |
| See all releases | |
Code changes from version 1.0.1 to 1.0.2
app/code/community/Magazento/Facebook/etc/config.xml
CHANGED
|
@@ -3,7 +3,7 @@
|
|
| 3 |
<config>
|
| 4 |
<modules>
|
| 5 |
<Magazento_Facebook>
|
| 6 |
-
<version>1.0.
|
| 7 |
</Magazento_Facebook>
|
| 8 |
</modules>
|
| 9 |
<frontend>
|
|
@@ -92,8 +92,8 @@
|
|
| 92 |
<facebook>
|
| 93 |
<general>
|
| 94 |
<enabled>1</enabled>
|
| 95 |
-
<appid
|
| 96 |
-
<
|
| 97 |
</general>
|
| 98 |
<likebutton>
|
| 99 |
<homecontent>0</homecontent>
|
|
@@ -109,7 +109,7 @@
|
|
| 109 |
<graphlikebutton>
|
| 110 |
<homecontent>0</homecontent>
|
| 111 |
<categorycontent>0</categorycontent>
|
| 112 |
-
<productcontent>
|
| 113 |
<type>product</type>
|
| 114 |
</graphlikebutton>
|
| 115 |
<sendbutton>
|
|
@@ -129,7 +129,7 @@
|
|
| 129 |
<leftcategorycolumn>0</leftcategorycolumn>
|
| 130 |
<rightcategorycolumn>0</rightcategorycolumn>
|
| 131 |
<leftproductcolumn>0</leftproductcolumn>
|
| 132 |
-
<rightproductcolumn>
|
| 133 |
<width>190</width>
|
| 134 |
<height>200</height>
|
| 135 |
<header>1</header>
|
|
@@ -143,7 +143,7 @@
|
|
| 143 |
<leftcategorycolumn>0</leftcategorycolumn>
|
| 144 |
<rightcategorycolumn>0</rightcategorycolumn>
|
| 145 |
<leftproductcolumn>0</leftproductcolumn>
|
| 146 |
-
<rightproductcolumn>
|
| 147 |
<width>190</width>
|
| 148 |
<height>200</height>
|
| 149 |
<header>1</header>
|
|
@@ -156,7 +156,7 @@
|
|
| 156 |
<leftcategorycolumn>0</leftcategorycolumn>
|
| 157 |
<rightcategorycolumn>0</rightcategorycolumn>
|
| 158 |
<leftproductcolumn>0</leftproductcolumn>
|
| 159 |
-
<rightproductcolumn>
|
| 160 |
<width>190</width>
|
| 161 |
<show_faces>1</show_faces>
|
| 162 |
<border_color>#C4C1BC</border_color>
|
|
@@ -172,7 +172,7 @@
|
|
| 172 |
<leftcategorycolumn>0</leftcategorycolumn>
|
| 173 |
<rightcategorycolumn>0</rightcategorycolumn>
|
| 174 |
<leftproductcolumn>0</leftproductcolumn>
|
| 175 |
-
<rightproductcolumn>
|
| 176 |
<size>large</size>
|
| 177 |
<width>190</width>
|
| 178 |
<max_rows>10</max_rows>
|
|
@@ -183,7 +183,7 @@
|
|
| 183 |
<leftcategorycolumn>0</leftcategorycolumn>
|
| 184 |
<rightcategorycolumn>0</rightcategorycolumn>
|
| 185 |
<leftproductcolumn>0</leftproductcolumn>
|
| 186 |
-
<rightproductcolumn>
|
| 187 |
<width>190</width>
|
| 188 |
<height>300</height>
|
| 189 |
<xid></xid>
|
| 3 |
<config>
|
| 4 |
<modules>
|
| 5 |
<Magazento_Facebook>
|
| 6 |
+
<version>1.0.2</version>
|
| 7 |
</Magazento_Facebook>
|
| 8 |
</modules>
|
| 9 |
<frontend>
|
| 92 |
<facebook>
|
| 93 |
<general>
|
| 94 |
<enabled>1</enabled>
|
| 95 |
+
<appid>226060960750812</appid>
|
| 96 |
+
<fb_page_url><![CDATA[ http://www.facebook.com/pages/Magazento/165471806852204 ]]></fb_page_url>
|
| 97 |
</general>
|
| 98 |
<likebutton>
|
| 99 |
<homecontent>0</homecontent>
|
| 109 |
<graphlikebutton>
|
| 110 |
<homecontent>0</homecontent>
|
| 111 |
<categorycontent>0</categorycontent>
|
| 112 |
+
<productcontent>0</productcontent>
|
| 113 |
<type>product</type>
|
| 114 |
</graphlikebutton>
|
| 115 |
<sendbutton>
|
| 129 |
<leftcategorycolumn>0</leftcategorycolumn>
|
| 130 |
<rightcategorycolumn>0</rightcategorycolumn>
|
| 131 |
<leftproductcolumn>0</leftproductcolumn>
|
| 132 |
+
<rightproductcolumn>0</rightproductcolumn>
|
| 133 |
<width>190</width>
|
| 134 |
<height>200</height>
|
| 135 |
<header>1</header>
|
| 143 |
<leftcategorycolumn>0</leftcategorycolumn>
|
| 144 |
<rightcategorycolumn>0</rightcategorycolumn>
|
| 145 |
<leftproductcolumn>0</leftproductcolumn>
|
| 146 |
+
<rightproductcolumn>0</rightproductcolumn>
|
| 147 |
<width>190</width>
|
| 148 |
<height>200</height>
|
| 149 |
<header>1</header>
|
| 156 |
<leftcategorycolumn>0</leftcategorycolumn>
|
| 157 |
<rightcategorycolumn>0</rightcategorycolumn>
|
| 158 |
<leftproductcolumn>0</leftproductcolumn>
|
| 159 |
+
<rightproductcolumn>0</rightproductcolumn>
|
| 160 |
<width>190</width>
|
| 161 |
<show_faces>1</show_faces>
|
| 162 |
<border_color>#C4C1BC</border_color>
|
| 172 |
<leftcategorycolumn>0</leftcategorycolumn>
|
| 173 |
<rightcategorycolumn>0</rightcategorycolumn>
|
| 174 |
<leftproductcolumn>0</leftproductcolumn>
|
| 175 |
+
<rightproductcolumn>0</rightproductcolumn>
|
| 176 |
<size>large</size>
|
| 177 |
<width>190</width>
|
| 178 |
<max_rows>10</max_rows>
|
| 183 |
<leftcategorycolumn>0</leftcategorycolumn>
|
| 184 |
<rightcategorycolumn>0</rightcategorycolumn>
|
| 185 |
<leftproductcolumn>0</leftproductcolumn>
|
| 186 |
+
<rightproductcolumn>0</rightproductcolumn>
|
| 187 |
<width>190</width>
|
| 188 |
<height>300</height>
|
| 189 |
<xid></xid>
|
app/code/community/Magazento/Facebook/etc/system.xml
CHANGED
|
@@ -42,14 +42,16 @@
|
|
| 42 |
<show_in_website>1</show_in_website>
|
| 43 |
<show_in_store>1</show_in_store>
|
| 44 |
</appid>
|
| 45 |
-
<
|
| 46 |
-
<label>
|
|
|
|
|
|
|
| 47 |
<frontend_type>text</frontend_type>
|
| 48 |
<sort_order>30</sort_order>
|
| 49 |
<show_in_default>1</show_in_default>
|
| 50 |
<show_in_website>1</show_in_website>
|
| 51 |
<show_in_store>1</show_in_store>
|
| 52 |
-
</
|
| 53 |
</fields>
|
| 54 |
</general>
|
| 55 |
<likebutton translate="label">
|
|
@@ -88,6 +90,8 @@
|
|
| 88 |
</productcontent>
|
| 89 |
<layout translate="label">
|
| 90 |
<label>Layout style</label>
|
|
|
|
|
|
|
| 91 |
<frontend_type>select</frontend_type>
|
| 92 |
<source_model>Magazento_Facebook_Adminhtml_Model_System_Config_Source_Layout</source_model>
|
| 93 |
<sort_order>40</sort_order>
|
|
@@ -97,6 +101,8 @@
|
|
| 97 |
</layout>
|
| 98 |
<showfaces translate="lable">
|
| 99 |
<label>Show faces</label>
|
|
|
|
|
|
|
| 100 |
<frontend_type>select</frontend_type>
|
| 101 |
<source_model>adminhtml/system_config_source_yesno</source_model>
|
| 102 |
<sort_order>50</sort_order>
|
|
@@ -106,6 +112,8 @@
|
|
| 106 |
</showfaces>
|
| 107 |
<width translate="lable">
|
| 108 |
<label>Width</label>
|
|
|
|
|
|
|
| 109 |
<frontend_type>text</frontend_type>
|
| 110 |
<sort_order>60</sort_order>
|
| 111 |
<show_in_default>1</show_in_default>
|
|
@@ -114,6 +122,8 @@
|
|
| 114 |
</width>
|
| 115 |
<verb translate="label">
|
| 116 |
<label>Verb to display</label>
|
|
|
|
|
|
|
| 117 |
<frontend_type>select</frontend_type>
|
| 118 |
<source_model>Magazento_Facebook_Adminhtml_Model_System_Config_Source_Verb</source_model>
|
| 119 |
<sort_order>70</sort_order>
|
|
@@ -123,6 +133,8 @@
|
|
| 123 |
</verb>
|
| 124 |
<font translate="label">
|
| 125 |
<label>Font</label>
|
|
|
|
|
|
|
| 126 |
<frontend_type>select</frontend_type>
|
| 127 |
<source_model>Magazento_Facebook_Adminhtml_Model_System_Config_Source_Font</source_model>
|
| 128 |
<sort_order>80</sort_order>
|
|
@@ -132,6 +144,8 @@
|
|
| 132 |
</font>
|
| 133 |
<color translate="label">
|
| 134 |
<label>Color scheme</label>
|
|
|
|
|
|
|
| 135 |
<frontend_type>select</frontend_type>
|
| 136 |
<source_model>Magazento_Facebook_Adminhtml_Model_System_Config_Source_Color</source_model>
|
| 137 |
<sort_order>90</sort_order>
|
|
@@ -177,6 +191,8 @@
|
|
| 177 |
</productcontent>
|
| 178 |
<type translate="label">
|
| 179 |
<label>Type</label>
|
|
|
|
|
|
|
| 180 |
<frontend_type>select</frontend_type>
|
| 181 |
<source_model>Magazento_Facebook_Adminhtml_Model_System_Config_Source_Type</source_model>
|
| 182 |
<sort_order>40</sort_order>
|
|
@@ -222,6 +238,8 @@
|
|
| 222 |
</productcontent>
|
| 223 |
<font translate="label">
|
| 224 |
<label>Font</label>
|
|
|
|
|
|
|
| 225 |
<frontend_type>select</frontend_type>
|
| 226 |
<source_model>Magazento_Facebook_Adminhtml_Model_System_Config_Source_Font</source_model>
|
| 227 |
<sort_order>40</sort_order>
|
|
@@ -248,7 +266,9 @@
|
|
| 248 |
<show_in_store>1</show_in_store>
|
| 249 |
</productcontent>
|
| 250 |
<num_posts translate="lable">
|
| 251 |
-
<label>Number posts
|
|
|
|
|
|
|
| 252 |
<frontend_type>text</frontend_type>
|
| 253 |
<sort_order>20</sort_order>
|
| 254 |
<show_in_default>1</show_in_default>
|
|
@@ -257,6 +277,8 @@
|
|
| 257 |
</num_posts>
|
| 258 |
<width translate="lable">
|
| 259 |
<label>Width</label>
|
|
|
|
|
|
|
| 260 |
<frontend_type>text</frontend_type>
|
| 261 |
<sort_order>30</sort_order>
|
| 262 |
<show_in_default>1</show_in_default>
|
|
@@ -328,6 +350,8 @@
|
|
| 328 |
</rightproductcolumn>
|
| 329 |
<width translate="lable">
|
| 330 |
<label>Width</label>
|
|
|
|
|
|
|
| 331 |
<frontend_type>text</frontend_type>
|
| 332 |
<sort_order>70</sort_order>
|
| 333 |
<show_in_default>1</show_in_default>
|
|
@@ -336,6 +360,8 @@
|
|
| 336 |
</width>
|
| 337 |
<height translate="lable">
|
| 338 |
<label>Height</label>
|
|
|
|
|
|
|
| 339 |
<frontend_type>text</frontend_type>
|
| 340 |
<sort_order>80</sort_order>
|
| 341 |
<show_in_default>1</show_in_default>
|
|
@@ -344,6 +370,8 @@
|
|
| 344 |
</height>
|
| 345 |
<header translate="lable">
|
| 346 |
<label>Header</label>
|
|
|
|
|
|
|
| 347 |
<frontend_type>select</frontend_type>
|
| 348 |
<source_model>adminhtml/system_config_source_yesno</source_model>
|
| 349 |
<sort_order>90</sort_order>
|
|
@@ -353,6 +381,8 @@
|
|
| 353 |
</header>
|
| 354 |
<font translate="label">
|
| 355 |
<label>Font</label>
|
|
|
|
|
|
|
| 356 |
<frontend_type>select</frontend_type>
|
| 357 |
<source_model>Magazento_Facebook_Adminhtml_Model_System_Config_Source_Font</source_model>
|
| 358 |
<sort_order>100</sort_order>
|
|
@@ -362,6 +392,8 @@
|
|
| 362 |
</font>
|
| 363 |
<border_color translate="lable">
|
| 364 |
<label>Border color</label>
|
|
|
|
|
|
|
| 365 |
<frontend_type>text</frontend_type>
|
| 366 |
<sort_order>110</sort_order>
|
| 367 |
<show_in_default>1</show_in_default>
|
|
@@ -442,6 +474,8 @@
|
|
| 442 |
</rightproductcolumn>
|
| 443 |
<width translate="lable">
|
| 444 |
<label>Width</label>
|
|
|
|
|
|
|
| 445 |
<frontend_type>text</frontend_type>
|
| 446 |
<sort_order>70</sort_order>
|
| 447 |
<show_in_default>1</show_in_default>
|
|
@@ -450,6 +484,8 @@
|
|
| 450 |
</width>
|
| 451 |
<height translate="lable">
|
| 452 |
<label>Height</label>
|
|
|
|
|
|
|
| 453 |
<frontend_type>text</frontend_type>
|
| 454 |
<sort_order>80</sort_order>
|
| 455 |
<show_in_default>1</show_in_default>
|
|
@@ -458,6 +494,8 @@
|
|
| 458 |
</height>
|
| 459 |
<header translate="lable">
|
| 460 |
<label>Header</label>
|
|
|
|
|
|
|
| 461 |
<frontend_type>select</frontend_type>
|
| 462 |
<source_model>adminhtml/system_config_source_yesno</source_model>
|
| 463 |
<sort_order>90</sort_order>
|
|
@@ -467,6 +505,8 @@
|
|
| 467 |
</header>
|
| 468 |
<font translate="label">
|
| 469 |
<label>Font</label>
|
|
|
|
|
|
|
| 470 |
<frontend_type>select</frontend_type>
|
| 471 |
<source_model>Magazento_Facebook_Adminhtml_Model_System_Config_Source_Font</source_model>
|
| 472 |
<sort_order>100</sort_order>
|
|
@@ -476,6 +516,8 @@
|
|
| 476 |
</font>
|
| 477 |
<border_color translate="lable">
|
| 478 |
<label>Border color</label>
|
|
|
|
|
|
|
| 479 |
<frontend_type>text</frontend_type>
|
| 480 |
<sort_order>110</sort_order>
|
| 481 |
<show_in_default>1</show_in_default>
|
|
@@ -547,6 +589,8 @@
|
|
| 547 |
</rightproductcolumn>
|
| 548 |
<width translate="lable">
|
| 549 |
<label>Width</label>
|
|
|
|
|
|
|
| 550 |
<frontend_type>text</frontend_type>
|
| 551 |
<sort_order>70</sort_order>
|
| 552 |
<show_in_default>1</show_in_default>
|
|
@@ -555,6 +599,8 @@
|
|
| 555 |
</width>
|
| 556 |
<show_faces translate="lable">
|
| 557 |
<label>Show faces</label>
|
|
|
|
|
|
|
| 558 |
<frontend_type>select</frontend_type>
|
| 559 |
<source_model>adminhtml/system_config_source_yesno</source_model>
|
| 560 |
<sort_order>80</sort_order>
|
|
@@ -564,6 +610,8 @@
|
|
| 564 |
</show_faces>
|
| 565 |
<border_color translate="lable">
|
| 566 |
<label>Border color</label>
|
|
|
|
|
|
|
| 567 |
<frontend_type>text</frontend_type>
|
| 568 |
<sort_order>90</sort_order>
|
| 569 |
<show_in_default>1</show_in_default>
|
|
@@ -572,6 +620,8 @@
|
|
| 572 |
</border_color>
|
| 573 |
<stream translate="lable">
|
| 574 |
<label>Stream</label>
|
|
|
|
|
|
|
| 575 |
<frontend_type>select</frontend_type>
|
| 576 |
<source_model>adminhtml/system_config_source_yesno</source_model>
|
| 577 |
<sort_order>100</sort_order>
|
|
@@ -581,6 +631,8 @@
|
|
| 581 |
</stream>
|
| 582 |
<header translate="lable">
|
| 583 |
<label>Header</label>
|
|
|
|
|
|
|
| 584 |
<frontend_type>select</frontend_type>
|
| 585 |
<source_model>adminhtml/system_config_source_yesno</source_model>
|
| 586 |
<sort_order>110</sort_order>
|
|
@@ -653,6 +705,8 @@
|
|
| 653 |
</rightproductcolumn>
|
| 654 |
<size translate="lable">
|
| 655 |
<label>Size</label>
|
|
|
|
|
|
|
| 656 |
<frontend_type>select</frontend_type>
|
| 657 |
<source_model>Magazento_Facebook_Adminhtml_Model_System_Config_Source_Size</source_model>
|
| 658 |
<sort_order>70</sort_order>
|
|
@@ -662,6 +716,8 @@
|
|
| 662 |
</size>
|
| 663 |
<width translate="lable">
|
| 664 |
<label>Width</label>
|
|
|
|
|
|
|
| 665 |
<frontend_type>text</frontend_type>
|
| 666 |
<sort_order>80</sort_order>
|
| 667 |
<show_in_default>1</show_in_default>
|
|
@@ -670,6 +726,8 @@
|
|
| 670 |
</width>
|
| 671 |
<max_rows translate="label">
|
| 672 |
<label>Max rows</label>
|
|
|
|
|
|
|
| 673 |
<frontend_type>text</frontend_type>
|
| 674 |
<sort_order>90</sort_order>
|
| 675 |
<show_in_default>1</show_in_default>
|
|
@@ -741,6 +799,8 @@
|
|
| 741 |
</rightproductcolumn>
|
| 742 |
<width translate="lable">
|
| 743 |
<label>Width</label>
|
|
|
|
|
|
|
| 744 |
<frontend_type>text</frontend_type>
|
| 745 |
<sort_order>70</sort_order>
|
| 746 |
<show_in_default>1</show_in_default>
|
|
@@ -749,6 +809,8 @@
|
|
| 749 |
</width>
|
| 750 |
<height translate="lable">
|
| 751 |
<label>Height</label>
|
|
|
|
|
|
|
| 752 |
<frontend_type>text</frontend_type>
|
| 753 |
<sort_order>80</sort_order>
|
| 754 |
<show_in_default>1</show_in_default>
|
|
@@ -757,6 +819,8 @@
|
|
| 757 |
</height>
|
| 758 |
<xid translate="lable">
|
| 759 |
<label>Xid</label>
|
|
|
|
|
|
|
| 760 |
<frontend_type>text</frontend_type>
|
| 761 |
<sort_order>90</sort_order>
|
| 762 |
<show_in_default>1</show_in_default>
|
|
@@ -765,6 +829,8 @@
|
|
| 765 |
</xid>
|
| 766 |
<always_post_to_friends translate="lable">
|
| 767 |
<label>Always post to friends</label>
|
|
|
|
|
|
|
| 768 |
<frontend_type>select</frontend_type>
|
| 769 |
<source_model>adminhtml/system_config_source_yesno</source_model>
|
| 770 |
<sort_order>100</sort_order>
|
| 42 |
<show_in_website>1</show_in_website>
|
| 43 |
<show_in_store>1</show_in_store>
|
| 44 |
</appid>
|
| 45 |
+
<fb_page_url translate="label">
|
| 46 |
+
<label>Facebook Page URL</label>
|
| 47 |
+
<comment><![CDATA[ <a href="http://www.facebook.com/pages/create.php">Create Facebook page</a> ]]>
|
| 48 |
+
</comment>
|
| 49 |
<frontend_type>text</frontend_type>
|
| 50 |
<sort_order>30</sort_order>
|
| 51 |
<show_in_default>1</show_in_default>
|
| 52 |
<show_in_website>1</show_in_website>
|
| 53 |
<show_in_store>1</show_in_store>
|
| 54 |
+
</fb_page_url>
|
| 55 |
</fields>
|
| 56 |
</general>
|
| 57 |
<likebutton translate="label">
|
| 90 |
</productcontent>
|
| 91 |
<layout translate="label">
|
| 92 |
<label>Layout style</label>
|
| 93 |
+
<comment><![CDATA[ determines the size and amount of social context next to the button ]]>
|
| 94 |
+
</comment>
|
| 95 |
<frontend_type>select</frontend_type>
|
| 96 |
<source_model>Magazento_Facebook_Adminhtml_Model_System_Config_Source_Layout</source_model>
|
| 97 |
<sort_order>40</sort_order>
|
| 101 |
</layout>
|
| 102 |
<showfaces translate="lable">
|
| 103 |
<label>Show faces</label>
|
| 104 |
+
<comment><![CDATA[ Show profile pictures below the button. ]]>
|
| 105 |
+
</comment>
|
| 106 |
<frontend_type>select</frontend_type>
|
| 107 |
<source_model>adminhtml/system_config_source_yesno</source_model>
|
| 108 |
<sort_order>50</sort_order>
|
| 112 |
</showfaces>
|
| 113 |
<width translate="lable">
|
| 114 |
<label>Width</label>
|
| 115 |
+
<comment><![CDATA[ the width of the plugin, in pixels ]]>
|
| 116 |
+
</comment>
|
| 117 |
<frontend_type>text</frontend_type>
|
| 118 |
<sort_order>60</sort_order>
|
| 119 |
<show_in_default>1</show_in_default>
|
| 122 |
</width>
|
| 123 |
<verb translate="label">
|
| 124 |
<label>Verb to display</label>
|
| 125 |
+
<comment><![CDATA[ The verb to display in the button. Currently only 'like' and 'recommend' are supported. ]]>
|
| 126 |
+
</comment>
|
| 127 |
<frontend_type>select</frontend_type>
|
| 128 |
<source_model>Magazento_Facebook_Adminhtml_Model_System_Config_Source_Verb</source_model>
|
| 129 |
<sort_order>70</sort_order>
|
| 133 |
</verb>
|
| 134 |
<font translate="label">
|
| 135 |
<label>Font</label>
|
| 136 |
+
<comment><![CDATA[ the font of the plugin ]]>
|
| 137 |
+
</comment>
|
| 138 |
<frontend_type>select</frontend_type>
|
| 139 |
<source_model>Magazento_Facebook_Adminhtml_Model_System_Config_Source_Font</source_model>
|
| 140 |
<sort_order>80</sort_order>
|
| 144 |
</font>
|
| 145 |
<color translate="label">
|
| 146 |
<label>Color scheme</label>
|
| 147 |
+
<comment><![CDATA[ The color scheme of the plugin. ]]>
|
| 148 |
+
</comment>
|
| 149 |
<frontend_type>select</frontend_type>
|
| 150 |
<source_model>Magazento_Facebook_Adminhtml_Model_System_Config_Source_Color</source_model>
|
| 151 |
<sort_order>90</sort_order>
|
| 191 |
</productcontent>
|
| 192 |
<type translate="label">
|
| 193 |
<label>Type</label>
|
| 194 |
+
<comment><![CDATA[ The type of the entity. ]]>
|
| 195 |
+
</comment>
|
| 196 |
<frontend_type>select</frontend_type>
|
| 197 |
<source_model>Magazento_Facebook_Adminhtml_Model_System_Config_Source_Type</source_model>
|
| 198 |
<sort_order>40</sort_order>
|
| 238 |
</productcontent>
|
| 239 |
<font translate="label">
|
| 240 |
<label>Font</label>
|
| 241 |
+
<comment><![CDATA[ the font of the plugin ]]>
|
| 242 |
+
</comment>
|
| 243 |
<frontend_type>select</frontend_type>
|
| 244 |
<source_model>Magazento_Facebook_Adminhtml_Model_System_Config_Source_Font</source_model>
|
| 245 |
<sort_order>40</sort_order>
|
| 266 |
<show_in_store>1</show_in_store>
|
| 267 |
</productcontent>
|
| 268 |
<num_posts translate="lable">
|
| 269 |
+
<label>Number of posts</label>
|
| 270 |
+
<comment><![CDATA[ the number of posts to display by default. ]]>
|
| 271 |
+
</comment>
|
| 272 |
<frontend_type>text</frontend_type>
|
| 273 |
<sort_order>20</sort_order>
|
| 274 |
<show_in_default>1</show_in_default>
|
| 277 |
</num_posts>
|
| 278 |
<width translate="lable">
|
| 279 |
<label>Width</label>
|
| 280 |
+
<comment><![CDATA[ the width of the plugin, in pixels ]]>
|
| 281 |
+
</comment>
|
| 282 |
<frontend_type>text</frontend_type>
|
| 283 |
<sort_order>30</sort_order>
|
| 284 |
<show_in_default>1</show_in_default>
|
| 350 |
</rightproductcolumn>
|
| 351 |
<width translate="lable">
|
| 352 |
<label>Width</label>
|
| 353 |
+
<comment><![CDATA[ the width of the plugin, in pixels ]]>
|
| 354 |
+
</comment>
|
| 355 |
<frontend_type>text</frontend_type>
|
| 356 |
<sort_order>70</sort_order>
|
| 357 |
<show_in_default>1</show_in_default>
|
| 360 |
</width>
|
| 361 |
<height translate="lable">
|
| 362 |
<label>Height</label>
|
| 363 |
+
<comment><![CDATA[ The height of the plugin in pixels. ]]>
|
| 364 |
+
</comment>
|
| 365 |
<frontend_type>text</frontend_type>
|
| 366 |
<sort_order>80</sort_order>
|
| 367 |
<show_in_default>1</show_in_default>
|
| 370 |
</height>
|
| 371 |
<header translate="lable">
|
| 372 |
<label>Header</label>
|
| 373 |
+
<comment><![CDATA[ Show the Facebook header on the plugin. ]]>
|
| 374 |
+
</comment>
|
| 375 |
<frontend_type>select</frontend_type>
|
| 376 |
<source_model>adminhtml/system_config_source_yesno</source_model>
|
| 377 |
<sort_order>90</sort_order>
|
| 381 |
</header>
|
| 382 |
<font translate="label">
|
| 383 |
<label>Font</label>
|
| 384 |
+
<comment><![CDATA[ the font of the plugin ]]>
|
| 385 |
+
</comment>
|
| 386 |
<frontend_type>select</frontend_type>
|
| 387 |
<source_model>Magazento_Facebook_Adminhtml_Model_System_Config_Source_Font</source_model>
|
| 388 |
<sort_order>100</sort_order>
|
| 392 |
</font>
|
| 393 |
<border_color translate="lable">
|
| 394 |
<label>Border color</label>
|
| 395 |
+
<comment><![CDATA[ The border color scheme of the plugin, e.g #C4C1BC ]]>
|
| 396 |
+
</comment>
|
| 397 |
<frontend_type>text</frontend_type>
|
| 398 |
<sort_order>110</sort_order>
|
| 399 |
<show_in_default>1</show_in_default>
|
| 474 |
</rightproductcolumn>
|
| 475 |
<width translate="lable">
|
| 476 |
<label>Width</label>
|
| 477 |
+
<comment><![CDATA[ the width of the plugin, in pixels ]]>
|
| 478 |
+
</comment>
|
| 479 |
<frontend_type>text</frontend_type>
|
| 480 |
<sort_order>70</sort_order>
|
| 481 |
<show_in_default>1</show_in_default>
|
| 484 |
</width>
|
| 485 |
<height translate="lable">
|
| 486 |
<label>Height</label>
|
| 487 |
+
<comment><![CDATA[ The height of the plugin in pixels. ]]>
|
| 488 |
+
</comment>
|
| 489 |
<frontend_type>text</frontend_type>
|
| 490 |
<sort_order>80</sort_order>
|
| 491 |
<show_in_default>1</show_in_default>
|
| 494 |
</height>
|
| 495 |
<header translate="lable">
|
| 496 |
<label>Header</label>
|
| 497 |
+
<comment><![CDATA[ Show the Facebook header on the plugin. ]]>
|
| 498 |
+
</comment>
|
| 499 |
<frontend_type>select</frontend_type>
|
| 500 |
<source_model>adminhtml/system_config_source_yesno</source_model>
|
| 501 |
<sort_order>90</sort_order>
|
| 505 |
</header>
|
| 506 |
<font translate="label">
|
| 507 |
<label>Font</label>
|
| 508 |
+
<comment><![CDATA[ the font of the plugin ]]>
|
| 509 |
+
</comment>
|
| 510 |
<frontend_type>select</frontend_type>
|
| 511 |
<source_model>Magazento_Facebook_Adminhtml_Model_System_Config_Source_Font</source_model>
|
| 512 |
<sort_order>100</sort_order>
|
| 516 |
</font>
|
| 517 |
<border_color translate="lable">
|
| 518 |
<label>Border color</label>
|
| 519 |
+
<comment><![CDATA[ The border color scheme of the plugin, e.g #C4C1BC ]]>
|
| 520 |
+
</comment>
|
| 521 |
<frontend_type>text</frontend_type>
|
| 522 |
<sort_order>110</sort_order>
|
| 523 |
<show_in_default>1</show_in_default>
|
| 589 |
</rightproductcolumn>
|
| 590 |
<width translate="lable">
|
| 591 |
<label>Width</label>
|
| 592 |
+
<comment><![CDATA[ the width of the plugin, in pixels ]]>
|
| 593 |
+
</comment>
|
| 594 |
<frontend_type>text</frontend_type>
|
| 595 |
<sort_order>70</sort_order>
|
| 596 |
<show_in_default>1</show_in_default>
|
| 599 |
</width>
|
| 600 |
<show_faces translate="lable">
|
| 601 |
<label>Show faces</label>
|
| 602 |
+
<comment><![CDATA[ Show profile pictures below the button. ]]>
|
| 603 |
+
</comment>
|
| 604 |
<frontend_type>select</frontend_type>
|
| 605 |
<source_model>adminhtml/system_config_source_yesno</source_model>
|
| 606 |
<sort_order>80</sort_order>
|
| 610 |
</show_faces>
|
| 611 |
<border_color translate="lable">
|
| 612 |
<label>Border color</label>
|
| 613 |
+
<comment><![CDATA[ The border color scheme of the plugin, e.g #C4C1BC ]]>
|
| 614 |
+
</comment>
|
| 615 |
<frontend_type>text</frontend_type>
|
| 616 |
<sort_order>90</sort_order>
|
| 617 |
<show_in_default>1</show_in_default>
|
| 620 |
</border_color>
|
| 621 |
<stream translate="lable">
|
| 622 |
<label>Stream</label>
|
| 623 |
+
<comment><![CDATA[ Show the profile stream for the public profile. ]]>
|
| 624 |
+
</comment>
|
| 625 |
<frontend_type>select</frontend_type>
|
| 626 |
<source_model>adminhtml/system_config_source_yesno</source_model>
|
| 627 |
<sort_order>100</sort_order>
|
| 631 |
</stream>
|
| 632 |
<header translate="lable">
|
| 633 |
<label>Header</label>
|
| 634 |
+
<comment><![CDATA[ Show the Facebook header on the plugin. ]]>
|
| 635 |
+
</comment>
|
| 636 |
<frontend_type>select</frontend_type>
|
| 637 |
<source_model>adminhtml/system_config_source_yesno</source_model>
|
| 638 |
<sort_order>110</sort_order>
|
| 705 |
</rightproductcolumn>
|
| 706 |
<size translate="lable">
|
| 707 |
<label>Size</label>
|
| 708 |
+
<comment><![CDATA[ Determines the size of the images and social context in the facepile. ]]>
|
| 709 |
+
</comment>
|
| 710 |
<frontend_type>select</frontend_type>
|
| 711 |
<source_model>Magazento_Facebook_Adminhtml_Model_System_Config_Source_Size</source_model>
|
| 712 |
<sort_order>70</sort_order>
|
| 716 |
</size>
|
| 717 |
<width translate="lable">
|
| 718 |
<label>Width</label>
|
| 719 |
+
<comment><![CDATA[ the width of the plugin, in pixels ]]>
|
| 720 |
+
</comment>
|
| 721 |
<frontend_type>text</frontend_type>
|
| 722 |
<sort_order>80</sort_order>
|
| 723 |
<show_in_default>1</show_in_default>
|
| 726 |
</width>
|
| 727 |
<max_rows translate="label">
|
| 728 |
<label>Max rows</label>
|
| 729 |
+
<comment><![CDATA[ The maximum number of rows of profile pictures to show. ]]>
|
| 730 |
+
</comment>
|
| 731 |
<frontend_type>text</frontend_type>
|
| 732 |
<sort_order>90</sort_order>
|
| 733 |
<show_in_default>1</show_in_default>
|
| 799 |
</rightproductcolumn>
|
| 800 |
<width translate="lable">
|
| 801 |
<label>Width</label>
|
| 802 |
+
<comment><![CDATA[ the width of the plugin, in pixels ]]>
|
| 803 |
+
</comment>
|
| 804 |
<frontend_type>text</frontend_type>
|
| 805 |
<sort_order>70</sort_order>
|
| 806 |
<show_in_default>1</show_in_default>
|
| 809 |
</width>
|
| 810 |
<height translate="lable">
|
| 811 |
<label>Height</label>
|
| 812 |
+
<comment><![CDATA[ The height of the plugin in pixels. ]]>
|
| 813 |
+
</comment>
|
| 814 |
<frontend_type>text</frontend_type>
|
| 815 |
<sort_order>80</sort_order>
|
| 816 |
<show_in_default>1</show_in_default>
|
| 819 |
</height>
|
| 820 |
<xid translate="lable">
|
| 821 |
<label>Xid</label>
|
| 822 |
+
<comment><![CDATA[ If you have multiple live stream boxes on the same page, specify a unique `xid` for each. ]]>
|
| 823 |
+
</comment>
|
| 824 |
<frontend_type>text</frontend_type>
|
| 825 |
<sort_order>90</sort_order>
|
| 826 |
<show_in_default>1</show_in_default>
|
| 829 |
</xid>
|
| 830 |
<always_post_to_friends translate="lable">
|
| 831 |
<label>Always post to friends</label>
|
| 832 |
+
<comment><![CDATA[ If set, all user posts will always go to their profile. This option should only be used when users' posts are likely to make sense outside of the context of the event. ]]>
|
| 833 |
+
</comment>
|
| 834 |
<frontend_type>select</frontend_type>
|
| 835 |
<source_model>adminhtml/system_config_source_yesno</source_model>
|
| 836 |
<sort_order>100</sort_order>
|
app/design/frontend/default/default/template/magazento/facebook/likebox.phtml
CHANGED
|
@@ -1,6 +1,9 @@
|
|
| 1 |
<?php if (Mage::getStoreConfig('facebook/general/enabled')) : ?>
|
| 2 |
<div id="fb-root"></div>
|
| 3 |
<script src="http://connect.facebook.net/<?php echo Mage::app()->getLocale()->getDefaultLocale(); //en_US ?>/all.js#xfbml=1"></script>
|
| 4 |
-
<fb:like-box href="<?php echo
|
| 5 |
<p class="magazento-powered">Powered by <a href="http://www.magazento.com/" target="_blank">Magazento</a></p>
|
| 6 |
-
<?php endif; ?>
|
|
|
|
|
|
|
|
|
| 1 |
<?php if (Mage::getStoreConfig('facebook/general/enabled')) : ?>
|
| 2 |
<div id="fb-root"></div>
|
| 3 |
<script src="http://connect.facebook.net/<?php echo Mage::app()->getLocale()->getDefaultLocale(); //en_US ?>/all.js#xfbml=1"></script>
|
| 4 |
+
<fb:like-box href="<?php echo Mage::getStoreConfig('facebook/general/fb_page_url'); ?>" width="<?php echo Mage::getStoreConfig('facebook/likebox/width'); ?>" show_faces="<?php echo (Mage::getStoreConfig('facebook/likebox/showfaces')) ? 'true' : 'false'; ?>" border_color="<?php echo Mage::getStoreConfig('facebook/likebox/border_color'); ?>" stream="<?php echo (Mage::getStoreConfig('facebook/likebox/stream')) ? 'true' : 'false'; ?>" header="<?php echo (Mage::getStoreConfig('facebook/likebox/header')) ? 'true' : 'false'; ?>"></fb:like-box>
|
| 5 |
<p class="magazento-powered">Powered by <a href="http://www.magazento.com/" target="_blank">Magazento</a></p>
|
| 6 |
+
<?php endif; ?>
|
| 7 |
+
|
| 8 |
+
|
| 9 |
+
|
package.xml
CHANGED
|
@@ -1,18 +1,18 @@
|
|
| 1 |
<?xml version="1.0"?>
|
| 2 |
<package>
|
| 3 |
<name>Magazento_Facebook_Widgets</name>
|
| 4 |
-
<version>1.0.
|
| 5 |
<stability>stable</stability>
|
| 6 |
<license>GPL</license>
|
| 7 |
<channel>community</channel>
|
| 8 |
<extends/>
|
| 9 |
<summary>All-In-One Facebook Widgets Integration</summary>
|
| 10 |
<description>All-In-One Facebook Widgets Integration</description>
|
| 11 |
-
<notes>
|
| 12 |
<authors><author><name>Dmitry Poddubny</name><user>Magazento</user><email>magazento@gmail.com</email></author></authors>
|
| 13 |
-
<date>2011-06-
|
| 14 |
-
<time>17:
|
| 15 |
-
<contents><target name="magecommunity"><dir name="Magazento"><dir name="Facebook"><dir name="Adminhtml"><dir name="Model"><dir name="System"><dir name="Config"><dir name="Source"><file name="Color.php" hash="f4ba3832ead854e6072ec80f68a80726"/><file name="Font.php" hash="6ce9fbea979f02285201c25cbc0260c5"/><file name="Layout.php" hash="26360f206d212c8a0c0e599542c0ea58"/><file name="Size.php" hash="0309dde39015803207494f0b48f68902"/><file name="Type.php" hash="1442f1c92f340698c846efdad8d8ba17"/><file name="Verb.php" hash="09d1040546f39d5e23dc971534dce0f4"/></dir></dir></dir></dir></dir><dir name="Block"><file name="Developer.php" hash="64f326c09669b920a8222669bae786c1"/></dir><dir name="Helper"><file name="Data.php" hash="5695321065576db4feb4f5b716d661db"/></dir><dir name="etc"><file name="config.xml" hash="
|
| 16 |
<compatible/>
|
| 17 |
<dependencies><required><php><min>5.0.0</min><max>6.0.0</max></php></required></dependencies>
|
| 18 |
</package>
|
| 1 |
<?xml version="1.0"?>
|
| 2 |
<package>
|
| 3 |
<name>Magazento_Facebook_Widgets</name>
|
| 4 |
+
<version>1.0.2</version>
|
| 5 |
<stability>stable</stability>
|
| 6 |
<license>GPL</license>
|
| 7 |
<channel>community</channel>
|
| 8 |
<extends/>
|
| 9 |
<summary>All-In-One Facebook Widgets Integration</summary>
|
| 10 |
<description>All-In-One Facebook Widgets Integration</description>
|
| 11 |
+
<notes>Likebox works now, It is availaible to set Facebook Page URL. Were added comments to all options.</notes>
|
| 12 |
<authors><author><name>Dmitry Poddubny</name><user>Magazento</user><email>magazento@gmail.com</email></author></authors>
|
| 13 |
+
<date>2011-06-25</date>
|
| 14 |
+
<time>17:23:22</time>
|
| 15 |
+
<contents><target name="magecommunity"><dir name="Magazento"><dir name="Facebook"><dir name="Adminhtml"><dir name="Model"><dir name="System"><dir name="Config"><dir name="Source"><file name="Color.php" hash="f4ba3832ead854e6072ec80f68a80726"/><file name="Font.php" hash="6ce9fbea979f02285201c25cbc0260c5"/><file name="Layout.php" hash="26360f206d212c8a0c0e599542c0ea58"/><file name="Size.php" hash="0309dde39015803207494f0b48f68902"/><file name="Type.php" hash="1442f1c92f340698c846efdad8d8ba17"/><file name="Verb.php" hash="09d1040546f39d5e23dc971534dce0f4"/></dir></dir></dir></dir></dir><dir name="Block"><file name="Developer.php" hash="64f326c09669b920a8222669bae786c1"/></dir><dir name="Helper"><file name="Data.php" hash="5695321065576db4feb4f5b716d661db"/></dir><dir name="etc"><file name="config.xml" hash="a8f782b45b53a318810076f4265dd9f6"/><file name="system.xml" hash="7a21bcdea73cf6e28f7c02a21442c914"/></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Magazento_Facebook.xml" hash="eff07e7edbfd8f6c049bcca3073dbca3"/></dir></target><target name="mageskin"><dir name="frontend"><dir name="default"><dir name="default"><dir name="magazento"><dir name="facebook"><file name="fb.css" hash="cc56a91057a06413284ed11c63d725ea"/><file name="promo.jpg" hash="88520d456df68c98130433b5184b8e7f"/></dir></dir></dir></dir></dir></target><target name="magedesign"><dir name="frontend"><dir name="default"><dir name="default"><dir name="layout"><file name="magazento_facebook.xml" hash="67b8632051a18fdb25994a8468b0e128"/></dir><dir name="template"><dir name="magazento"><dir name="facebook"><file name="activity.phtml" hash="d4278e04bad4122cd614e21ca361a5dd"/><file name="comments.phtml" hash="db21f3759a0b9a2293b103d1c05b0a58"/><file name="facepile.phtml" hash="0607dcae9706c735ebc0642f5edb4f62"/><file name="graph_like.phtml" hash="12a46d5ebe749228b11881c7ed4850c5"/><file name="graph_like_head.phtml" hash="bd12d493a1fe2831a8f88bc01dd6b4c2"/><file name="like.phtml" hash="8ca560d0bcd62a345974c904ec97ea40"/><file name="likebox.phtml" hash="174993da918b8498a2adfd4df5c66eb4"/><file name="livestream.phtml" hash="bb3ce7ee21ede8b808e50bf57d667d2e"/><file name="recommendations.phtml" hash="cf5e5741902673a2cdc3a930028afff7"/><file name="send.phtml" hash="7bac808819c9e11e4eae1ff4491dcbae"/></dir></dir></dir></dir></dir></dir></target></contents>
|
| 16 |
<compatible/>
|
| 17 |
<dependencies><required><php><min>5.0.0</min><max>6.0.0</max></php></required></dependencies>
|
| 18 |
</package>
|
