DanielH Posted November 28, 2020 at 08:18 PM Share Posted November 28, 2020 at 08:18 PM Hi, Trying to add additional social media to the ireview3 template parameters.php and get an error: Error: syntax error, unexpected ';': syntax error, unexpected ';' when adding ($ireviewTemplate->getParam('parlerIcon') to line 361 by changing this: $showSocialMediaIcons = ($ireviewTemplate->getParam('twitterIcon') || $ireviewTemplate->getParam('facebookIcon') || $ireviewTemplate->getParam('googlePlusIcon') || $ireviewTemplate->getParam('youtubeIcon') || $ireviewTemplate->getParam('linkedinIcon') || $ireviewTemplate->getParam('pinterestIcon') || $ireviewTemplate->getParam('instagramIcon') || $ireviewTemplate->getParam('rssIcon')) ? '1' : '0'; to $showSocialMediaIcons = ($ireviewTemplate->getParam('parlerIcon') || ($ireviewTemplate->getParam('twitterIcon') || $ireviewTemplate->getParam('facebookIcon') || $ireviewTemplate->getParam('googlePlusIcon') || $ireviewTemplate->getParam('youtubeIcon') || $ireviewTemplate->getParam('linkedinIcon') || $ireviewTemplate->getParam('pinterestIcon') || $ireviewTemplate->getParam('instagramIcon') || $ireviewTemplate->getParam('rssIcon')) ? '1' : '0'; Have also added corresponding code to templateDetails.xml and social_media_icons.php but the same error is present with or without the additional code in these two files. Added icons to ireview3/images and css to custom.css Thanks Daniel Link to comment
DanielH Posted November 28, 2020 at 09:01 PM Author Share Posted November 28, 2020 at 09:01 PM This section is only visible with a valid subscription. If you have a valid subscription, please login. Link to comment
Alex.1 Posted November 28, 2020 at 11:12 PM Share Posted November 28, 2020 at 11:12 PM This section is only visible with a valid subscription. If you have a valid subscription, please login. Link to comment
Recommended Posts