Magazento_Social - Version 1.0.0

Version Notes

1.0.0

Download this release

Release Info

Developer Magento Core Team
Extension Magazento_Social
Version 1.0.0
Comparing to
See all releases


Version 1.0.0

Files changed (231) hide show
  1. app/code/community/Magazento/Social/Block/Developer.php +125 -0
  2. app/code/community/Magazento/Social/Block/Facebook.php +44 -0
  3. app/code/community/Magazento/Social/Block/Facebookimage.php +21 -0
  4. app/code/community/Magazento/Social/Block/Google.php +37 -0
  5. app/code/community/Magazento/Social/Block/Googleimage.php +21 -0
  6. app/code/community/Magazento/Social/Block/Linkedin.php +42 -0
  7. app/code/community/Magazento/Social/Block/Linkedinimage.php +21 -0
  8. app/code/community/Magazento/Social/Block/Twitter.php +49 -0
  9. app/code/community/Magazento/Social/Block/Twitterimage.php +21 -0
  10. app/code/community/Magazento/Social/Block/Youtube.php +38 -0
  11. app/code/community/Magazento/Social/Block/Youtubeimage.php +21 -0
  12. app/code/community/Magazento/Social/Helper/Data.php +5 -0
  13. app/code/community/Magazento/Social/Model/Item.php +22 -0
  14. app/code/community/Magazento/Social/Model/Mysql4/Item.php +29 -0
  15. app/code/community/Magazento/Social/Model/Mysql4/Item/Collection.php +17 -0
  16. app/code/community/Magazento/Social/Model/Source/Colorscheme.php +11 -0
  17. app/code/community/Magazento/Social/Model/Source/Language.php +30 -0
  18. app/code/community/Magazento/Social/Model/Source/Languagegoogle.php +54 -0
  19. app/code/community/Magazento/Social/Model/Source/Locale.php +88 -0
  20. app/code/community/Magazento/Social/Model/Source/Order.php +11 -0
  21. app/code/community/Magazento/Social/Model/Source/Position.php +11 -0
  22. app/code/community/Magazento/Social/Model/Source/Positionbutton.php +13 -0
  23. app/code/community/Magazento/Social/Model/Source/Positionvertical.php +11 -0
  24. app/code/community/Magazento/Social/controllers/.DS_Store +0 -0
  25. app/code/community/Magazento/Social/controllers/CronController.php +60 -0
  26. app/code/community/Magazento/Social/etc/config.xml +250 -0
  27. app/code/community/Magazento/Social/etc/system.xml +904 -0
  28. app/code/community/Magazento/Social/sql/social_setup/mysql4-install-1.0.0.php +26 -0
  29. app/design/frontend/base/default/layout/magazento_social.xml +19 -0
  30. app/design/frontend/base/default/template/magazento_social/facebook.phtml +72 -0
  31. app/design/frontend/base/default/template/magazento_social/google.phtml +77 -0
  32. app/design/frontend/base/default/template/magazento_social/linkedin.phtml +71 -0
  33. app/design/frontend/base/default/template/magazento_social/list.phtml +19 -0
  34. app/design/frontend/base/default/template/magazento_social/twitter.phtml +86 -0
  35. app/design/frontend/base/default/template/magazento_social/youtube.phtml +79 -0
  36. app/etc/modules/Magazento_Social.xml +9 -0
  37. package.xml +18 -0
  38. skin/frontend/base/default/magazento_social/css/fblb.css +1179 -0
  39. skin/frontend/base/default/magazento_social/css/ie7.css +25 -0
  40. skin/frontend/base/default/magazento_social/css/img/fb1-left-close.png +0 -0
  41. skin/frontend/base/default/magazento_social/css/img/fb1-left.png +0 -0
  42. skin/frontend/base/default/magazento_social/css/img/fb1-right-close.png +0 -0
  43. skin/frontend/base/default/magazento_social/css/img/fb1-right.png +0 -0
  44. skin/frontend/base/default/magazento_social/css/img/fb11-left-close.png +0 -0
  45. skin/frontend/base/default/magazento_social/css/img/fb11-left.png +0 -0
  46. skin/frontend/base/default/magazento_social/css/img/fb11-right-close.png +0 -0
  47. skin/frontend/base/default/magazento_social/css/img/fb11-right.png +0 -0
  48. skin/frontend/base/default/magazento_social/css/img/fb12-left-close.png +0 -0
  49. skin/frontend/base/default/magazento_social/css/img/fb12-left.png +0 -0
  50. skin/frontend/base/default/magazento_social/css/img/fb12-right-close.png +0 -0
  51. skin/frontend/base/default/magazento_social/css/img/fb12-right.png +0 -0
  52. skin/frontend/base/default/magazento_social/css/img/fb2-left-close.png +0 -0
  53. skin/frontend/base/default/magazento_social/css/img/fb2-left.png +0 -0
  54. skin/frontend/base/default/magazento_social/css/img/fb2-right-close.png +0 -0
  55. skin/frontend/base/default/magazento_social/css/img/fb2-right.png +0 -0
  56. skin/frontend/base/default/magazento_social/css/img/fb3-left-close.png +0 -0
  57. skin/frontend/base/default/magazento_social/css/img/fb3-left.png +0 -0
  58. skin/frontend/base/default/magazento_social/css/img/fb3-right-close.png +0 -0
  59. skin/frontend/base/default/magazento_social/css/img/fb3-right.png +0 -0
  60. skin/frontend/base/default/magazento_social/css/img/fb4-left-close.png +0 -0
  61. skin/frontend/base/default/magazento_social/css/img/fb4-left.png +0 -0
  62. skin/frontend/base/default/magazento_social/css/img/fb4-right-close.png +0 -0
  63. skin/frontend/base/default/magazento_social/css/img/fb4-right.png +0 -0
  64. skin/frontend/base/default/magazento_social/css/img/fb5-left-close.png +0 -0
  65. skin/frontend/base/default/magazento_social/css/img/fb5-left.png +0 -0
  66. skin/frontend/base/default/magazento_social/css/img/fb5-right-close.png +0 -0
  67. skin/frontend/base/default/magazento_social/css/img/fb5-right.png +0 -0
  68. skin/frontend/base/default/magazento_social/css/img/fb6-left-close.png +0 -0
  69. skin/frontend/base/default/magazento_social/css/img/fb6-left.png +0 -0
  70. skin/frontend/base/default/magazento_social/css/img/fb6-right-close.png +0 -0
  71. skin/frontend/base/default/magazento_social/css/img/fb6-right.png +0 -0
  72. skin/frontend/base/default/magazento_social/css/img/fb7-left-close.png +0 -0
  73. skin/frontend/base/default/magazento_social/css/img/fb7-left.png +0 -0
  74. skin/frontend/base/default/magazento_social/css/img/fb7-right-close.png +0 -0
  75. skin/frontend/base/default/magazento_social/css/img/fb7-right.png +0 -0
  76. skin/frontend/base/default/magazento_social/css/img/fb8-left-close.png +0 -0
  77. skin/frontend/base/default/magazento_social/css/img/fb8-left.png +0 -0
  78. skin/frontend/base/default/magazento_social/css/img/fb8-right-close.png +0 -0
  79. skin/frontend/base/default/magazento_social/css/img/fb8-right.png +0 -0
  80. skin/frontend/base/default/magazento_social/css/img/fb9-left-close.png +0 -0
  81. skin/frontend/base/default/magazento_social/css/img/fb9-left.png +0 -0
  82. skin/frontend/base/default/magazento_social/css/img/fb9-right-close.png +0 -0
  83. skin/frontend/base/default/magazento_social/css/img/fb9-right.png +0 -0
  84. skin/frontend/base/default/magazento_social/css/img/fb_loading.gif +0 -0
  85. skin/frontend/base/default/magazento_social/css/img/gp1-left-close.png +0 -0
  86. skin/frontend/base/default/magazento_social/css/img/gp1-left.png +0 -0
  87. skin/frontend/base/default/magazento_social/css/img/gp1-right-close.png +0 -0
  88. skin/frontend/base/default/magazento_social/css/img/gp1-right.png +0 -0
  89. skin/frontend/base/default/magazento_social/css/img/gp11-left-close.png +0 -0
  90. skin/frontend/base/default/magazento_social/css/img/gp11-left.png +0 -0
  91. skin/frontend/base/default/magazento_social/css/img/gp11-right-close.png +0 -0
  92. skin/frontend/base/default/magazento_social/css/img/gp11-right.png +0 -0
  93. skin/frontend/base/default/magazento_social/css/img/gp12-left-close.png +0 -0
  94. skin/frontend/base/default/magazento_social/css/img/gp12-left.png +0 -0
  95. skin/frontend/base/default/magazento_social/css/img/gp12-right-close.png +0 -0
  96. skin/frontend/base/default/magazento_social/css/img/gp12-right.png +0 -0
  97. skin/frontend/base/default/magazento_social/css/img/gp13-left-close.png +0 -0
  98. skin/frontend/base/default/magazento_social/css/img/gp13-left.png +0 -0
  99. skin/frontend/base/default/magazento_social/css/img/gp13-right-close.png +0 -0
  100. skin/frontend/base/default/magazento_social/css/img/gp13-right.png +0 -0
  101. skin/frontend/base/default/magazento_social/css/img/gp14-left-close.png +0 -0
  102. skin/frontend/base/default/magazento_social/css/img/gp14-left.png +0 -0
  103. skin/frontend/base/default/magazento_social/css/img/gp14-right-close.png +0 -0
  104. skin/frontend/base/default/magazento_social/css/img/gp14-right.png +0 -0
  105. skin/frontend/base/default/magazento_social/css/img/gp2-left-close.png +0 -0
  106. skin/frontend/base/default/magazento_social/css/img/gp2-left.png +0 -0
  107. skin/frontend/base/default/magazento_social/css/img/gp2-right-close.png +0 -0
  108. skin/frontend/base/default/magazento_social/css/img/gp2-right.png +0 -0
  109. skin/frontend/base/default/magazento_social/css/img/gp3-left-close.png +0 -0
  110. skin/frontend/base/default/magazento_social/css/img/gp3-left.png +0 -0
  111. skin/frontend/base/default/magazento_social/css/img/gp3-right-close.png +0 -0
  112. skin/frontend/base/default/magazento_social/css/img/gp3-right.png +0 -0
  113. skin/frontend/base/default/magazento_social/css/img/gp7-left-close.png +0 -0
  114. skin/frontend/base/default/magazento_social/css/img/gp7-left.png +0 -0
  115. skin/frontend/base/default/magazento_social/css/img/gp7-right-close.png +0 -0
  116. skin/frontend/base/default/magazento_social/css/img/gp7-right.png +0 -0
  117. skin/frontend/base/default/magazento_social/css/img/gp8-left-close.png +0 -0
  118. skin/frontend/base/default/magazento_social/css/img/gp8-left.png +0 -0
  119. skin/frontend/base/default/magazento_social/css/img/gp8-right-close.png +0 -0
  120. skin/frontend/base/default/magazento_social/css/img/gp8-right.png +0 -0
  121. skin/frontend/base/default/magazento_social/css/img/gp9-left-close.png +0 -0
  122. skin/frontend/base/default/magazento_social/css/img/gp9-left.png +0 -0
  123. skin/frontend/base/default/magazento_social/css/img/gp9-right-close.png +0 -0
  124. skin/frontend/base/default/magazento_social/css/img/gp9-right.png +0 -0
  125. skin/frontend/base/default/magazento_social/css/img/index.html +0 -0
  126. skin/frontend/base/default/magazento_social/css/img/li1-left-close.png +0 -0
  127. skin/frontend/base/default/magazento_social/css/img/li1-left.png +0 -0
  128. skin/frontend/base/default/magazento_social/css/img/li1-right-close.png +0 -0
  129. skin/frontend/base/default/magazento_social/css/img/li1-right.png +0 -0
  130. skin/frontend/base/default/magazento_social/css/img/li10-left-close.png +0 -0
  131. skin/frontend/base/default/magazento_social/css/img/li10-left.png +0 -0
  132. skin/frontend/base/default/magazento_social/css/img/li10-right-close.png +0 -0
  133. skin/frontend/base/default/magazento_social/css/img/li10-right.png +0 -0
  134. skin/frontend/base/default/magazento_social/css/img/li11-left-close.png +0 -0
  135. skin/frontend/base/default/magazento_social/css/img/li11-left.png +0 -0
  136. skin/frontend/base/default/magazento_social/css/img/li11-right-close.png +0 -0
  137. skin/frontend/base/default/magazento_social/css/img/li11-right.png +0 -0
  138. skin/frontend/base/default/magazento_social/css/img/li12-left-close.png +0 -0
  139. skin/frontend/base/default/magazento_social/css/img/li12-left.png +0 -0
  140. skin/frontend/base/default/magazento_social/css/img/li12-right-close.png +0 -0
  141. skin/frontend/base/default/magazento_social/css/img/li12-right.png +0 -0
  142. skin/frontend/base/default/magazento_social/css/img/li2-left-close.png +0 -0
  143. skin/frontend/base/default/magazento_social/css/img/li2-left.png +0 -0
  144. skin/frontend/base/default/magazento_social/css/img/li2-right-close.png +0 -0
  145. skin/frontend/base/default/magazento_social/css/img/li2-right.png +0 -0
  146. skin/frontend/base/default/magazento_social/css/img/li3-left-close.png +0 -0
  147. skin/frontend/base/default/magazento_social/css/img/li3-left.png +0 -0
  148. skin/frontend/base/default/magazento_social/css/img/li3-right-close.png +0 -0
  149. skin/frontend/base/default/magazento_social/css/img/li3-right.png +0 -0
  150. skin/frontend/base/default/magazento_social/css/img/li6-left-close.png +0 -0
  151. skin/frontend/base/default/magazento_social/css/img/li6-left.png +0 -0
  152. skin/frontend/base/default/magazento_social/css/img/li6-right-close.png +0 -0
  153. skin/frontend/base/default/magazento_social/css/img/li6-right.png +0 -0
  154. skin/frontend/base/default/magazento_social/css/img/li7-left-close.png +0 -0
  155. skin/frontend/base/default/magazento_social/css/img/li7-left.png +0 -0
  156. skin/frontend/base/default/magazento_social/css/img/li7-right-close.png +0 -0
  157. skin/frontend/base/default/magazento_social/css/img/li7-right.png +0 -0
  158. skin/frontend/base/default/magazento_social/css/img/li8-left-close.png +0 -0
  159. skin/frontend/base/default/magazento_social/css/img/li8-left.png +0 -0
  160. skin/frontend/base/default/magazento_social/css/img/li8-right-close.png +0 -0
  161. skin/frontend/base/default/magazento_social/css/img/li8-right.png +0 -0
  162. skin/frontend/base/default/magazento_social/css/img/li9-left-close.png +0 -0
  163. skin/frontend/base/default/magazento_social/css/img/li9-left.png +0 -0
  164. skin/frontend/base/default/magazento_social/css/img/li9-right-close.png +0 -0
  165. skin/frontend/base/default/magazento_social/css/img/li9-right.png +0 -0
  166. skin/frontend/base/default/magazento_social/css/img/tw1-left-close.png +0 -0
  167. skin/frontend/base/default/magazento_social/css/img/tw1-left.png +0 -0
  168. skin/frontend/base/default/magazento_social/css/img/tw1-right-close.png +0 -0
  169. skin/frontend/base/default/magazento_social/css/img/tw1-right.png +0 -0
  170. skin/frontend/base/default/magazento_social/css/img/tw11-left-close.png +0 -0
  171. skin/frontend/base/default/magazento_social/css/img/tw11-left.png +0 -0
  172. skin/frontend/base/default/magazento_social/css/img/tw11-right-close.png +0 -0
  173. skin/frontend/base/default/magazento_social/css/img/tw11-right.png +0 -0
  174. skin/frontend/base/default/magazento_social/css/img/tw12-left-close.png +0 -0
  175. skin/frontend/base/default/magazento_social/css/img/tw12-left.png +0 -0
  176. skin/frontend/base/default/magazento_social/css/img/tw12-right-close.png +0 -0
  177. skin/frontend/base/default/magazento_social/css/img/tw12-right.png +0 -0
  178. skin/frontend/base/default/magazento_social/css/img/tw2-left-close.png +0 -0
  179. skin/frontend/base/default/magazento_social/css/img/tw2-left.png +0 -0
  180. skin/frontend/base/default/magazento_social/css/img/tw2-right-close.png +0 -0
  181. skin/frontend/base/default/magazento_social/css/img/tw2-right.png +0 -0
  182. skin/frontend/base/default/magazento_social/css/img/tw3-left-close.png +0 -0
  183. skin/frontend/base/default/magazento_social/css/img/tw3-left.png +0 -0
  184. skin/frontend/base/default/magazento_social/css/img/tw3-right-close.png +0 -0
  185. skin/frontend/base/default/magazento_social/css/img/tw3-right.png +0 -0
  186. skin/frontend/base/default/magazento_social/css/img/tw7-left-close.png +0 -0
  187. skin/frontend/base/default/magazento_social/css/img/tw7-left.png +0 -0
  188. skin/frontend/base/default/magazento_social/css/img/tw7-right-close.png +0 -0
  189. skin/frontend/base/default/magazento_social/css/img/tw7-right.png +0 -0
  190. skin/frontend/base/default/magazento_social/css/img/tw8-left-close.png +0 -0
  191. skin/frontend/base/default/magazento_social/css/img/tw8-left.png +0 -0
  192. skin/frontend/base/default/magazento_social/css/img/tw8-right-close.png +0 -0
  193. skin/frontend/base/default/magazento_social/css/img/tw8-right.png +0 -0
  194. skin/frontend/base/default/magazento_social/css/img/tw9-left-close.png +0 -0
  195. skin/frontend/base/default/magazento_social/css/img/tw9-left.png +0 -0
  196. skin/frontend/base/default/magazento_social/css/img/tw9-right-close.png +0 -0
  197. skin/frontend/base/default/magazento_social/css/img/tw9-right.png +0 -0
  198. skin/frontend/base/default/magazento_social/css/img/yt1-left-close.png +0 -0
  199. skin/frontend/base/default/magazento_social/css/img/yt1-left.png +0 -0
  200. skin/frontend/base/default/magazento_social/css/img/yt1-right-close.png +0 -0
  201. skin/frontend/base/default/magazento_social/css/img/yt1-right.png +0 -0
  202. skin/frontend/base/default/magazento_social/css/img/yt11-left-close.png +0 -0
  203. skin/frontend/base/default/magazento_social/css/img/yt11-left.png +0 -0
  204. skin/frontend/base/default/magazento_social/css/img/yt11-right-close.png +0 -0
  205. skin/frontend/base/default/magazento_social/css/img/yt11-right.png +0 -0
  206. skin/frontend/base/default/magazento_social/css/img/yt12-left-close.png +0 -0
  207. skin/frontend/base/default/magazento_social/css/img/yt12-left.png +0 -0
  208. skin/frontend/base/default/magazento_social/css/img/yt12-right-close.png +0 -0
  209. skin/frontend/base/default/magazento_social/css/img/yt12-right.png +0 -0
  210. skin/frontend/base/default/magazento_social/css/img/yt3-left-close.png +0 -0
  211. skin/frontend/base/default/magazento_social/css/img/yt3-left.png +0 -0
  212. skin/frontend/base/default/magazento_social/css/img/yt3-right-close.png +0 -0
  213. skin/frontend/base/default/magazento_social/css/img/yt3-right.png +0 -0
  214. skin/frontend/base/default/magazento_social/css/img/yt7-left-close.png +0 -0
  215. skin/frontend/base/default/magazento_social/css/img/yt7-left.png +0 -0
  216. skin/frontend/base/default/magazento_social/css/img/yt7-right-close.png +0 -0
  217. skin/frontend/base/default/magazento_social/css/img/yt7-right.png +0 -0
  218. skin/frontend/base/default/magazento_social/css/img/yt9-left-close.png +0 -0
  219. skin/frontend/base/default/magazento_social/css/img/yt9-left.png +0 -0
  220. skin/frontend/base/default/magazento_social/css/img/yt9-right-close.png +0 -0
  221. skin/frontend/base/default/magazento_social/css/img/yt9-right.png +0 -0
  222. skin/frontend/base/default/magazento_social/js/colorpicker.js +484 -0
  223. skin/frontend/base/default/magazento_social/js/jquery-ui-1.8.16.custom.min.js +69 -0
  224. skin/frontend/base/default/magazento_social/js/userscripts-ie7.js +10 -0
  225. skin/frontend/base/default/magazento_social/js/userscripts-mobile.js +172 -0
  226. skin/frontend/base/default/magazento_social/js/userscripts.js +165 -0
  227. skin/frontend/base/default/magazento_social/system/facebook.jpg +0 -0
  228. skin/frontend/base/default/magazento_social/system/google.jpg +0 -0
  229. skin/frontend/base/default/magazento_social/system/linkedin.jpg +0 -0
  230. skin/frontend/base/default/magazento_social/system/twitter.jpg +0 -0
  231. skin/frontend/base/default/magazento_social/system/youtube.jpg +0 -0
app/code/community/Magazento/Social/Block/Developer.php ADDED
@@ -0,0 +1,125 @@
1
+ <?php
2
+
3
+ class Magazento_Social_Block_Developer extends Mage_Adminhtml_Block_System_Config_Form_Fieldset {
4
+
5
+ public function render(Varien_Data_Form_Element_Abstract $element) {
6
+ $content = '<p></p>';
7
+ $content.= '<style>
8
+ .developer {
9
+ background: #FAFAFA;
10
+ border: 1px solid #CCCCCC;
11
+ margin-bottom: 10px;
12
+ padding: 10px;
13
+ height: auto;
14
+ }
15
+
16
+ .developer h3 {
17
+ color: #444;
18
+ }
19
+
20
+ .contact-type {
21
+ color: #EA7601;
22
+ font-weight: bold;
23
+ }
24
+
25
+ .developer img {
26
+ float: left;
27
+ }
28
+
29
+ .developer .info {
30
+ background: #E7EFEF;
31
+ padding: 5px 10px 0 5px;
32
+ margin-left: 210px;
33
+ height: 195px;
34
+ }
35
+ </style>
36
+
37
+ <div class="developer">
38
+ <a href="http://www.magazento.com/english/magento-ext/magazento-extensions/navigation-menu-megamenu"
39
+ target="_blank"><img
40
+ src="'.Mage::getBaseUrl(Mage_Core_Model_Store::URL_TYPE_SKIN).'frontend/base/default/magazento/social/menu_box.jpg"
41
+ >
42
+ </a>
43
+
44
+ <div class="info">
45
+ <h3>MEGAMENU - Band new Magento navigation menu</h3>
46
+ <p>
47
+ Menu - is a key navigation element for customers on your website. It is particularly important that the menu would contain a maximum of all information,
48
+ namely that which is needed by your potential customers. Alas, based on analysis of user behavior on large portals, the attention of given only for the first
49
+ 10% - 20% of all categories of the store directories.<br>
50
+ The remaining elements are simply not visible to users and are not used. Store can increase profits by changing the sitemenu - users should see all items of your catalog products immediately.
51
+ </p>
52
+
53
+ <a href="http://www.magazento.com/english/magento-ext/magazento-extensions/navigation-menu-megamenu" target="_blank"><img src="http://magazento.com/promo/extension_page.png" alt=""></a>
54
+ <br>
55
+ </div>
56
+
57
+ </div>
58
+
59
+ <div class="developer">
60
+ <a href="http://www.magazento.com/english/magento-ext/magazento-extensions/magento-one-step-page-checkout"
61
+ target="_blank"><img
62
+ src="'.Mage::getBaseUrl(Mage_Core_Model_Store::URL_TYPE_SKIN).'frontend/base/default/magazento/social/logo_onecheckout.jpg"
63
+ >
64
+ </a>
65
+
66
+ <div class="info">
67
+ <h3>ONE STEP CHECKOUT</h3>
68
+ <p>
69
+ Complicated checkout process with many forms to fill in can make customers run away and increase cart abandonment. Magento One Step Checkout offers simplified checkout for your customers\' positive shopping experience. The module shortens the process into one single page. Logged in customers already have their information on the page; they need to make just a few clicks to confirm the order.
70
+ </p>
71
+
72
+ <a href="http://www.magazento.com/english/magento-ext/magazento-extensions/magento-one-step-page-checkout" target="_blank"><img src="http://magazento.com/promo/extension_page.png" alt=""></a>
73
+ <br>
74
+ </div>
75
+ </div>
76
+
77
+ <div class="developer">
78
+ <a href="http://www.magazento.com/english/magento-ext/magazento-extensions/pdf-export"
79
+ target="_blank"><img
80
+ src="'.Mage::getBaseUrl(Mage_Core_Model_Store::URL_TYPE_SKIN).'frontend/base/default/magazento/social/logo_pdf.jpg"
81
+ >
82
+ </a>
83
+
84
+ <div class="info">
85
+ <h3>PDF EXPORT</h3>
86
+ <p>
87
+ PDF EXPORT for Magento is a professional solution that lets you generate printable copy of all store products! It also lets your customers to generate PDF\'s of products and categories they view directly from your website without other 3rd party website or applications. All store products in PDF in few clicks!
88
+ </p>
89
+
90
+ <a href="http://www.magazento.com/english/magento-ext/magazento-extensions/pdf-export" target="_blank"><img src="http://magazento.com/promo/extension_page.png" alt=""></a>
91
+ <br>
92
+ </div>
93
+ </div>
94
+
95
+ <div class="developer">
96
+ <a href="http://www.magazento.com/english/magento-ext/magazento-extensions/extension-html-sitemap"
97
+ target="_blank"><img
98
+ src="'.Mage::getBaseUrl(Mage_Core_Model_Store::URL_TYPE_SKIN).'frontend/base/default/magazento/social/logo_sitemap.jpg"
99
+ >
100
+ </a>
101
+
102
+ <div class="info">
103
+ <h3>SITEMAP</h3>
104
+ <p>
105
+ With Sitemap you can easily create the site map page on your site with the clear hierarchical structure of all the products, categories and pages. Sure that such a page will be highly appreciated by those of your customers who would like not to spend a lot of time to find the product they are interested in. And the search spiders and crawlers will get through this magento sitemap the clear direction to all your site pages, no matter how numerous they are. Moreover, with Magento Html Sitemap extension you will receive the bundle of bright additional advantages making the google sitemap creation even easier and more convenient.
106
+ </p>
107
+
108
+ <a href="http://www.magazento.com/english/magento-ext/magazento-extensions/extension-html-sitemap" target="_blank"><img src="http://magazento.com/promo/extension_page.png" alt=""></a>
109
+ <br>
110
+ </div>
111
+ </div>'
112
+
113
+
114
+
115
+
116
+
117
+ ;
118
+
119
+ return $content;
120
+
121
+
122
+ }
123
+
124
+
125
+ }
app/code/community/Magazento/Social/Block/Facebook.php ADDED
@@ -0,0 +1,44 @@
1
+ <?php
2
+ /*
3
+ * Created on Sep 30, 2012
4
+ * Author Ivan Proskuryakov - volgodark@gmail.com - Magazento.com
5
+ * Copyright Proskuryakov Ivan. Magazento.com © 2011. All Rights Reserved.
6
+ * Single Use, Limited Licence and Single Use No Resale Licence ["Single Use"]
7
+ */
8
+ ?>
9
+ <?php
10
+
11
+ class Magazento_Social_Block_Facebook extends Mage_Core_Block_Template {
12
+
13
+
14
+
15
+ public function getSettingsFacebook() {
16
+
17
+ $fblb_options['Enable'] = Mage::getStoreConfig('social/facebook/enable');
18
+ $fblb_options['FacebookPageURL'] = Mage::getStoreConfig('social/facebook/url');
19
+ $fblb_options['Width'] = Mage::getStoreConfig('social/facebook/width');
20
+ $fblb_options['Height'] = Mage::getStoreConfig('social/facebook/height');
21
+ $fblb_options['ShowFaces'] = Mage::getStoreConfig('social/facebook/show_faces');
22
+ $fblb_options['ShowStream'] = Mage::getStoreConfig('social/facebook/show_stream');
23
+ $fblb_options['ForceWall'] = Mage::getStoreConfig('social/facebook/force_wall');
24
+ $fblb_options['ShowHeader'] = Mage::getStoreConfig('social/facebook/show_header');
25
+ $fblb_options['Position'] = Mage::getStoreConfig('social/facebook/position');
26
+ $fblb_options['TabPosition'] = Mage::getStoreConfig('social/facebook/position_button');
27
+ $fblb_options['TabPositionPx'] = Mage::getStoreConfig('social/facebook/position_button_fixed');
28
+ $fblb_options['TabDesign'] = Mage::getStoreConfig('social/facebook/design');
29
+ $fblb_options['Border'] = Mage::getStoreConfig('social/facebook/border_width');
30
+ $fblb_options['BorderColor'] = Mage::getStoreConfig('social/facebook/border_color');
31
+ $fblb_options['BackgroundColor'] = Mage::getStoreConfig('social/facebook/bg_color');
32
+ $fblb_options['Locale'] = Mage::getStoreConfig('social/facebook/locale');
33
+ $fblb_options['ColorScheme'] = Mage::getStoreConfig('social/facebook/color_scheme');
34
+ $fblb_options['VPosition'] = Mage::getStoreConfig('social/facebook/position_vertical');
35
+ $fblb_options['VPositionPx'] = Mage::getStoreConfig('social/facebook/position_vertical_fixed');
36
+ $fblb_options['ZIndex'] = Mage::getStoreConfig('social/facebook/z_index');
37
+
38
+ return $fblb_options;
39
+ }
40
+
41
+
42
+
43
+ }
44
+
app/code/community/Magazento/Social/Block/Facebookimage.php ADDED
@@ -0,0 +1,21 @@
1
+ <?php
2
+
3
+ class Magazento_Social_Block_Facebookimage extends Mage_Adminhtml_Block_System_Config_Form_Fieldset {
4
+
5
+ public function render(Varien_Data_Form_Element_Abstract $element) {
6
+
7
+
8
+ $content.= '<tr id="row_seotools_general">
9
+ <td class="label"><label for="seotools_general_category_description_rewrite"></label></td>
10
+ <td class="value">
11
+ <img src="'.Mage::getBaseUrl(Mage_Core_Model_Store::URL_TYPE_SKIN).'frontend/base/default/magazento_social/system/facebook.jpg" >
12
+ </td>
13
+ </tr>
14
+ ';
15
+ return $content;
16
+
17
+
18
+ }
19
+
20
+
21
+ }
app/code/community/Magazento/Social/Block/Google.php ADDED
@@ -0,0 +1,37 @@
1
+ <?php
2
+
3
+ class Magazento_Social_Block_Google extends Mage_Core_Block_Template {
4
+
5
+ public function getSettingsGoogle() {
6
+
7
+ $model = Mage::getModel('social/item')->getCollection();
8
+ $fblb_options['GP_Enable'] = Mage::getStoreConfig('social/google/enable');
9
+ $fblb_options['GP_PageID'] = Mage::getStoreConfig('social/google/page_id');
10
+ $fblb_options['GP_ShowFeed'] = Mage::getStoreConfig('social/google/show_feed');
11
+
12
+ $fblb_options['GP_Width'] = Mage::getStoreConfig('social/google/width');
13
+ $fblb_options['GP_Height'] = Mage::getStoreConfig('social/google/height');
14
+ $fblb_options['GP_TabDesign'] = Mage::getStoreConfig('social/google/design');
15
+
16
+ $fblb_options['GP_Position'] = Mage::getStoreConfig('social/google/position');
17
+ $fblb_options['GP_TabPosition'] = Mage::getStoreConfig('social/google/position_button');
18
+ $fblb_options['GP_TabPositionPx'] = Mage::getStoreConfig('social/google/position_button_fixed');
19
+ $fblb_options['GP_VPosition'] = Mage::getStoreConfig('social/google/position_vertical');
20
+ $fblb_options['GP_VPositionPx'] = Mage::getStoreConfig('social/google/position_vertical_fixed');
21
+
22
+ $fblb_options['GP_Border'] = Mage::getStoreConfig('social/google/border_width');
23
+ $fblb_options['GP_BorderColor'] = Mage::getStoreConfig('social/google/border_color');
24
+ $fblb_options['GP_BackgroundColor'] = Mage::getStoreConfig('social/google/bg_color');
25
+
26
+ $fblb_options['GP_ZIndex'] = Mage::getStoreConfig('social/google/z_index');
27
+ $fblb_options['GP_Language'] = Mage::getStoreConfig('social/google/language');
28
+
29
+ $fblb_options['GP_Data'] = $model;
30
+
31
+ return $fblb_options;
32
+ }
33
+
34
+
35
+
36
+ }
37
+
app/code/community/Magazento/Social/Block/Googleimage.php ADDED
@@ -0,0 +1,21 @@
1
+ <?php
2
+
3
+ class Magazento_Social_Block_Googleimage extends Mage_Adminhtml_Block_System_Config_Form_Fieldset {
4
+
5
+ public function render(Varien_Data_Form_Element_Abstract $element) {
6
+
7
+
8
+ $content.= '<tr id="row_seotools_general">
9
+ <td class="label"><label for="seotools_general_category_description_rewrite"></label></td>
10
+ <td class="value">
11
+ <img src="'.Mage::getBaseUrl(Mage_Core_Model_Store::URL_TYPE_SKIN).'frontend/base/default/magazento_social/system/google.jpg" >
12
+ </td>
13
+ </tr>
14
+ ';
15
+ return $content;
16
+
17
+
18
+ }
19
+
20
+
21
+ }
app/code/community/Magazento/Social/Block/Linkedin.php ADDED
@@ -0,0 +1,42 @@
1
+ <?php
2
+ /*
3
+ * Created on Sep 30, 2012
4
+ * Author Ivan Proskuryakov - volgodark@gmail.com - Magazento.com
5
+ * Copyright Proskuryakov Ivan. Magazento.com © 2011. All Rights Reserved.
6
+ * Single Use, Limited Licence and Single Use No Resale Licence ["Single Use"]
7
+ */
8
+ ?>
9
+ <?php
10
+
11
+ class Magazento_Social_Block_Linkedin extends Mage_Core_Block_Template {
12
+
13
+
14
+
15
+ public function getSettingsLinkedin() {
16
+
17
+ $fblb_options['LI_Enable'] = Mage::getStoreConfig('social/linkedin/enable');
18
+ $fblb_options['LI_ShowPublicProfile'] = Mage::getStoreConfig('social/linkedin/show_member');
19
+ $fblb_options['LI_ShowCompanyProfile'] = Mage::getStoreConfig('social/linkedin/show_company');
20
+ $fblb_options['LI_PublicProfile'] = Mage::getStoreConfig('social/linkedin/show_member_url');
21
+ $fblb_options['LI_CompanyID'] = Mage::getStoreConfig('social/linkedin/show_company_id');
22
+ $fblb_options['LI_Order'] = Mage::getStoreConfig('social/linkedin/order');
23
+ $fblb_options['LI_Position'] = Mage::getStoreConfig('social/linkedin/position');
24
+ $fblb_options['LI_TabPosition'] = Mage::getStoreConfig('social/linkedin/position_button');
25
+ $fblb_options['LI_TabPositionPx'] = Mage::getStoreConfig('social/linkedin/position_button_fixed');
26
+ $fblb_options['LI_TabDesign'] = Mage::getStoreConfig('social/linkedin/design');
27
+ $fblb_options['LI_Width'] = Mage::getStoreConfig('social/linkedin/width');
28
+ $fblb_options['LI_Height'] = Mage::getStoreConfig('social/linkedin/height');
29
+ $fblb_options['LI_Border'] = Mage::getStoreConfig('social/linkedin/border_width');
30
+ $fblb_options['LI_BorderColor'] = Mage::getStoreConfig('social/linkedin/border_color');
31
+ $fblb_options['LI_BackgroundColor'] = Mage::getStoreConfig('social/linkedin/bg_color');
32
+ $fblb_options['LI_VPosition'] = Mage::getStoreConfig('social/linkedin/position_vertical');
33
+ $fblb_options['LI_VPositionPx'] = Mage::getStoreConfig('social/linkedin/position_vertical_fixed');
34
+ $fblb_options['LI_ZIndex'] = Mage::getStoreConfig('social/linkedin/z_index');
35
+
36
+ return $fblb_options;
37
+ }
38
+
39
+
40
+
41
+ }
42
+
app/code/community/Magazento/Social/Block/Linkedinimage.php ADDED
@@ -0,0 +1,21 @@
1
+ <?php
2
+
3
+ class Magazento_Social_Block_Linkedinimage extends Mage_Adminhtml_Block_System_Config_Form_Fieldset {
4
+
5
+ public function render(Varien_Data_Form_Element_Abstract $element) {
6
+
7
+
8
+ $content.= '<tr id="row_seotools_general">
9
+ <td class="label"><label for="seotools_general_category_description_rewrite"></label></td>
10
+ <td class="value">
11
+ <img src="'.Mage::getBaseUrl(Mage_Core_Model_Store::URL_TYPE_SKIN).'frontend/base/default/magazento_social/system/linkedin.jpg" >
12
+ </td>
13
+ </tr>
14
+ ';
15
+ return $content;
16
+
17
+
18
+ }
19
+
20
+
21
+ }
app/code/community/Magazento/Social/Block/Twitter.php ADDED
@@ -0,0 +1,49 @@
1
+ <?php
2
+ /*
3
+ * Created on Sep 30, 2012
4
+ * Author Ivan Proskuryakov - volgodark@gmail.com - Magazento.com
5
+ * Copyright Proskuryakov Ivan. Magazento.com © 2011. All Rights Reserved.
6
+ * Single Use, Limited Licence and Single Use No Resale Licence ["Single Use"]
7
+ */
8
+ ?>
9
+ <?php
10
+
11
+ class Magazento_Social_Block_Twitter extends Mage_Core_Block_Template {
12
+
13
+
14
+
15
+ public function getSettingsTwitter() {
16
+
17
+ $fblb_options['TW_Enable'] = Mage::getStoreConfig('social/twitter/enable');
18
+ $fblb_options['TW_Username'] = Mage::getStoreConfig('social/twitter/username');
19
+ $fblb_options['TW_Width'] = Mage::getStoreConfig('social/twitter/width');
20
+ $fblb_options['TW_Height'] = Mage::getStoreConfig('social/twitter/height');
21
+ $fblb_options['TW_ShowFollowButton'] = Mage::getStoreConfig('social/twitter/show_follow_button');
22
+ $fblb_options['TW_Position'] = Mage::getStoreConfig('social/twitter/position');
23
+ $fblb_options['TW_TabPosition'] = Mage::getStoreConfig('social/twitter/position_button');
24
+ $fblb_options['TW_TabPositionPx'] = Mage::getStoreConfig('social/twitter/position_button_fixed');
25
+ $fblb_options['TW_TabDesign'] = Mage::getStoreConfig('social/twitter/design');
26
+ $fblb_options['TW_Border'] = Mage::getStoreConfig('social/twitter/border_width');
27
+ $fblb_options['TW_BorderColor'] = Mage::getStoreConfig('social/twitter/border_color');
28
+ $fblb_options['TW_ShellBackground'] = Mage::getStoreConfig('social/twitter/shell_color');
29
+ $fblb_options['TW_ShellText'] = Mage::getStoreConfig('social/twitter/shell_text');
30
+ $fblb_options['TW_TweetBackground'] = Mage::getStoreConfig('social/twitter/tweet_background');
31
+ $fblb_options['TW_TweetText'] = Mage::getStoreConfig('social/twitter/tweet_text');
32
+ $fblb_options['TW_Links'] = Mage::getStoreConfig('social/twitter/links');
33
+ $fblb_options['TW_VPosition'] = Mage::getStoreConfig('social/twitter/position_vertical');
34
+ $fblb_options['TW_VPositionPx'] = Mage::getStoreConfig('social/twitter/position_vertical_fixed');
35
+ $fblb_options['TW_ZIndex'] = Mage::getStoreConfig('social/twitter/z_index');
36
+ $fblb_options['TW_live'] = '';
37
+ $fblb_options['TW_behavior'] = 'all';
38
+ $fblb_options['TW_loop'] = '';
39
+ $fblb_options['TW_interval'] = '30';
40
+ $fblb_options['TW_rpp'] = Mage::getStoreConfig('social/twitter/tweet_number');
41
+ $fblb_options['TW_Language'] = Mage::getStoreConfig('social/twitter/language');
42
+
43
+ return $fblb_options;
44
+ }
45
+
46
+
47
+
48
+ }
49
+
app/code/community/Magazento/Social/Block/Twitterimage.php ADDED
@@ -0,0 +1,21 @@
1
+ <?php
2
+
3
+ class Magazento_Social_Block_Twitterimage extends Mage_Adminhtml_Block_System_Config_Form_Fieldset {
4
+
5
+ public function render(Varien_Data_Form_Element_Abstract $element) {
6
+
7
+
8
+ $content.= '<tr id="row_seotools_general">
9
+ <td class="label"><label for="seotools_general_category_description_rewrite"></label></td>
10
+ <td class="value">
11
+ <img src="'.Mage::getBaseUrl(Mage_Core_Model_Store::URL_TYPE_SKIN).'frontend/base/default/magazento_social/system/twitter.jpg" >
12
+ </td>
13
+ </tr>
14
+ ';
15
+ return $content;
16
+
17
+
18
+ }
19
+
20
+
21
+ }
app/code/community/Magazento/Social/Block/Youtube.php ADDED
@@ -0,0 +1,38 @@
1
+ <?php
2
+ /*
3
+ * Created on Sep 30, 2012
4
+ * Author Ivan Proskuryakov - volgodark@gmail.com - Magazento.com
5
+ * Copyright Proskuryakov Ivan. Magazento.com © 2011. All Rights Reserved.
6
+ * Single Use, Limited Licence and Single Use No Resale Licence ["Single Use"]
7
+ */
8
+ ?>
9
+ <?php
10
+
11
+ class Magazento_Social_Block_Youtube extends Mage_Core_Block_Template {
12
+
13
+
14
+
15
+ public function getSettingsYoutube() {
16
+
17
+ $fblb_options['YT_Enable'] = Mage::getStoreConfig('social/youtube/enable');
18
+ $fblb_options['YT_Channel'] = Mage::getStoreConfig('social/youtube/channel');
19
+ $fblb_options['YT_Position'] = Mage::getStoreConfig('social/youtube/position');
20
+ $fblb_options['YT_TabPosition'] = Mage::getStoreConfig('social/youtube/position_button');
21
+ $fblb_options['YT_TabPositionPx'] = Mage::getStoreConfig('social/youtube/position_button_fixed');
22
+ $fblb_options['YT_TabDesign'] = Mage::getStoreConfig('social/youtube/design');
23
+ $fblb_options['YT_Width'] = Mage::getStoreConfig('social/youtube/width');
24
+ $fblb_options['YT_Height'] = Mage::getStoreConfig('social/youtube/height');
25
+ $fblb_options['YT_Border'] = Mage::getStoreConfig('social/youtube/border_width');
26
+ $fblb_options['YT_BorderColor'] = Mage::getStoreConfig('social/youtube/border_color');
27
+ $fblb_options['YT_BackgroundColor'] = Mage::getStoreConfig('social/youtube/bg_color');
28
+ $fblb_options['YT_VPosition'] = Mage::getStoreConfig('social/youtube/position_vertical');
29
+ $fblb_options['YT_VPositionPx'] = Mage::getStoreConfig('social/youtube/position_vertical_fixed');
30
+ $fblb_options['YT_ZIndex'] = Mage::getStoreConfig('social/youtube/z_index');
31
+
32
+ return $fblb_options;
33
+ }
34
+
35
+
36
+
37
+ }
38
+
app/code/community/Magazento/Social/Block/Youtubeimage.php ADDED
@@ -0,0 +1,21 @@
1
+ <?php
2
+
3
+ class Magazento_Social_Block_Youtubeimage extends Mage_Adminhtml_Block_System_Config_Form_Fieldset {
4
+
5
+ public function render(Varien_Data_Form_Element_Abstract $element) {
6
+
7
+
8
+ $content.= '<tr id="row_seotools_general">
9
+ <td class="label"><label for="seotools_general_category_description_rewrite"></label></td>
10
+ <td class="value">
11
+ <img src="'.Mage::getBaseUrl(Mage_Core_Model_Store::URL_TYPE_SKIN).'frontend/base/default/magazento_social/system/youtube.jpg" >
12
+ </td>
13
+ </tr>
14
+ ';
15
+ return $content;
16
+
17
+
18
+ }
19
+
20
+
21
+ }
app/code/community/Magazento/Social/Helper/Data.php ADDED
@@ -0,0 +1,5 @@
1
+ <?php
2
+ class Magazento_Social_Helper_Data extends Mage_Core_Helper_Abstract
3
+ {
4
+
5
+ }
app/code/community/Magazento/Social/Model/Item.php ADDED
@@ -0,0 +1,22 @@
1
+ <?php
2
+ /*
3
+ * Created on Mar 16, 2011
4
+ * Author Ivan Proskuryakov - volgodark@gmail.com - Magazento.com
5
+ * Copyright Proskuryakov Ivan. Magazento.com © 2011. All Rights Reserved.
6
+ * Single Use, Limited Licence and Single Use No Resale Licence ["Single Use"]
7
+ */
8
+ ?>
9
+ <?php
10
+ class Magazento_Social_Model_Item extends Mage_Core_Model_Abstract
11
+ {
12
+ const CACHE_TAG = 'magazentosocial_item';
13
+ protected $_cacheTag= 'magazentosocial_item';
14
+
15
+ protected function _construct()
16
+ {
17
+ $this->_init('social/item');
18
+
19
+
20
+ }
21
+
22
+ }
app/code/community/Magazento/Social/Model/Mysql4/Item.php ADDED
@@ -0,0 +1,29 @@
1
+ <?php
2
+ /*
3
+ * Created on Mar 16, 2011
4
+ * Author Ivan Proskuryakov - volgodark@gmail.com - Magazento.com
5
+ * Copyright Proskuryakov Ivan. Magazento.com © 2011. All Rights Reserved.
6
+ * Single Use, Limited Licence and Single Use No Resale Licence ["Single Use"]
7
+ */
8
+ ?>
9
+ <?php
10
+
11
+ class Magazento_Social_Model_Mysql4_Item extends Mage_Core_Model_Mysql4_Abstract {
12
+
13
+ protected function _construct() {
14
+ $this->_init('social/item', 'item_id');
15
+ }
16
+
17
+ protected function _beforeSave(Mage_Core_Model_Abstract $object) {
18
+ $select = $this->_getReadAdapter()->select()
19
+ ->from($this->getTable('social/item'))
20
+ ->where('key_id = ?', $object->getData('key_id'));
21
+ $data = $this->_getReadAdapter()->fetchAll($select);
22
+ if ($data) {
23
+ $condition = $this->_getWriteAdapter()->quoteInto('key_id = ?', $object->getData('key_id'));
24
+ $this->_getWriteAdapter()->delete($this->getTable('social/item'), $condition);
25
+ }
26
+
27
+ }
28
+
29
+ }
app/code/community/Magazento/Social/Model/Mysql4/Item/Collection.php ADDED
@@ -0,0 +1,17 @@
1
+ <?php
2
+ /*
3
+ * Created on Mar 16, 2011
4
+ * Author Ivan Proskuryakov - volgodark@gmail.com - Magazento.com
5
+ * Copyright Proskuryakov Ivan. Magazento.com © 2011. All Rights Reserved.
6
+ * Single Use, Limited Licence and Single Use No Resale Licence ["Single Use"]
7
+ */
8
+ ?>
9
+ <?php
10
+
11
+ class Magazento_Social_Model_Mysql4_Item_Collection extends Mage_Core_Model_Mysql4_Collection_Abstract {
12
+
13
+ protected function _construct() {
14
+ $this->_init('social/item');
15
+ }
16
+
17
+ }
app/code/community/Magazento/Social/Model/Source/Colorscheme.php ADDED
@@ -0,0 +1,11 @@
1
+ <?php
2
+ class Magazento_Social_Model_Source_Colorscheme {
3
+
4
+ public function toOptionArray() {
5
+ return array(
6
+ array('value' => 'light', 'label' => Mage::helper('core')->__('light')),
7
+ array('value' => 'dark', 'label' => Mage::helper('core')->__('dark')),
8
+ );
9
+ }
10
+
11
+ }
app/code/community/Magazento/Social/Model/Source/Language.php ADDED
@@ -0,0 +1,30 @@
1
+ <?php
2
+ class Magazento_Social_Model_Source_Language {
3
+
4
+ public function toOptionArray() {
5
+ return array(
6
+ array('value' => 'hi', 'label' => Mage::helper('core')->__('Hindi')),
7
+ array('value' => 'zh-cn', 'label' => Mage::helper('core')->__('Chinese (Simplified)')),
8
+ array('value' => 'pt', 'label' => Mage::helper('core')->__('Portuguese (Portugal) - Portugues (Portugal)')),
9
+ array('value' => 'id', 'label' => Mage::helper('core')->__('Indonesian - Bahasa Indonesia')),
10
+ array('value' => 'it', 'label' => Mage::helper('core')->__('Italian - italiano')),
11
+ array('value' => 'es', 'label' => Mage::helper('core')->__('Spanish - espanol')),
12
+ array('value' => 'da', 'label' => Mage::helper('core')->__('Danish - dansk')),
13
+ array('value' => 'tr', 'label' => Mage::helper('core')->__('Turkish - Türkçe')),
14
+ array('value' => 'en', 'label' => Mage::helper('core')->__('English')),
15
+ array('value' => 'fil', 'label' => Mage::helper('core')->__('Filipino - Filipino')),
16
+ array('value' => 'ko', 'label' => Mage::helper('core')->__('Korean')),
17
+ array('value' => 'fr', 'label' => Mage::helper('core')->__('French - français')),
18
+ array('value' => 'no', 'label' => Mage::helper('core')->__('Norwegian - norsk')),
19
+ array('value' => 'zh-tw', 'label' => Mage::helper('core')->__('Chinese (Traditional)')),
20
+ array('value' => 'nl', 'label' => Mage::helper('core')->__('Dutch - Nederlands')),
21
+ array('value' => 'ru', 'label' => Mage::helper('core')->__('Russian - русский')),
22
+ array('value' => 'de', 'label' => Mage::helper('core')->__('German - Deutsch')),
23
+ array('value' => 'ja', 'label' => Mage::helper('core')->__('Japanese')),
24
+ array('value' => 'fi', 'label' => Mage::helper('core')->__('Finnish - suomi')),
25
+ array('value' => 'msa', 'label' => Mage::helper('core')->__('Malay - Bahasa Melayu')),
26
+ array('value' => 'pl', 'label' => Mage::helper('core')->__('Polish - polski')),
27
+ );
28
+ }
29
+
30
+ }
app/code/community/Magazento/Social/Model/Source/Languagegoogle.php ADDED
@@ -0,0 +1,54 @@
1
+ <?php
2
+ class Magazento_Social_Model_Source_Languagegoogle {
3
+
4
+ public function toOptionArray() {
5
+ return array(
6
+ array('value' => 'ar', 'label' => Mage::helper('core')->__('Arabic - العربية')),
7
+ array('value' => 'bg', 'label' => Mage::helper('core')->__('Bulgarian - български')),
8
+ array('value' => 'ca', 'label' => Mage::helper('core')->__('Catalan - català')),
9
+ array('value' => 'zh-CN', 'label' => Mage::helper('core')->__('Chinese (Simplified)')),
10
+ array('value' => 'zh-TW', 'label' => Mage::helper('core')->__('Chinese (Traditional)')),
11
+ array('value' => 'hr', 'label' => Mage::helper('core')->__('Croatian - hrvatski')),
12
+ array('value' => 'cs', 'label' => Mage::helper('core')->__('Czech - čeština')),
13
+ array('value' => 'da', 'label' => Mage::helper('core')->__('Danish - dansk')),
14
+ array('value' => 'nl', 'label' => Mage::helper('core')->__('Dutch - Nederlands')),
15
+ array('value' => 'en-US', 'label' => Mage::helper('core')->__('English (US) - English (US)')),
16
+ array('value' => 'en-GB', 'label' => Mage::helper('core')->__('English (UK) - English (UK)')),
17
+ array('value' => 'et', 'label' => Mage::helper('core')->__('Estonian - eesti')),
18
+ array('value' => 'fil', 'label' => Mage::helper('core')->__('Filipino - Filipino')),
19
+ array('value' => 'fi', 'label' => Mage::helper('core')->__('Finnish - suomi')),
20
+ array('value' => 'fr', 'label' => Mage::helper('core')->__('French - français')),
21
+ array('value' => 'de', 'label' => Mage::helper('core')->__('German - Deutsch')),
22
+ array('value' => 'el', 'label' => Mage::helper('core')->__('Greek - Ελληνικά')),
23
+ array('value' => 'iw', 'label' => Mage::helper('core')->__('Hebrew - עברית')),
24
+ array('value' => 'hi', 'label' => Mage::helper('core')->__('Hindi')),
25
+ array('value' => 'hu', 'label' => Mage::helper('core')->__('Hungarian - magyar')),
26
+ array('value' => 'id', 'label' => Mage::helper('core')->__('Indonesian - Bahasa Indonesia')),
27
+ array('value' => 'it', 'label' => Mage::helper('core')->__('Italian - italiano')),
28
+ array('value' => 'ja', 'label' => Mage::helper('core')->__('Japanese')),
29
+ array('value' => 'ko', 'label' => Mage::helper('core')->__('Korean')),
30
+ array('value' => 'lv', 'label' => Mage::helper('core')->__('Latvian - latviešu')),
31
+ array('value' => 'lt', 'label' => Mage::helper('core')->__('Lithuanian - lietuvių')),
32
+ array('value' => 'ms', 'label' => Mage::helper('core')->__('Malay - Bahasa Melayu')),
33
+ array('value' => 'no', 'label' => Mage::helper('core')->__('Norwegian - norsk')),
34
+ array('value' => 'fa', 'label' => Mage::helper('core')->__('Persian - فارسی')),
35
+ array('value' => 'pl', 'label' => Mage::helper('core')->__('Polish - polski')),
36
+ array('value' => 'pt-BR', 'label' => Mage::helper('core')->__('Portuguese (Brazil) - português (Brasil)')),
37
+ array('value' => 'pt-PT', 'label' => Mage::helper('core')->__('Portuguese (Portugal) - Português (Portugal)')),
38
+ array('value' => 'ro', 'label' => Mage::helper('core')->__('Romanian - română')),
39
+ array('value' => 'ru', 'label' => Mage::helper('core')->__('Russian - русский')),
40
+ array('value' => 'sr', 'label' => Mage::helper('core')->__('Serbian - српски')),
41
+ array('value' => 'sv', 'label' => Mage::helper('core')->__('Swedish - svenska')),
42
+ array('value' => 'sk', 'label' => Mage::helper('core')->__('Slovak - slovenský')),
43
+ array('value' => 'sl', 'label' => Mage::helper('core')->__('Slovenian - slovenščina')),
44
+ array('value' => 'es', 'label' => Mage::helper('core')->__('Spanish - español')),
45
+ array('value' => 'es-419', 'label' => Mage::helper('core')->__('Spanish (Latin America) - español (Latinoamérica y el Caribe)')),
46
+ array('value' => 'th', 'label' => Mage::helper('core')->__('Thai')),
47
+ array('value' => 'tr', 'label' => Mage::helper('core')->__('Turkish - Türkçe')),
48
+ array('value' => 'uk', 'label' => Mage::helper('core')->__('Ukrainian - українська')),
49
+ array('value' => 'vi', 'label' => Mage::helper('core')->__('Vietnamese - Tiếng Việt')),
50
+
51
+ );
52
+ }
53
+
54
+ }
app/code/community/Magazento/Social/Model/Source/Locale.php ADDED
@@ -0,0 +1,88 @@
1
+ <?php
2
+ class Magazento_Social_Model_Source_Locale {
3
+
4
+ public function toOptionArray() {
5
+ return array(
6
+ array('value' => 'af_ZA', 'label' => Mage::helper('core')->__('Afrikaans')),
7
+ array('value' => 'ar_AR', 'label' => Mage::helper('core')->__('Arabic')),
8
+ array('value' => 'az_AZ', 'label' => Mage::helper('core')->__('Azeri')),
9
+ array('value' => 'be_BY', 'label' => Mage::helper('core')->__('Belarusian')),
10
+ array('value' => 'bg_BG', 'label' => Mage::helper('core')->__('Bulgarian')),
11
+ array('value' => 'bn_IN', 'label' => Mage::helper('core')->__('Bengali')),
12
+ array('value' => 'bs_BA', 'label' => Mage::helper('core')->__('Bosnian')),
13
+ array('value' => 'ca_ES', 'label' => Mage::helper('core')->__('Catalan')),
14
+ array('value' => 'cs_CZ', 'label' => Mage::helper('core')->__('Czech')),
15
+ array('value' => 'cy_GB', 'label' => Mage::helper('core')->__('Welsh')),
16
+ array('value' => 'da_DK', 'label' => Mage::helper('core')->__('Danish')),
17
+ array('value' => 'de_DE', 'label' => Mage::helper('core')->__('German')),
18
+ array('value' => 'el_GR', 'label' => Mage::helper('core')->__('Greek')),
19
+ array('value' => 'en_GB', 'label' => Mage::helper('core')->__('English (UK)')),
20
+ array('value' => 'en_PI', 'label' => Mage::helper('core')->__('English (Pirate)')),
21
+ array('value' => 'en_UD', 'label' => Mage::helper('core')->__('English (Upside Down)')),
22
+ array('value' => 'en_US', 'label' => Mage::helper('core')->__('English (US)')),
23
+ array('value' => 'eo_EO', 'label' => Mage::helper('core')->__('Esperanto')),
24
+ array('value' => 'es_ES', 'label' => Mage::helper('core')->__('Spanish (Spain)')),
25
+ array('value' => 'es_LA', 'label' => Mage::helper('core')->__('Spanish')),
26
+ array('value' => 'et_EE', 'label' => Mage::helper('core')->__('Estonian')),
27
+ array('value' => 'eu_ES', 'label' => Mage::helper('core')->__('Basque')),
28
+ array('value' => 'fa_IR', 'label' => Mage::helper('core')->__('Persian')),
29
+ array('value' => 'fb_LT', 'label' => Mage::helper('core')->__('Leet Speak')),
30
+ array('value' => 'fi_FI', 'label' => Mage::helper('core')->__('Finnish')),
31
+ array('value' => 'fo_FO', 'label' => Mage::helper('core')->__('Faroese')),
32
+ array('value' => 'fr_CA', 'label' => Mage::helper('core')->__('French (Canada)')),
33
+ array('value' => 'fr_FR', 'label' => Mage::helper('core')->__('French (France)')),
34
+ array('value' => 'fy_NL', 'label' => Mage::helper('core')->__('Frisian')),
35
+ array('value' => 'ga_IE', 'label' => Mage::helper('core')->__('Irish')),
36
+ array('value' => 'gl_ES', 'label' => Mage::helper('core')->__('Galician')),
37
+ array('value' => 'he_IL', 'label' => Mage::helper('core')->__('Hebrew')),
38
+ array('value' => 'hi_IN', 'label' => Mage::helper('core')->__('Hindi')),
39
+ array('value' => 'hr_HR', 'label' => Mage::helper('core')->__('Croatian')),
40
+ array('value' => 'hu_HU', 'label' => Mage::helper('core')->__('Hungarian')),
41
+ array('value' => 'hy_AM', 'label' => Mage::helper('core')->__('Armenian')),
42
+ array('value' => 'id_ID', 'label' => Mage::helper('core')->__('Indonesian')),
43
+ array('value' => 'is_IS', 'label' => Mage::helper('core')->__('Icelandic')),
44
+ array('value' => 'it_IT', 'label' => Mage::helper('core')->__('Italian')),
45
+ array('value' => 'ja_JP', 'label' => Mage::helper('core')->__('Japanese')),
46
+ array('value' => 'ka_GE', 'label' => Mage::helper('core')->__('Georgian')),
47
+ array('value' => 'ko_KR', 'label' => Mage::helper('core')->__('Korean')),
48
+ array('value' => 'ku_TR', 'label' => Mage::helper('core')->__('Kurdish')),
49
+ array('value' => 'la_VA', 'label' => Mage::helper('core')->__('Latin')),
50
+ array('value' => 'lt_LT', 'label' => Mage::helper('core')->__('Lithuanian')),
51
+ array('value' => 'lv_LV', 'label' => Mage::helper('core')->__('Latvian')),
52
+ array('value' => 'mk_MK', 'label' => Mage::helper('core')->__('Macedonian')),
53
+ array('value' => 'ml_IN', 'label' => Mage::helper('core')->__('Malayalam')),
54
+ array('value' => 'ms_MY', 'label' => Mage::helper('core')->__('Malay')),
55
+ array('value' => 'nb_NO', 'label' => Mage::helper('core')->__('Norwegian (bokmal)')),
56
+ array('value' => 'ne_NP', 'label' => Mage::helper('core')->__('Nepali')),
57
+ array('value' => 'nl_NL', 'label' => Mage::helper('core')->__('Dutch')),
58
+ array('value' => 'nn_NO', 'label' => Mage::helper('core')->__('Norwegian (nynorsk)')),
59
+ array('value' => 'pa_IN', 'label' => Mage::helper('core')->__('Punjabi')),
60
+ array('value' => 'pl_PL', 'label' => Mage::helper('core')->__('Polish')),
61
+ array('value' => 'ps_AF', 'label' => Mage::helper('core')->__('Pashto')),
62
+ array('value' => 'pt_BR', 'label' => Mage::helper('core')->__('Portuguese (Brazil)')),
63
+ array('value' => 'pt_PT', 'label' => Mage::helper('core')->__('Portuguese (Portugal)')),
64
+ array('value' => 'ro_RO', 'label' => Mage::helper('core')->__('Romanian')),
65
+ array('value' => 'ru_RU', 'label' => Mage::helper('core')->__('Russian')),
66
+ array('value' => 'sk_SK', 'label' => Mage::helper('core')->__('Slovak')),
67
+ array('value' => 'sl_SI', 'label' => Mage::helper('core')->__('Slovenian')),
68
+ array('value' => 'sq_AL', 'label' => Mage::helper('core')->__('Albanian')),
69
+ array('value' => 'sr_RS', 'label' => Mage::helper('core')->__('Serbian')),
70
+ array('value' => 'sv_SE', 'label' => Mage::helper('core')->__('Swedish')),
71
+ array('value' => 'sw_KE', 'label' => Mage::helper('core')->__('Swahili')),
72
+ array('value' => 'ta_IN', 'label' => Mage::helper('core')->__('Tamil')),
73
+ array('value' => 'te_IN', 'label' => Mage::helper('core')->__('Telugu')),
74
+ array('value' => 'th_TH', 'label' => Mage::helper('core')->__('Thai')),
75
+ array('value' => 'tl_PH', 'label' => Mage::helper('core')->__('Filipino')),
76
+ array('value' => 'tr_TR', 'label' => Mage::helper('core')->__('Turkish')),
77
+ array('value' => 'uk_UA', 'label' => Mage::helper('core')->__('Ukrainian')),
78
+ array('value' => 'vi_VN', 'label' => Mage::helper('core')->__('Vietnamese')),
79
+ array('value' => 'zh_CN', 'label' => Mage::helper('core')->__('Simplified Chinese (China)')),
80
+ array('value' => 'zh_HK', 'label' => Mage::helper('core')->__('Traditional Chinese (Hong Kong)')),
81
+ array('value' => 'zh_TW', 'label' => Mage::helper('core')->__('Traditional Chinese (Taiwan)')),
82
+ );
83
+
84
+
85
+
86
+ }
87
+
88
+ }
app/code/community/Magazento/Social/Model/Source/Order.php ADDED
@@ -0,0 +1,11 @@
1
+ <?php
2
+ class Magazento_Social_Model_Source_Order {
3
+
4
+ public function toOptionArray() {
5
+ return array(
6
+ array('value' => '1', 'label' => Mage::helper('core')->__('1. Member Public Profile 2. Company Profile ')),
7
+ array('value' => '2', 'label' => Mage::helper('core')->__('1. Company Profile 2. Member Public Profile ')),
8
+ );
9
+ }
10
+
11
+ }
app/code/community/Magazento/Social/Model/Source/Position.php ADDED
@@ -0,0 +1,11 @@
1
+ <?php
2
+ class Magazento_Social_Model_Source_Position {
3
+
4
+ public function toOptionArray() {
5
+ return array(
6
+ array('value' => 'Left', 'label' => Mage::helper('core')->__('Left')),
7
+ array('value' => 'Right', 'label' => Mage::helper('core')->__('Right')),
8
+ );
9
+ }
10
+
11
+ }
app/code/community/Magazento/Social/Model/Source/Positionbutton.php ADDED
@@ -0,0 +1,13 @@
1
+ <?php
2
+ class Magazento_Social_Model_Source_Positionbutton {
3
+
4
+ public function toOptionArray() {
5
+ return array(
6
+ array('value' => 'Top', 'label' => Mage::helper('core')->__('Top')),
7
+ array('value' => 'Middle', 'label' => Mage::helper('core')->__('Middle')),
8
+ array('value' => 'Bottom', 'label' => Mage::helper('core')->__('Bottom')),
9
+ array('value' => 'Fixed', 'label' => Mage::helper('core')->__('Fixed')),
10
+ );
11
+ }
12
+
13
+ }
app/code/community/Magazento/Social/Model/Source/Positionvertical.php ADDED
@@ -0,0 +1,11 @@
1
+ <?php
2
+ class Magazento_Social_Model_Source_Positionvertical {
3
+
4
+ public function toOptionArray() {
5
+ return array(
6
+ array('value' => 'Middle', 'label' => Mage::helper('core')->__('Middle')),
7
+ array('value' => 'Fixed', 'label' => Mage::helper('core')->__('Fixed')),
8
+ );
9
+ }
10
+
11
+ }
app/code/community/Magazento/Social/controllers/.DS_Store ADDED
Binary file
app/code/community/Magazento/Social/controllers/CronController.php ADDED
@@ -0,0 +1,60 @@
1
+ <?php
2
+ class Magazento_Social_CronController extends Mage_Core_Controller_Front_Action {
3
+
4
+ public function indexAction() {
5
+ $GPlusID=Mage::getStoreConfig('social/google/page_id');
6
+ if (!$GPlusID) {
7
+ return FALSE;
8
+ }
9
+ $UserAgentList[]="Mozilla/4.0 (compatible; MSIE 6.0; X11; Linux i686; en) Opera 8.01";
10
+ $UserAgentList[]="Mozilla/5.0 (compatible; Konqueror/3.3; Linux) (KHTML, like Gecko)";
11
+ $UserAgentList[]="Mozilla/5.0 (Windows NT 5.1) AppleWebKit/535.2 (KHTML, like Gecko) Chrome/15.0.874.121 Safari/535.2";
12
+ $UserAgentList[]="Mozilla/5.0 (Windows; U; Windows NT 5.1; pl; rv:1.9.2.25) Gecko/20111212 Firefox/3.6.25";
13
+ $UserAgentList[]="Mozilla/5.0 (Windows NT 6.1) AppleWebKit/534.52.7 (KHTML, like Gecko) Version/5.1.2 Safari/534.52.7";
14
+ $UserAgentList[]="Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.2; Win64; x64; SV1; .NET CLR 2.0.50727)";
15
+ $UserAgentList[]="Mozilla/5.0 (Windows NT 6.1; rv:8.0.1) Gecko/20100101 Firefox/8.0.1";
16
+ $UserAgentList[]="Mozilla/5.0 (Windows NT 5.1) AppleWebKit/535.7 (KHTML, like Gecko) Chrome/16.0.912.63 Safari/535.7";
17
+ $Url='https://www.googleapis.com/plus/v1/people/'
18
+ . $GPlusID
19
+ . '/activities/public?key=AIzaSyBRp77Yn8XJIRDkavYByUd3tJpJ32-DG_0&maxResults=15&prettyprint=false&fields=items(id%2Ckind%2Cobject(attachments(displayName%2CfullImage%2Cid%2Cimage%2CobjectType%2Curl)%2Cid%2CobjectType%2Cplusoners%2Creplies%2Cresharers%2Curl)%2Cpublished%2Ctitle%2Curl%2Cverb)';
20
+ $hcurl=curl_init();
21
+ curl_setopt($hcurl,CURLOPT_URL,$Url);
22
+ curl_setopt($hcurl,CURLOPT_USERAGENT,$UserAgentList[array_rand($UserAgentList)]);
23
+ curl_setopt($hcurl,CURLOPT_TIMEOUT,60);
24
+ curl_setopt($hcurl,CURLOPT_CONNECTTIMEOUT,1);
25
+ curl_setopt($hcurl,CURLOPT_RETURNTRANSFER,1);
26
+ curl_setopt($hcurl,CURLOPT_SSL_VERIFYPEER,FALSE);
27
+ $result=curl_exec($hcurl);
28
+ curl_close($hcurl);
29
+ $Aresult=json_decode($result);
30
+ foreach ( (array) $Aresult->items as $v) {
31
+ $desc='';
32
+ $img='';
33
+ $title=str_replace("\n\n","\n",str_replace("\n\n","\n",$v->title));
34
+ foreach ($v->object->attachments as $at) {
35
+ if ($at->objectType == 'photo') {
36
+ $img='<img src="'
37
+ . $at->image->url
38
+ . '" />';
39
+ }
40
+ }
41
+ $desc='<a href="'
42
+ . $v->url
43
+ . '" rel="nofollow">'
44
+ . $img
45
+ . nl2br($title)
46
+ . '</a>';
47
+ $plus=$v->object->plusoners->totalItems;
48
+ if ($desc) {
49
+ $model=Mage::getModel('social/item');
50
+ $model->setData('key_id',$v->id);
51
+ $model->setData('datetime',date('Y-m-d H:i:s',strtotime($v->published)));
52
+ $model->setData('desc',$desc);
53
+ $model->setData('plus',$plus);
54
+ $model->save();
55
+ }
56
+ }
57
+ echo Mage::helper('social')->__('Google + was successfully updated. To do this automatically add to Cron following url: '
58
+ . Mage::getUrl('magazentosocial/cron/index'));
59
+ }
60
+ }
app/code/community/Magazento/Social/etc/config.xml ADDED
@@ -0,0 +1,250 @@
1
+ <?xml version="1.0"?>
2
+ <config>
3
+ <modules>
4
+ <Magazento_Social>
5
+ <version>1.0.0</version>
6
+ </Magazento_Social>
7
+ </modules>
8
+ <frontend>
9
+ <layout>
10
+ <updates>
11
+ <social>
12
+ <file>magazento_social.xml</file>
13
+ </social>
14
+ </updates>
15
+ </layout>
16
+ <routers>
17
+ <social>
18
+ <use>standard</use>
19
+ <args>
20
+ <module>Magazento_Social</module>
21
+ <frontName>magazentosocial</frontName>
22
+ </args>
23
+ </social>
24
+ </routers>
25
+ <translate>
26
+ <modules>
27
+ <Magazento_Social>
28
+ <files>
29
+ <default>Magazento_Social.csv</default>
30
+ </files>
31
+ </Magazento_Social>
32
+ </modules>
33
+ </translate>
34
+ </frontend>
35
+ <global>
36
+ <blocks>
37
+ <social>
38
+ <class>Magazento_Social_Block</class>
39
+ </social>
40
+ </blocks>
41
+ <models>
42
+ <social>
43
+ <class>Magazento_Social_Model</class>
44
+ </social>
45
+ </models>
46
+ <helpers>
47
+ <social>
48
+ <class>Magazento_Social_Helper</class>
49
+ </social>
50
+ </helpers>
51
+
52
+ <models>
53
+ <social>
54
+ <class>Magazento_Social_Model</class>
55
+ <resourceModel>social_mysql4</resourceModel>
56
+ </social>
57
+ <social_mysql4>
58
+ <class>Magazento_Social_Model_Mysql4</class>
59
+ <entities>
60
+ <item>
61
+ <table>magazento_socialgp</table>
62
+ </item>
63
+ </entities>
64
+ </social_mysql4>
65
+ </models>
66
+ <resources>
67
+ <social_setup>
68
+ <setup>
69
+ <module>Magazento_Social</module>
70
+ </setup>
71
+ <connection>
72
+ <use>core_setup</use>
73
+ </connection>
74
+ </social_setup>
75
+ <social_write>
76
+ <connection>
77
+ <use>core_write</use>
78
+ </connection>
79
+ </social_write>
80
+ <social_read>
81
+ <connection>
82
+ <use>core_read</use>
83
+ </connection>
84
+ </social_read>
85
+ </resources>
86
+
87
+
88
+ </global>
89
+ <adminhtml>
90
+ <acl>
91
+ <resources>
92
+ <admin>
93
+ <children>
94
+ <system>
95
+ <children>
96
+ <config>
97
+ <children>
98
+ <social translate="title" module="social">
99
+ <title>social</title>
100
+ </social>
101
+ </children>
102
+ </config>
103
+ </children>
104
+ </system>
105
+ </children>
106
+ </admin>
107
+ </resources>
108
+ </acl>
109
+ <menu>
110
+ <system translate="title" module="social">
111
+ <children>
112
+ <social translate="title" module="social">
113
+ <title>SOCIAL</title>
114
+ <sort_order>0</sort_order>
115
+ <children>
116
+ <cron translate="title" module="social">
117
+ <title>Update Google+</title>
118
+ <action>magazentosocial/cron/index</action>
119
+ </cron>
120
+ <settings translate="title" module="social">
121
+ <title>Settings</title>
122
+ <action>adminhtml/system_config/edit/section/social</action>
123
+ <sort_order>40</sort_order>
124
+ </settings>
125
+ </children>
126
+ </social>
127
+ </children>
128
+ </system>
129
+ </menu>
130
+ </adminhtml>
131
+ <default>
132
+ <social>
133
+ <general>
134
+ <jquery>1</jquery>
135
+ </general>
136
+ <facebook>
137
+ <enable>1</enable>
138
+ <url>https://www.facebook.com/magazento</url>
139
+ <width>300</width>
140
+ <height>635</height>
141
+ <show_faces>1</show_faces>
142
+ <show_stream>1</show_stream>
143
+ <force_wall></force_wall>
144
+ <show_header>1</show_header>
145
+ <design>2</design>
146
+
147
+ <position>Left</position>
148
+ <position_vertical>Middle</position_vertical>
149
+ <position_vertical_fixed></position_vertical_fixed>
150
+ <position_button>Fixed</position_button>
151
+ <position_button_fixed>5</position_button_fixed>
152
+
153
+ <border_width>5</border_width>
154
+ <border_color>#3b5998</border_color>
155
+ <bg_color>#ffffff</bg_color>
156
+ <color_scheme>light</color_scheme>
157
+ <z_index>1000</z_index>
158
+ <locale>en_US</locale>
159
+ </facebook>
160
+ <twitter>
161
+ <enable>1</enable>
162
+ <username>twitter</username>
163
+ <width>300</width>
164
+ <height>635</height>
165
+ <show_follow_button>1</show_follow_button>
166
+ <show_poll>1</show_poll>
167
+ <tweet_number>7</tweet_number>
168
+ <design>2</design>
169
+
170
+ <position>Left</position>
171
+ <position_vertical>Middle</position_vertical>
172
+ <position_vertical_fixed></position_vertical_fixed>
173
+ <position_button>Fixed</position_button>
174
+ <position_button_fixed>165</position_button_fixed>
175
+
176
+ <border_width>5</border_width>
177
+ <border_color>#33ccff</border_color>
178
+ <shell_color>#33ccff</shell_color>
179
+ <shell_text>#ffffff</shell_text>
180
+ <tweet_background>#ffffff</tweet_background>
181
+ <tweet_text>#000000</tweet_text>
182
+ <links>#47a61e</links>
183
+ <z_index>100</z_index>
184
+ <language>en</language>
185
+ </twitter>
186
+ <youtube>
187
+ <enable>1</enable>
188
+ <channel>volgodark</channel>
189
+ <width>300</width>
190
+ <height>635</height>
191
+ <design>1</design>
192
+
193
+ <position>Left</position>
194
+ <position_vertical>Middle</position_vertical>
195
+ <position_vertical_fixed></position_vertical_fixed>
196
+ <position_button>Fixed</position_button>
197
+ <position_button_fixed>485</position_button_fixed>
198
+
199
+ <border_width>5</border_width>
200
+ <border_color>#9b9b9b</border_color>
201
+ <bg_color>#ffffff</bg_color>
202
+ <z_index>1000</z_index>
203
+ </youtube>
204
+ <linkedin>
205
+ <enable>1</enable>
206
+ <show_member>1</show_member>
207
+ <show_member_url>http://linkedin.com/pub/ivan-proskuryakov/31/200/316</show_member_url>
208
+ <show_company>0</show_company>
209
+ <show_company_id>34346</show_company_id>
210
+ <order>1</order>
211
+ <height>365</height>
212
+ <width>300</width>
213
+ <design>1</design>
214
+
215
+ <position>Left</position>
216
+ <position_vertical>Middle</position_vertical>
217
+ <position_vertical_fixed></position_vertical_fixed>
218
+ <position_button>Fixed</position_button>
219
+ <position_button_fixed>368</position_button_fixed>
220
+
221
+ <border_width>5</border_width>
222
+ <border_color>#007fb1</border_color>
223
+ <bg_color>#ffffff</bg_color>
224
+ <z_index>1000</z_index>
225
+ </linkedin>
226
+ <google>
227
+ <enable>1</enable>
228
+ <page_id>104629412415657030658</page_id>
229
+ <show_feed>1</show_feed>
230
+
231
+ <height>635</height>
232
+ <width>300</width>
233
+ <design>2</design>
234
+
235
+ <position>Right</position>
236
+ <position_vertical>Middle</position_vertical>
237
+ <position_vertical_fixed></position_vertical_fixed>
238
+ <position_button>Fixed</position_button>
239
+ <position_button_fixed>325</position_button_fixed>
240
+
241
+ <border_width>5</border_width>
242
+ <border_color>#000000</border_color>
243
+ <bg_color>#ffffff</bg_color>
244
+ <language>en-US</language>
245
+ <z_index>1000</z_index>
246
+ </google>
247
+ </social>
248
+ </default>
249
+
250
+ </config>
app/code/community/Magazento/Social/etc/system.xml ADDED
@@ -0,0 +1,904 @@
1
+ <?xml version="1.0"?>
2
+ <config>
3
+ <tabs>
4
+ <magazento translate="label">
5
+ <label>Magazento.com</label>
6
+ <sort_order>250</sort_order>
7
+ </magazento>
8
+ </tabs>
9
+ <sections>
10
+ <social translate="label" module="social">
11
+ <label>SOCIAL</label>
12
+ <tab>magazento</tab>
13
+ <frontend_type>text</frontend_type>
14
+ <sort_order>100</sort_order>
15
+ <show_in_default>1</show_in_default>
16
+ <show_in_website>1</show_in_website>
17
+ <show_in_store>1</show_in_store>
18
+ <groups>
19
+ <general translate="label">
20
+ <label>General</label>
21
+ <frontend_type>text</frontend_type>
22
+ <sort_order>0</sort_order>
23
+ <show_in_default>1</show_in_default>
24
+ <show_in_website>1</show_in_website>
25
+ <show_in_store>1</show_in_store>
26
+ <fields>
27
+ <!-- <enable translate="label">
28
+ <label>Enable</label>
29
+ <frontend_type>select</frontend_type>
30
+ <source_model>adminhtml/system_config_source_yesno</source_model>
31
+ <sort_order>51</sort_order>
32
+ <show_in_default>1</show_in_default>
33
+ <show_in_website>1</show_in_website>
34
+ <show_in_store>1</show_in_store>
35
+ </enable>-->
36
+ <jquery translate="label">
37
+ <label>Include JQuery</label>
38
+ <frontend_type>select</frontend_type>
39
+ <source_model>adminhtml/system_config_source_yesno</source_model>
40
+ <sort_order>60</sort_order>
41
+ <show_in_default>1</show_in_default>
42
+ <show_in_website>1</show_in_website>
43
+ <show_in_store>0</show_in_store>
44
+ </jquery>
45
+ </fields>
46
+ </general>
47
+ <facebook translate="label">
48
+ <label>FaceBook</label>
49
+ <frontend_type>text</frontend_type>
50
+ <sort_order>10</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
+ <fields>
55
+ <enable translate="label">
56
+ <label>Enable</label>
57
+ <frontend_type>select</frontend_type>
58
+ <source_model>adminhtml/system_config_source_yesno</source_model>
59
+ <sort_order>11</sort_order>
60
+ <show_in_default>1</show_in_default>
61
+ <show_in_website>1</show_in_website>
62
+ <show_in_store>1</show_in_store>
63
+ </enable>
64
+ <url translate="label">
65
+ <label>Facebook Page URL</label>
66
+ <frontend_type>text</frontend_type>
67
+ <sort_order>20</sort_order>
68
+ <show_in_default>1</show_in_default>
69
+ <show_in_website>1</show_in_website>
70
+ <show_in_store>0</show_in_store>
71
+ </url>
72
+ <width translate="label">
73
+ <label>Width</label>
74
+ <frontend_type>text</frontend_type>
75
+ <sort_order>30</sort_order>
76
+ <show_in_default>1</show_in_default>
77
+ <show_in_website>1</show_in_website>
78
+ <show_in_store>0</show_in_store>
79
+ </width>
80
+ <height translate="label">
81
+ <label>Height</label>
82
+ <frontend_type>text</frontend_type>
83
+ <sort_order>40</sort_order>
84
+ <show_in_default>1</show_in_default>
85
+ <show_in_website>1</show_in_website>
86
+ <show_in_store>0</show_in_store>
87
+ </height>
88
+ <show_faces translate="label">
89
+ <label>Show faces</label>
90
+ <frontend_type>select</frontend_type>
91
+ <source_model>adminhtml/system_config_source_yesno</source_model>
92
+ <sort_order>50</sort_order>
93
+ <show_in_default>1</show_in_default>
94
+ <show_in_website>1</show_in_website>
95
+ <show_in_store>0</show_in_store>
96
+ </show_faces>
97
+ <show_stream translate="label">
98
+ <label>Show stream</label>
99
+ <frontend_type>select</frontend_type>
100
+ <source_model>adminhtml/system_config_source_yesno</source_model>
101
+ <sort_order>60</sort_order>
102
+ <show_in_default>1</show_in_default>
103
+ <show_in_website>1</show_in_website>
104
+ <show_in_store>0</show_in_store>
105
+ </show_stream>
106
+ <force_wall translate="label">
107
+ <label>Force wall</label>
108
+ <frontend_type>select</frontend_type>
109
+ <source_model>adminhtml/system_config_source_yesno</source_model>
110
+ <sort_order>70</sort_order>
111
+ <show_in_default>1</show_in_default>
112
+ <show_in_website>1</show_in_website>
113
+ <show_in_store>0</show_in_store>
114
+ </force_wall>
115
+ <show_header translate="label">
116
+ <label>Show header</label>
117
+ <frontend_type>select</frontend_type>
118
+ <source_model>adminhtml/system_config_source_yesno</source_model>
119
+ <sort_order>80</sort_order>
120
+ <show_in_default>1</show_in_default>
121
+ <show_in_website>1</show_in_website>
122
+ <show_in_store>0</show_in_store>
123
+ </show_header>
124
+ <design translate="label">
125
+ <label>Design</label>
126
+ <frontend_type>text</frontend_type>
127
+ <sort_order>85</sort_order>
128
+ <show_in_default>1</show_in_default>
129
+ <show_in_website>1</show_in_website>
130
+ <show_in_store>0</show_in_store>
131
+ </design>
132
+ <position translate="label">
133
+ <label>Position</label>
134
+ <frontend_type>select</frontend_type>
135
+ <source_model>social/source_position</source_model>
136
+ <sort_order>90</sort_order>
137
+ <show_in_default>1</show_in_default>
138
+ <show_in_website>1</show_in_website>
139
+ <show_in_store>0</show_in_store>
140
+ </position>
141
+ <position_vertical translate="label">
142
+ <label>Vertical position </label>
143
+ <frontend_type>select</frontend_type>
144
+ <source_model>social/source_positionvertical</source_model>
145
+ <sort_order>100</sort_order>
146
+ <show_in_default>1</show_in_default>
147
+ <show_in_website>1</show_in_website>
148
+ <show_in_store>0</show_in_store>
149
+ </position_vertical>
150
+ <position_vertical_fixed translate="label">
151
+ <label>Vertical position fixed </label>
152
+ <frontend_type>text</frontend_type>
153
+ <comment>px from top, only if "Vertical position" = Fixed </comment>
154
+ <sort_order>105</sort_order>
155
+ <show_in_default>1</show_in_default>
156
+ <show_in_website>1</show_in_website>
157
+ <show_in_store>0</show_in_store>
158
+ </position_vertical_fixed>
159
+ <position_button translate="label">
160
+ <label>Button position</label>
161
+ <frontend_type>select</frontend_type>
162
+ <source_model>social/source_positionbutton</source_model>
163
+ <sort_order>110</sort_order>
164
+ <show_in_default>1</show_in_default>
165
+ <show_in_website>1</show_in_website>
166
+ <show_in_store>0</show_in_store>
167
+ </position_button>
168
+ <position_button_fixed translate="label">
169
+ <label>Button position fixed </label>
170
+ <frontend_type>text</frontend_type>
171
+ <comment>px from top of slider, only if "Button position" = Fixed </comment>
172
+ <sort_order>115</sort_order>
173
+ <show_in_default>1</show_in_default>
174
+ <show_in_website>1</show_in_website>
175
+ <show_in_store>0</show_in_store>
176
+ </position_button_fixed>
177
+ <border_width translate="label">
178
+ <label>Border width</label>
179
+ <frontend_type>text</frontend_type>
180
+ <sort_order>120</sort_order>
181
+ <show_in_default>1</show_in_default>
182
+ <show_in_website>1</show_in_website>
183
+ <show_in_store>0</show_in_store>
184
+ </border_width>
185
+ <border_color translate="label">
186
+ <label>Border color</label>
187
+ <frontend_type>text</frontend_type>
188
+ <sort_order>130</sort_order>
189
+ <show_in_default>1</show_in_default>
190
+ <show_in_website>1</show_in_website>
191
+ <show_in_store>0</show_in_store>
192
+ </border_color>
193
+ <bg_color translate="label">
194
+ <label>Background color</label>
195
+ <frontend_type>text</frontend_type>
196
+ <sort_order>130</sort_order>
197
+ <show_in_default>1</show_in_default>
198
+ <show_in_website>1</show_in_website>
199
+ <show_in_store>0</show_in_store>
200
+ </bg_color>
201
+ <color_scheme translate="label">
202
+ <label>Color scheme</label>
203
+ <frontend_type>select</frontend_type>
204
+ <source_model>social/source_colorscheme</source_model>
205
+ <sort_order>140</sort_order>
206
+ <show_in_default>1</show_in_default>
207
+ <show_in_website>1</show_in_website>
208
+ <show_in_store>0</show_in_store>
209
+ </color_scheme>
210
+ <z_index translate="label">
211
+ <label>CSS z-index</label>
212
+ <frontend_type>select</frontend_type>
213
+ <frontend_type>text</frontend_type>
214
+ <sort_order>150</sort_order>
215
+ <show_in_default>1</show_in_default>
216
+ <show_in_website>1</show_in_website>
217
+ <show_in_store>0</show_in_store>
218
+ </z_index>
219
+ <locale translate="label">
220
+ <label>Locale</label>
221
+ <frontend_type>select</frontend_type>
222
+ <source_model>social/source_locale</source_model>
223
+ <sort_order>160</sort_order>
224
+ <show_in_default>1</show_in_default>
225
+ <show_in_website>1</show_in_website>
226
+ <show_in_store>0</show_in_store>
227
+ </locale>
228
+ <divider001 translate="label">
229
+ <frontend_model>social/facebookimage</frontend_model>
230
+ <sort_order>99</sort_order>
231
+ <show_in_default>1</show_in_default>
232
+ <show_in_website>1</show_in_website>
233
+ <show_in_store>1</show_in_store>
234
+ </divider001>
235
+ </fields>
236
+ </facebook>
237
+ <twitter translate="label">
238
+ <label>Twitter</label>
239
+ <frontend_type>text</frontend_type>
240
+ <sort_order>20</sort_order>
241
+ <show_in_default>1</show_in_default>
242
+ <show_in_website>1</show_in_website>
243
+ <show_in_store>1</show_in_store>
244
+ <fields>
245
+ <enable translate="label">
246
+ <label>Enable</label>
247
+ <frontend_type>select</frontend_type>
248
+ <source_model>adminhtml/system_config_source_yesno</source_model>
249
+ <sort_order>11</sort_order>
250
+ <show_in_default>1</show_in_default>
251
+ <show_in_website>1</show_in_website>
252
+ <show_in_store>1</show_in_store>
253
+ </enable>
254
+ <username translate="label">
255
+ <label>Username</label>
256
+ <frontend_type>text</frontend_type>
257
+ <sort_order>20</sort_order>
258
+ <show_in_default>1</show_in_default>
259
+ <show_in_website>1</show_in_website>
260
+ <show_in_store>0</show_in_store>
261
+ </username>
262
+ <width translate="label">
263
+ <label>Width</label>
264
+ <frontend_type>text</frontend_type>
265
+ <sort_order>30</sort_order>
266
+ <show_in_default>1</show_in_default>
267
+ <show_in_website>1</show_in_website>
268
+ <show_in_store>0</show_in_store>
269
+ </width>
270
+ <height translate="label">
271
+ <label>Height</label>
272
+ <frontend_type>text</frontend_type>
273
+ <sort_order>40</sort_order>
274
+ <show_in_default>1</show_in_default>
275
+ <show_in_website>1</show_in_website>
276
+ <show_in_store>0</show_in_store>
277
+ </height>
278
+ <show_follow_button translate="label">
279
+ <label>Show follow button</label>
280
+ <frontend_type>select</frontend_type>
281
+ <source_model>adminhtml/system_config_source_yesno</source_model>
282
+ <sort_order>50</sort_order>
283
+ <show_in_default>1</show_in_default>
284
+ <show_in_website>1</show_in_website>
285
+ <show_in_store>0</show_in_store>
286
+ </show_follow_button>
287
+ <show_poll translate="label">
288
+ <label>Poll for new results</label>
289
+ <frontend_type>select</frontend_type>
290
+ <source_model>adminhtml/system_config_source_yesno</source_model>
291
+ <sort_order>60</sort_order>
292
+ <show_in_default>1</show_in_default>
293
+ <show_in_website>1</show_in_website>
294
+