Facebook ist nicht auf die Links in {news} zu erkenne

Deutschsprachiger Support für CMS Made Simple
Post Reply
User avatar
sbupravi
Power Poster
Power Poster
Posts: 257
Joined: Sun Oct 07, 2012 9:29 pm
Location: Adler

Facebook ist nicht auf die Links in {news} zu erkenne

Post by sbupravi »

Zuvor: http://forum.cmsmadesimple.org/viewtopi ... 11&t=71494
Beispiel: http://i-freedom.ru/news/svezhee-litso- ... suura.html

Code: Select all

<div class="fb-comments" data-href="http://i-freedom.ru/news/newsfreedom.html" data-numposts="5" data-colorscheme="light"></div>
Alias news: news/svezhee-litso-komandy-FREEDOM-hiroki-matsuura
Wie man eine URL aus den Nachrichten zu entfernen?
User avatar
velden
Dev Team Member
Dev Team Member
Posts: 3479
Joined: Mon Nov 28, 2011 9:29 am
Location: The Netherlands

Re: Facebook ist nicht auf die Links in {news} zu erkenne

Post by velden »

From sample News detail template:
news_url (string) = The url segment associated with this article (may be empty or unset).
and:

Code: Select all

{* set a canonical variable that can be used in the head section if process_whole_template is false in the config.php *}
{if isset($entry->canonical)}
  {assign var='canonical' value=$entry->canonical}
{/if}
Post Reply

Return to “German - Deutsch”