Leider nur für Wordpress und Joomla.
Wäre schön wenn jemand der Ahnung von der Materie hat, das auch für unsere Shopwareshops umstricken könnte!

guckst du hier und Joomla Erweiterung
Shopware Guru

Shopware Guru
Shopware Guru

Shopware Guru
Fragt mal rattatui, er hat das in seinem Shop
-und ohne wen hätte ich das nicht hinbekommen? 
<script type="text/javascript" src="jquery.socialshareprivacy.js"></script>
<script type="text/javascript" src="{link file='euerTemplate/frontend/_resources/javascript/jquery.socialshareprivacy.js'></script>
{literal}
<script type="text/javascript">
jQuery(document).ready(function($){
if($('#socialshareprivacy').length > 0){
$('#socialshareprivacy').socialSharePrivacy({
services : {
facebook : {
'status' : 'on',
'dummy_img' : 'templates/euerTemplate/frontend/_resources/images/socialshareprivacy/dummy_facebook.png'
},
twitter : {
'status' : 'on',
'dummy_img' : 'templates/euerTemplate/frontend/_resources/images/socialshareprivacy/dummy_twitter.png'
},
gplus : {
'status' : 'on',
'language' : 'de',
'dummy_img' : 'templates/euerTemplate/frontend/_resources/images/socialshareprivacy/dummy_gplus.png'
},
}
});
}
});
</script>
{/literal}'/templates/euerTemplate/frontend/_resources/styles/socialshareprivacy.css',
context.append('<li class="settings_info"><div class="settings_info_menu off perma_option_off"><a href="' + options.info_link + '" target="_blank"><span class="help_info icon"><span class="info">' + options.txt_help + '</span></span></a></div></li>');<div id="socialshareprivacy"></div>
Erfahrener Benutzer

Shopware Guru
geniusgmbhtv hat geschrieben:Leider klappt diese Anleitung nicht.
Durch das einbinden im Header.tpl meines Designs kommen Fehlermeldungen
Shopware Einsteiger
Shopware Guru

)Erfahrener Benutzer
Fatal error: Uncaught exception 'SmartyCompilerException' with message 'Syntax Error in template "/var/www/demoshop/templates/genius/frontend/index/header.tpl" on line 2 " <script type="text/javascript" src="{link file='genius/frontend/_resources/javascript/jquery.socialshareprivacy.js'></script>" - Unexpected "<", expected one of: "{" , "$" , "identifier" , LDELIF , LDELFOR , LDELFOREACH , "closing tag" , INTEGER , "+" , "-" , "(" , "(!,not)" , TYPECAST , HEX , "." , SINGLEQUOTESTRING , "#" , "[" , """' in /var/www/demoshop/engine/Enlight/Vendor/Smarty/libs/sysplugins/smarty_internal_templatecompilerbase.php:404 Stack trace: #0 /var/www/demoshop/engine/Enlight/Vendor/Smarty/libs/sysplugins/smarty_internal_templateparser.php(2699): Smarty_Internal_TemplateCompilerBase->trigger_template_error() #1 /var/www/demoshop/engine/Enlight/Vendor/Smarty/libs/sysplugins/smarty_internal_templateparser.php(2764): Smarty_Internal_Templateparser->yy_syntax_error(65, '<') #2 /var/www/demoshop/engine/Enlight/Ve in /var/www/demoshop/engine/Enlight/Vendor/Smarty/libs/sysplugins/smarty_internal_templatecompilerbase.php on line 404
Shopware Guru
<script type="text/javascript" src="{link file='genius/frontend/_resources/javascript/jquery.socialshareprivacy.js'></script>Unexpected "<", expected one of: "{"