Hi zusammen,
hier mal eine kurze Anleitung, wie man dem Likebutton beibringt, dass er das Artikelbild anstatt eines anderen Bildes verwenden soll:
In die _header.tpl folgendes einfügen:
<html[{if $oView->getActiveLangAbbr()}] lang="[{ $oView->getActiveLangAbbr() }]"[{/if}] [{if $oViewConf->getFbAppId()}]xmlns:fb="http://www.facebook.com/2008/fbml" xmlns:og="http://ogp.me/ns#"[{/if}]>
[{if $actpic}]
<meta property="og:image" content="[{$actpic}]">
[{else}]
<meta property="og:image" content="[{$oViewConf->getImageUrl()}]logo.png">
[{/if}]
<meta property="og:title" content="[{if $title}][{$title|strip_tags}][{/if}]">
<meta property="og:site_name" content="http://www.deinedomain.de">
<meta property="og:type" content="product">
[{if $oViewConf->getFbAppId()}]<meta property="fb:app_id" content="[{$oViewConf->getFbAppId()}]">[{/if}]
Das wars… Allerbeste Grüße vom Chris
Leider hab ich noch festgestellt, dass der Like-Button die Session bei aktiviertem SSL “zerstört”, wenn man den Bewerten-Link klickt und nach dem Login wieder auf das zu bewertende Produkt redirected wird. Für einen Workaround wäre ich Euch sehr dankbar…
Allerbeste Grüße vom Chris
Hier noch der Code für die aktuelle 4.5.0 (basic):
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html[{if $oView->getActiveLangAbbr()}] lang="[{ $oView->getActiveLangAbbr() }]"[{/if}] [{if $oViewConf->getFbAppId()}]xmlns:fb="http://www.facebook.com/2008/fbml" xmlns:og="http://ogp.me/ns#"[{/if}]>
<head>
[{assign var="_sMetaTitlePrefix" value=$oView->getTitlePrefix() }]
[{assign var="_sMetaTitleSuffix" value=$oView->getTitleSuffix() }]
[{assign var="_sMetaTitle" value=$oView->getTitle() }]
<title>[{ $_sMetaTitlePrefix }][{if $_sMetaTitlePrefix && $_sMetaTitle }] | [{/if}][{$_sMetaTitle|strip_tags}][{if $_sMetaTitleSuffix && ($_sMetaTitlePrefix || $_sMetaTitle) }] | [{/if}][{$_sMetaTitleSuffix}]</title>
<meta http-equiv="Content-Type" content="text/html; charset=[{$oView->getCharSet()}]">
<meta http-equiv="imagetoolbar" content="no">
<meta http-equiv="content-language" content="de">
[{assign var="product" value=$oView->getProduct() }]
[{if $product}]
<meta property="og:image" content="[{ $oView->getActPicture() }]">
[{else}]
<meta property="og:image" content="[{$oViewConf->getImageUrl()}]logo_white.gif">
[{/if}]
<meta property="og:title" content="[{ $_sMetaTitlePrefix }][{if $_sMetaTitlePrefix && $_sMetaTitle }] | [{/if}][{$_sMetaTitle|strip_tags}][{if $_sMetaTitleSuffix && ($_sMetaTitlePrefix || $_sMetaTitle) }] | [{/if}][{$_sMetaTitleSuffix}]">
<meta property="og:site_name" content="http://www.meinestruempfe.de">
<meta property="og:type" content="product">
Ich nehme an, statt www.meinestruempfe.de sollte ich meine eigene URL eintragen?
könnte hilfreich sein, ja 
Hab ich gemacht 
Jetzt geht es leider gar nicht mehr. Sobald ich den Like Button anklicke, geht kurz eine 1 auf und dann gleich wieder zu und der Link ist nicht gepostet…
Schick mir doch bitteschön mal nen Link, damit man sich das ansehen kann.
So,
habs gerade nochmal eingefügt.
Die header.tpl sieht so aus:
<div id=“header” class=“clear”>
[{include file=“widget/header/languages.tpl”}]
[{include file=“widget/header/currencies.tpl”}]
[{oxid_include_dynamic file=“widget/header/servicebox.tpl”}]
<ul id=“topMenu”>
<li class=“login flyout[{if $oxcmp_user->oxuser__oxpassword->value}] logged[{/if}]”>
[{include file=“widget/header/loginbox.tpl”}]
</li>
[{if !$oxcmp_user}]
<li><a id=“registerLink” href="[{ oxgetseourl ident=$oViewConf->getSslSelfLink()|cat:“cl=register” }]" title="[{oxmultilang ident=“PAGE_ACCOUNT_REGISTER_REGISTER”}]">[{oxmultilang ident=“PAGE_ACCOUNT_REGISTER_REGISTER”}]</a></li>
[{/if}]
</ul>
<a id=“logo” href="[{$oViewConf->getHomeLink()}]" title="[{$oxcmp_shop->oxshops__oxtitleprefix->value}]"><img src="[{$oViewConf->getImageUrl()}]logo.png" alt="[{$oxcmp_shop->oxshops__oxtitleprefix->value}]"></a>
[{include file=“widget/header/topcategories.tpl”}]
[{oxid_include_dynamic file=“widget/minibasket/minibasket.tpl”}]
[{include file=“widget/header/search.tpl”}]
</div>
[{if $oView->getClassName()==‘start’ && $oView->getBanners()|@count > 0 }]
<div class=“oxSlider”>
[{include file=“widget/promoslider.tpl” }]
</div>
[{/if }]
<!DOCTYPE HTML PUBLIC “-//W3C//DTD HTML 4.01//EN” “http://www.w3.org/TR/html4/strict.dtd”>
<html[{if $oView->getActiveLangAbbr()}] lang="[{ $oView->getActiveLangAbbr() }]"[{/if}] [{if $oViewConf->getFbAppId()}]xmlns:fb=“http://www.facebook.com/2008/fbml” xmlns:og=“http://ogp.me/ns#”[{/if}]>
<head>
[{assign var="_sMetaTitlePrefix" value=$oView->getTitlePrefix() }]
[{assign var="_sMetaTitleSuffix" value=$oView->getTitleSuffix() }]
[{assign var="_sMetaTitle" value=$oView->getTitle() }]
<title>[{ $_sMetaTitlePrefix }][{if $_sMetaTitlePrefix && $_sMetaTitle }] | [{/if}][{$_sMetaTitle|strip_tags}][{if $_sMetaTitleSuffix && ($_sMetaTitlePrefix || $_sMetaTitle) }] | [{/if}][{$_sMetaTitleSuffix}]</title>
<meta http-equiv="Content-Type" content="text/html; charset=[{$oView->getCharSet()}]">
<meta http-equiv="imagetoolbar" content="no">
<meta http-equiv="content-language" content="de">
[{assign var="product" value=$oView->getProduct() }]
[{if $product}]
<meta property="og:image" content="[{ $oView->getActPicture() }]">
[{else}]
<meta property="og:image" content="[{$oViewConf->getImageUrl()}]logo_white.gif">
[{/if}]
<meta property="og:title" content="[{ $_sMetaTitlePrefix }][{if $_sMetaTitlePrefix && $_sMetaTitle }] | [{/if}][{$_sMetaTitle|strip_tags}][{if $_sMetaTitleSuffix && ($_sMetaTitlePrefix || $_sMetaTitle) }] | [{/if}][{$_sMetaTitleSuffix}]">
<meta property="og:site_name" content="http://www.modellbau-ludwigsburg.de">
<meta property="og:type" content="product">
www.modellbau-ludwigsburg.de - such dir nen Artikel aus.
Und schon mal vielen Dank für die Mühe
Du bist im falschen Template, beim Azure Template heißt die zu bearbeitende Datei base.tpl
Dort suchst Du die entsprechende Stelle und inkludierst nur den Teil, den ich angegeben habe.
So sollte das dann bei Dir aussehen:
[{* Important ! render page head and body to collect scripts and styles *}]
[{capture append="oxidBlock_pageHead"}]
[{assign var="_sMetaTitlePrefix" value=$oView->getTitlePrefix() }]
[{assign var="_sMetaTitleSuffix" value=$oView->getTitleSuffix() }]
[{assign var="_sMetaTitle" value=$oView->getTitle() }]
<title>[{ $_sMetaTitlePrefix }][{if $_sMetaTitlePrefix && $_sMetaTitle }] | [{/if}][{$_sMetaTitle|strip_tags}][{if $_sMetaTitleSuffix && ($_sMetaTitlePrefix || $_sMetaTitle) }] | [{/if}][{$_sMetaTitleSuffix}]</title>
<meta http-equiv="Content-Type" content="text/html; charset=[{$oView->getCharSet()}]">
<meta http-equiv="X-UA-Compatible" content="IE=9" >
[{if $oView->noIndex() == 1 }]
<meta name="ROBOTS" content="NOINDEX, NOFOLLOW">
[{elseif $oView->noIndex() == 2 }]
<meta name="ROBOTS" content="NOINDEX, FOLLOW">
[{/if}]
[{if $oView->getMetaDescription()}]
<meta name="description" content="[{$oView->getMetaDescription()}]">
[{/if}]
[{if $oView->getMetaKeywords()}]
<meta name="keywords" content="[{$oView->getMetaKeywords()}]">
[{/if}]
[{assign var="product" value=$oView->getProduct() }]
[{if $product}]
<meta property="og:image" content="[{ $oView->getActPicture() }]">
[{else}]
<meta property="og:image" content="[{$oViewConf->getImageUrl()}]logo_white.gif">
[{/if}]
<meta property="og:title" content="[{ $_sMetaTitlePrefix }][{if $_sMetaTitlePrefix && $_sMetaTitle }] | [{/if}][{$_sMetaTitle|strip_tags}][{if $_sMetaTitleSuffix && ($_sMetaTitlePrefix || $_sMetaTitle) }] | [{/if}][{$_sMetaTitleSuffix}]">
<meta property="og:site_name" content="http://www.deineurl.de">
<meta property="og:type" content="product">
[{assign var="canonical_url" value=$oView->getCanonicalUrl()}]
[{if $canonical_url }]
<link rel="canonical" href="[{ $canonical_url }]">
[{/if}]
<link rel="shortcut icon" href="[{ $oViewConf->getBaseDir() }]favicon.ico">
[{oxstyle include="css/reset.css"}]
[{oxstyle include="css/typography.css"}]
[{oxstyle include="css/layout.css"}]
[{oxstyle include="css/fxstyles.css"}]
[{oxstyle include="css/elements.css"}]
[{oxstyle include="css/ie.css" if="lte IE 8"}]
[{assign var='rsslinks' value=$oView->getRssLinks() }]
[{if $rsslinks}]
[{foreach from=$rsslinks item='rssentry'}]
<link rel="alternate" type="application/rss+xml" title="[{$rssentry.title|strip_tags}]" href="[{$rssentry.link}]">
[{/foreach}]
[{/if}]
[{block name="head_css"}]
[{foreach from=$oxidBlock_head item="_block"}]
[{$_block}]
[{/foreach}]
[{/block}]
<base href="[{ $oViewConf->getBaseDir() }]">
[{/capture}]
<!DOCTYPE HTML>
<html[{if $oView->getActiveLangAbbr()}] lang="[{ $oView->getActiveLangAbbr() }]"[{/if}] [{if $oViewConf->getFbAppId()}]xmlns:fb="http://www.facebook.com/2008/fbml" xmlns:og="http://ogp.me/ns#"[{/if}]>
Bis einschliesslich Zeile 62, also bis hin zu <head> musst Du das von mir einfügen.
Befasse Dich bitte mehr mit HTML Validität an sich, es kann keine zwei Doctypes in einem HTML Dokument geben.
In einem älteren Browser wäre die Seite wahrscheinlich extrem fehlerhaft dargestellt worden.
Supi, danke für deine Mühe!
Hat aber leider nicht geklappt… Immer noch gleicher Fehler…
meine base.tpl sieht jetzt so aus:
[{* Important ! render page head and body to collect scripts and styles *}]
[{capture append="oxidBlock_pageHead"}]
[{assign var="_sMetaTitlePrefix" value=$oView->getTitlePrefix() }]
[{assign var="_sMetaTitleSuffix" value=$oView->getTitleSuffix() }]
[{assign var="_sMetaTitle" value=$oView->getTitle() }]
<title>[{ $_sMetaTitlePrefix }][{if $_sMetaTitlePrefix && $_sMetaTitle }] | [{/if}][{$_sMetaTitle|strip_tags}][{if $_sMetaTitleSuffix && ($_sMetaTitlePrefix || $_sMetaTitle) }] | [{/if}][{$_sMetaTitleSuffix}]</title>
<meta http-equiv="Content-Type" content="text/html; charset=[{$oView->getCharSet()}]">
<meta http-equiv="X-UA-Compatible" content="IE=9" >
[{if $oView->noIndex() == 1 }]
<meta name="ROBOTS" content="NOINDEX, NOFOLLOW">
[{elseif $oView->noIndex() == 2 }]
<meta name="ROBOTS" content="NOINDEX, FOLLOW">
[{/if}]
[{if $oView->getMetaDescription()}]
<meta name="description" content="[{$oView->getMetaDescription()}]">
[{/if}]
[{if $oView->getMetaKeywords()}]
<meta name="keywords" content="[{$oView->getMetaKeywords()}]">
[{/if}]
[{assign var="product" value=$oView->getProduct() }]
[{if $product}]
<meta property="og:image" content="[{ $oView->getActPicture() }]">
[{else}]
<meta property="og:image" content="[{$oViewConf->getImageUrl()}]logo_white.gif">
[{/if}]
<meta property="og:title" content="[{ $_sMetaTitlePrefix }][{if $_sMetaTitlePrefix && $_sMetaTitle }] | [{/if}][{$_sMetaTitle|strip_tags}][{if $_sMetaTitleSuffix && ($_sMetaTitlePrefix || $_sMetaTitle) }] | [{/if}][{$_sMetaTitleSuffix}]">
<meta property="og:site_name" content="http://www.modellbau-ludwigsburg.de">
<meta property="og:type" content="product">
[{assign var="canonical_url" value=$oView->getCanonicalUrl()}]
[{if $canonical_url }]
<link rel="canonical" href="[{ $canonical_url }]">
[{/if}]
<link rel="shortcut icon" href="[{ $oViewConf->getBaseDir() }]favicon.ico">
[{oxstyle include="css/reset.css"}]
[{oxstyle include="css/typography.css"}]
[{oxstyle include="css/layout.css"}]
[{oxstyle include="css/fxstyles.css"}]
[{oxstyle include="css/elements.css"}]
[{oxstyle include="css/ie.css" if="lte IE 8"}]
[{assign var='rsslinks' value=$oView->getRssLinks() }]
[{if $rsslinks}]
[{foreach from=$rsslinks item='rssentry'}]
<link rel="alternate" type="application/rss+xml" title="[{$rssentry.title|strip_tags}]" href="[{$rssentry.link}]">
[{/foreach}]
[{/if}]
[{block name="head_css"}]
[{foreach from=$oxidBlock_head item="_block"}]
[{$_block}]
[{/foreach}]
[{/block}]
<base href="[{ $oViewConf->getBaseDir() }]">
[{/capture}]
<!DOCTYPE HTML>
<html[{if $oView->getActiveLangAbbr()}] lang="[{ $oView->getActiveLangAbbr() }]"[{/if}] [{if $oViewConf->getFbAppId()}]xmlns:fb="http://www.facebook.com/2008/fbml" xmlns:og="http://ogp.me/ns#"[{/if}]>
<head>
[{foreach from=$oxidBlock_pageHead item="_block"}]
[{$_block}]
[{/foreach}]
[{oxstyle}]
</head>
<body>
[{foreach from=$oxidBlock_pageBody item="_block"}]
[{$_block}]
[{/foreach}]
[{foreach from=$oxidBlock_pagePopup item="_block"}]
[{$_block}]
[{/foreach}]
[{oxscript include="js/jquery.min.js" priority=1}]
[{oxscript include="js/jquery-ui.min.js" priority=1}]
[{oxscript include="js/jquery.ui.oxid.js" priority=1}]
[{oxscript include="js/cloud-zoom.1.0.2.js" priority=1}]
[{oxscript include="js/countdown.jquery.js" priority=1}]
[{oxscript include="js/gui.js" priority=9}]
[{oxscript include='js/superfish/hoverIntent.js'}]
[{oxscript include='js/superfish/supersubs.js'}]
[{oxscript include='js/superfish/superfish.js'}]
[{if $oViewConf->isTplBlocksDebugMode()}]
[{oxscript include="js/block-debug.js"}]
[{/if}]
[{oxscript}]
[{foreach from=$oxidBlock_pageScript item="_block"}]
[{$_block}]
[{/foreach}]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html[{if $oView->getActiveLangAbbr()}] lang="[{ $oView->getActiveLangAbbr() }]"[{/if}] [{if $oViewConf->getFbAppId()}]xmlns:fb="http://www.facebook.com/2008/fbml" xmlns:og="http://ogp.me/ns#"[{/if}]>
<head>
[{assign var="_sMetaTitlePrefix" value=$oView->getTitlePrefix() }]
[{assign var="_sMetaTitleSuffix" value=$oView->getTitleSuffix() }]
[{assign var="_sMetaTitle" value=$oView->getTitle() }]
<title>[{ $_sMetaTitlePrefix }][{if $_sMetaTitlePrefix && $_sMetaTitle }] | [{/if}][{$_sMetaTitle|strip_tags}][{if $_sMetaTitleSuffix && ($_sMetaTitlePrefix || $_sMetaTitle) }] | [{/if}][{$_sMetaTitleSuffix}]</title>
<meta http-equiv="Content-Type" content="text/html; charset=[{$oView->getCharSet()}]">
<meta http-equiv="imagetoolbar" content="no">
<meta http-equiv="content-language" content="de">
[{assign var="product" value=$oView->getProduct() }]
[{if $product}]
<meta property="og:image" content="[{ $oView->getActPicture() }]">
[{else}]
<meta property="og:image" content="[{$oViewConf->getImageUrl()}]logo_white.gif">
[{/if}]
<meta property="og:title" content="[{ $_sMetaTitlePrefix }][{if $_sMetaTitlePrefix && $_sMetaTitle }] | [{/if}][{$_sMetaTitle|strip_tags}][{if $_sMetaTitleSuffix && ($_sMetaTitlePrefix || $_sMetaTitle) }] | [{/if}][{$_sMetaTitleSuffix}]">
<meta property="og:site_name" content="http://www.modellbau-ludwigsburg.de">
<meta property="og:type" content="product">
<!--[if (gte IE 6)&(lte IE 8)]>
<script type="text/javascript" src="[{ $oViewConf->getResourceUrl() }]js/IE9.js"></script>
<![endif]-->
<!--[if IE]>
<script src="[{ $oViewConf->getResourceUrl() }]js/jquery-fonteffect-1.0.0.js"></script>
<script src="[{ $oViewConf->getResourceUrl() }]js/fonteffect.oxid.js"></script>
<![endif]-->
</body>
</html>
Hast Du das TMP Verzeichnis und die Views bereits geleert?
Deine Base ist übrigens noch falsch, so muss das sein:
[{* Important ! render page head and body to collect scripts and styles *}]
[{capture append="oxidBlock_pageHead"}]
[{assign var="_sMetaTitlePrefix" value=$oView->getTitlePrefix() }]
[{assign var="_sMetaTitleSuffix" value=$oView->getTitleSuffix() }]
[{assign var="_sMetaTitle" value=$oView->getTitle() }]
<title>[{ $_sMetaTitlePrefix }][{if $_sMetaTitlePrefix && $_sMetaTitle }] | [{/if}][{$_sMetaTitle|strip_tags}][{if $_sMetaTitleSuffix && ($_sMetaTitlePrefix || $_sMetaTitle) }] | [{/if}][{$_sMetaTitleSuffix}]</title>
<meta http-equiv="Content-Type" content="text/html; charset=[{$oView->getCharSet()}]">
<meta http-equiv="X-UA-Compatible" content="IE=9" >
[{if $oView->noIndex() == 1 }]
<meta name="ROBOTS" content="NOINDEX, NOFOLLOW">
[{elseif $oView->noIndex() == 2 }]
<meta name="ROBOTS" content="NOINDEX, FOLLOW">
[{/if}]
[{if $oView->getMetaDescription()}]
<meta name="description" content="[{$oView->getMetaDescription()}]">
[{/if}]
[{if $oView->getMetaKeywords()}]
<meta name="keywords" content="[{$oView->getMetaKeywords()}]">
[{/if}]
[{assign var="product" value=$oView->getProduct() }]
[{if $product}]
<meta property="og:image" content="[{ $oView->getActPicture() }]">
[{else}]
<meta property="og:image" content="[{$oViewConf->getImageUrl()}]logo_white.gif">
[{/if}]
<meta property="og:title" content="[{ $_sMetaTitlePrefix }][{if $_sMetaTitlePrefix && $_sMetaTitle }] | [{/if}][{$_sMetaTitle|strip_tags}][{if $_sMetaTitleSuffix && ($_sMetaTitlePrefix || $_sMetaTitle) }] | [{/if}][{$_sMetaTitleSuffix}]">
<meta property="og:site_name" content="http://www.deineurl.de">
<meta property="og:type" content="product">
[{assign var="canonical_url" value=$oView->getCanonicalUrl()}]
[{if $canonical_url }]
<link rel="canonical" href="[{ $canonical_url }]">
[{/if}]
<link rel="shortcut icon" href="[{ $oViewConf->getBaseDir() }]favicon.ico">
[{oxstyle include="css/reset.css"}]
[{oxstyle include="css/typography.css"}]
[{oxstyle include="css/layout.css"}]
[{oxstyle include="css/fxstyles.css"}]
[{oxstyle include="css/elements.css"}]
[{oxstyle include="css/ie.css" if="lte IE 8"}]
[{assign var='rsslinks' value=$oView->getRssLinks() }]
[{if $rsslinks}]
[{foreach from=$rsslinks item='rssentry'}]
<link rel="alternate" type="application/rss+xml" title="[{$rssentry.title|strip_tags}]" href="[{$rssentry.link}]">
[{/foreach}]
[{/if}]
[{block name="head_css"}]
[{foreach from=$oxidBlock_head item="_block"}]
[{$_block}]
[{/foreach}]
[{/block}]
<base href="[{ $oViewConf->getBaseDir() }]">
[{/capture}]
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.0//EN"
"http://www.w3.org/MarkUp/DTD/xhtml-rdfa-1.dtd">
<html[{if $oView->getActiveLangAbbr()}] lang="[{ $oView->getActiveLangAbbr() }]"[{/if}] [{if $oViewConf->getFbAppId()}]xmlns:fb="http://www.facebook.com/2008/fbml" xmlns:og="http://ogp.me/ns#"[{/if}]>
<head>
[{foreach from=$oxidBlock_pageHead item="_block"}]
[{$_block}]
[{/foreach}]
[{oxstyle}]
</head>
<body>
[{foreach from=$oxidBlock_pageBody item="_block"}]
[{$_block}]
[{/foreach}]
[{foreach from=$oxidBlock_pagePopup item="_block"}]
[{$_block}]
[{/foreach}]
[{oxscript include="js/jquery.min.js" priority=1}]
[{oxscript include="js/jquery-ui.min.js" priority=1}]
[{oxscript include="js/jquery.ui.oxid.js" priority=1}]
[{oxscript include="js/cloud-zoom.1.0.2.js" priority=1}]
[{oxscript include="js/countdown.jquery.js" priority=1}]
[{oxscript include="js/gui.js" priority=9}]
[{oxscript include='js/superfish/hoverIntent.js'}]
[{oxscript include='js/superfish/supersubs.js'}]
[{oxscript include='js/superfish/superfish.js'}]
[{if $oViewConf->isTplBlocksDebugMode()}]
[{oxscript include="js/block-debug.js"}]
[{/if}]
[{oxscript}]
[{foreach from=$oxidBlock_pageScript item="_block"}]
[{$_block}]
[{/foreach}]
<!--[if (gte IE 6)&(lte IE 8)]>
<script type="text/javascript" src="[{ $oViewConf->getResourceUrl() }]js/IE9.js"></script>
<![endif]-->
<!--[if IE]>
<script src="[{ $oViewConf->getResourceUrl() }]js/jquery-fonteffect-1.0.0.js"></script>
<script src="[{ $oViewConf->getResourceUrl() }]js/fonteffect.oxid.js"></script>
<![endif]-->
</body>
</html>
So wie’s aussieht ist da wohl noch was anderes faul…
ich habe die base jetzt genau so ersetzt, wie du geschrieben hattest.
Tmp natürlich gelehrt, Views aktualisiert, aber das Ergebnis ist das gleiche…
“1” erschein kurz hinter dem Like Button, geht dann wieder weg und der Artikel wird noch immer nicht vom mir gemocht… 
Okay, das HTML ist schon mal richtig, habs mir eben angesehen.
Schreib mal folgendes ins like.tpl:
[{if $oView->isActive('FbLike') && $oViewConf->getFbAppId()}]
<fb:like href="[{$oView->getCanonicalUrl()}]" layout="button_count" style="width:[{if $width}][{$width}][{else}]90[{/if}]px;" action="like" colorscheme="light"></fb:like>
[{/if}]
Ich benutzte ja gar nicht das FB widget, sonst zeigt es mir immer nur an, wie viele Leute die Seite, nicht aber das einzelne Produkt mögen.
Daher habe ich addthis reingemacht.
die productmain.tpl sieht dann so aus:
…
[{oxmultilang ident="DETAILS_NOTONSTOCK"}]
[{/if}]
[{if $oDetailsProduct->getDeliveryDate()}]
[{oxmultilang ident="DETAILS_AVAILABLEON"}] [{$oDetailsProduct->getDeliveryDate()}]
[{/if}]
</span>
[{elseif $oDetailsProduct->getStockStatus() == 1}]
<span class="stockFlag lowStock">[{oxmultilang ident="DETAILS_LOWSTOCK"}]</span>
[{elseif $oDetailsProduct->getStockStatus() == 0}]
<span class="stockFlag onStock">
[{if $oDetailsProduct->oxarticles__oxstocktext->value}]
[{$oDetailsProduct->oxarticles__oxstocktext->value}]
[{elseif $oViewConf->getStockOnDefaultMessage()}]
[{oxmultilang ident="DETAILS_READYFORSHIPPING"}]
[{/if}]
</span>
[{/if}]
[{oxhasrights ident="TOBASKET"}]
[{if !$oDetailsProduct->isNotBuyable()}]
[{include file="page/details/inc/deliverytime.tpl"}]
[{/if}]
[{/oxhasrights}]
[{*
[{if $oDetailsProduct->oxarticles__oxweight->value}]
<span id="productWeight">[{oxmultilang ident="DETAILS_ARTWEIGHT"}] [{$oDetailsProduct->oxarticles__oxweight->value}] [{oxmultilang ident="DETAILS_ARTWEIGHTUNIT"}]</span>
[{/if}]
*}]
</div>
<div class="social">
<!-- AddThis Button BEGIN -->
<div class="addthis_toolbox addthis_default_style ">
<a class="addthis_button_facebook_like" fb:like:layout="button_count"></a>
<a class="addthis_button_tweet"></a>
<a class="addthis_counter addthis_pill_style"></a>
</div>
<script type="text/javascript">var addthis_config = {"data_track_clickback":true,"data_track_addressbar":true};</script>
<script type="text/javascript" src="http://s7.addthis.com/js/250/addthis_widget.js#pubid=ra-4dffb5d176a5db4f"></script>
<!-- AddThis Button END -->
</div>
<script type="text/javascript">var addthis_config = {"data_track_clickback":true};</script>
<script type="text/javascript" src="http://s7.addthis.com/js/250/addthis_widget.js#pubid=ra-4dffb5d176a5db4f"></script>
</div>
</div>
</div>
</div>
</div>
[{oxhasrights ident="TOBASKET"}]
[{if !$oDetailsProduct->isNotBuyable()}]
</form>
[{/if}]
[{/oxhasrights}]
[{include file="page/details/inc/morepics.tpl"}]
[{oxscript add="$(function(){oxid.initDetailsMain();});"}]
Hola,
nimm mal bitte addthis raus und aktiviere das Facebook Widget und gucke,
was dann passiert, nachdem Du meine Änderung mit eingefügt hast.
Ich hab es bei mir so gelöst, dass ich deinen Quellcode genommen habe. Zunächst passierte nix und ich war schon der Verzweiflung nahe. Die Lösung meines Problems, dass die Bilder nicht richtig bei FB eingebaut waren, war, dass im Adminbereich der Artikelbeschreibung (Admin -> Artikel verwalten -> Artikel -> Erweitert) KEINE MEDIENINFOS eingeben durfte, sondern diese eine Seite vorher (… -> Stamm) als iframe gesetzt hab.
find ich lustig… grad gestern hatte ich mit patrick das thema mit dem fb like bild.
auf der anderen seite lohnt sich die mühe eh kaum noch, da facebook die anzeige der “likes” im “neueste meldungen” oder “hauptmeldungen” versteckt hat … daher nur noch bedingt sichtbar. aus seo sicht lohnen sich shares eh mehr 
nur so als tip 
@modelbau-ludwigsburg: hat es denn jetzt bei dir geklappt? übrigens schöne grüße aus Sifi nach LB 
Hallo,
also das mit dem button hab ich hinbekommen, es wird immer angezeigt ein anders Produkbild als das wo ich gerade bin und der text ist komisch, wo kann ich den editieren
Witzige und originelle Geschenke. Online Versand für Trend-Produkte, Lifestyle-Artikel und Accessoires. Geschenkideen für alle Anlässe günstig online kaufen.
Ich hab diesen text nicht eingetragen wo kommt der her.
Kann mir jemand helfen ?
LG
Tiara