Posted - 11/16/2020 : 18:38:30
Most ECT Users will be including Social Media Buttons on Product and Article detail pages, particularly Facebook Like and Share buttons, the appearance of which is defined by adding this parameter to vsadmin/includes.php$socialbuttonfacebook='<div class="fb-like" data-href="%pageurl%" data-layout="button" data-action="like" data-size="large" data-show-faces="false" data-share="true"></div>';If you look at a Product page like this here notice that the right half of the Share button is chopped off. This is a bug in the Facebook embed code which has been reported and is under investigation. (The pixel width of the relevant table cell is wrong; should be auto.) Anyway ... the point of my post ... my short term solution was to simply have a Like button only and omit the Share button, which is easily done as explained here by altering the $socialbuttonfacebook parameter entry like so: $socialbuttonfacebook='<div class="fb-like" data-href="%pageurl%" data-layout="button" data-action="like" data-size="large" data-show-faces="false" data-share="false"></div>';But did that work? NO No matter what I could only get a button_count + Share button. Altering the $socialbuttonfacebook entry is having no effect whatsoever. My I.T.ZAP website is running ECT PHP v7.2.3. The $socialbuttontwitter and $socialbuttonpinterest parameters appear to work fine. However, on another website running earlier ECT PHP v6.9.1, making the same alteration to $socialbuttonfacebook works just fine Much appreciate if you could please take a look at this issue Vince ? P.S. Links to other pages in forum posts are now the same color as other text, not a color like blue? Gary
Edited by - ITZAP on 11/16/2020 18:57:06
|