garywhitling Posted May 13, 2019 Share Posted May 13, 2019 Hi, Can anyone advise me where I can find the social media icons, please. What folder are they stored in? I would like to add the same icons to my emails....but struggling to find them. Thank you Gary Link to comment Share on other sites More sharing options...
bsmither Posted May 13, 2019 Share Posted May 13, 2019 It depends on the skin, of course, but in Foundation, find the element.social.php template. The core code creates an array and gives that array to the Smarty variable $SOCIAL_LINKS. For each link, there is the URL and the pertinent part of the name of the icon to use. The part of the name (for Foundation) is used to identify the particular icon in the set of SVG images found in the skin's /images/icon-sprites.svg file. For your email templates, one solution is to find real icons and attach them to outgoing emails (assuming we can figure out how to get CubeCart to attach images). A better solution is to create a custom logo with your social media icons as part of the image and use that for emails. (That would still require recipients' email programs to be configured to fetch external images.) Link to comment Share on other sites More sharing options...
garywhitling Posted May 14, 2019 Author Share Posted May 14, 2019 Hi Brian, Thank you for confirming. I thought it was that file. unfortunately, I cannot open the file even when using Adobe Illustrator. it says "This SVG is Invalid. Validate it before opening" ?? However, I have found the icons here: https://fontawesome.com/icons?d=gallery&s=brands Regards Gary Link to comment Share on other sites More sharing options...
bsmither Posted May 15, 2019 Share Posted May 15, 2019 No doubt the the first five lines of the file are what is throwing AI. This file is "inserted" into the template main.php, and therefore, is processed by Smarty. The first five lines constitute a Smarty "comment". Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.