<!-- I got these buttons from simplesharebuttons.com -->
<div id="share-buttons">
<!-- Buffer -->
<a href="https://bufferapp.com/add?url=https://simplesharebuttons.com&text=Simple Share Buttons" target="_blank">
<img src="https://simplesharebuttons.com/images/somacro/buffer.png" alt="Buffer" />
</a>
<!-- Digg -->
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php /* Open Graph Protocol for Facebook and SEO */ ?> | |
| <?php if(Mage::registry('current_product')): ?> | |
| <?php $product = Mage::registry('current_product'); ?> | |
| <meta property="og:title" content="<?php echo ($product->getName()); ?>" /> | |
| <meta property="og:type" content="product" /> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| //File: /app/code/core/Mage/Core/Model/Translate/Inline.php:273 | |
| //Add follow this block | |
| new TranslateInline('translate-inline-trig', '<?php echo $ajaxUrl ?>', '<?php | |
| echo Mage::getDesign()->getArea() ?>'); | |
| if(Object.__defineGetter__) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <IfModule mod_deflate.c> | |
| SetOutputFilter DEFLATE | |
| AddOutputFilterByType DEFLATE text/* | |
| BrowserMatch ^Mozilla/4 gzip-only-text/html | |
| BrowserMatch ^Mozilla/4\.0[678] no-gzip | |
| BrowserMatch \bMSIE !no-gzip !gzip-only-text/html | |
| SetEnvIfNoCase Request_URI \.(?:gif|jpe?g|png)$ no-gzip dont-vary | |
| SetEnvIfNoCase Request_URI \.(?:exe|t?gz|zip|bz2|sit|rar)$ no-gzip dont-vary | |
| SetEnvIfNoCase Request_URI \.pdf$ no-gzip dont-vary | |
| SetEnvIfNoCase Request_URI \.(?:gif|jpe?g|png)$ no-gzip |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # BEGIN GZIP | |
| <ifmodule mod_deflate.c> | |
| AddOutputFilterByType DEFLATE text/text text/html text/plain text/xml text/css application/x-javascript application/javascript | |
| </ifmodule> | |
| # END GZIP Ref: https://varvy.com/pagespeed/enable-compression.html |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <pre>Zend_Db_Statement_Exception Object | |
| ( | |
| [_previous:Zend_Exception:private] => | |
| [message:protected] => SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '3-lunar_menulink' for key 'UNQ_EAV_ATTRIBUTE_ENTITY_TYPE_ID_ATTRIBUTE_CODE' | |
| [string:Exception:private] => | |
| [code:protected] => 23000 | |
| [file:protected] => /home/lunartxs/domains/lunar2t1.xstore.co.il/public_html/lib/Zend/Db/Statement/Pdo.php | |
| [line:protected] => 234 | |
| [trace:Exception:private] => Array |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Install server | |
| apt-get update | |
| apt-get upgrade | |
| apt-get install apache2 mysql-server mysql-client php5 libapache2-mod-php5 php5-mysql php5-mcrypt php5-cgi php5-cli php5-common php5-curl php5-dbg php5-gd php5-gmp php5-ldap php5-odbc php5-pgsql php5-pspell php5-recode php5-snmp php5-sqlite php5-tidy php5-xmlrpc php5-xsl php5-adodb proftpd phpmyadmin libcupsys2 samba samba-common -y | |
| apt-get install apache2 mysql-server mysql-client php5 libapache2-mod-php5 php5-mysql php5-mcrypt php5-cgi php5-cli php5-common php5-curl php5-dbg php5-gd php5-gmp php5-ldap php5-odbc php5-pgsql php5-pspell php5-recode php5-snmp php5-sqlite php5-tidy php5-xmlrpc php5-xsl php5-adodb phpmyadmin -y |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| .mpcss{/*! | |
| * Bootstrap v3.3.4 (http://getbootstrap.com) | |
| * Copyright 2011-2015 Twitter, Inc. | |
| * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) | |
| */} | |
| .mpcss html{font-family:sans-serif;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}.mpcss body{margin:0}.mpcss article,.mpcss aside,.mpcss details,.mpcss figcaption,.mpcss figure,.mpcss footer,.mpcss header,.mpcss hgroup,.mpcss main,.mpcss menu,.mpcss nav,.mpcss section,.mpcss summary{display:block}.mpcss audio,.mpcss canvas,.mpcss progress,.mpcss video{display:inline-block;vertical-align:baseline}.mpcss audio:not([controls]){display:none;height:0}.mpcss [hidden],.mpcss template{display:none}.mpcss a{background-color:transparent}.mpcss a:active,.mpcss a:hover{outline:0}.mpcss b,.mpcss strong{font-weight:700}.mpcss dfn{font-style:italic}.mpcss h1{margin:.67em 0}.mpcss mark{background:#ff0;color:#000}.mpcss sub,.mpcss sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}.mpcss sup{top:-.5em}.mpcss sub{bottom |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Add code to template file | |
| <?php echo $this->getLayout()->createBlock("Mageplaza\Sociallogin\Block\Buttons")->setTemplate("Mageplaza_Sociallogin::buttons.phtml")->setSocialNetworks('Google,Yahoo,Facebook')->toHtml(); ?> | |
| You can put a social login button block on a CMS page | |
| {{block class="Mageplaza\Sociallogin\Block\Buttons" name="buttons.sociallogin" template="Mageplaza_Sociallogin::buttons.phtml" social_networks="Google,Yahoo,Facebook"}} | |
| Please copy and paste the code below to one of xml layout files where you want to show the social button block. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?xml version="1.0"?> | |
| <!-- | |
| * Mageplaza | |
| * | |
| * NOTICE OF LICENSE | |
| * | |
| * This source file is subject to the Mageplaza.com license that is | |
| * available through the world-wide-web at this URL: | |
| * http://mageplaza.com/license-agreement/ | |
| * |
OlderNewer