Ich hatte so ein ähnliches Problem auch mal und so gelöst.
Im fe_page kannst du so einen title vergeben:
HTML-Code:
<meta property="og:title" content="<?php echo $this->pageTitle; ?>" />
<meta property="og:url" content="{{env::url}}/{{env::request}}" />
<meta property="og:site_name" content="localhost" />
<meta property="og:description" content="<?php echo $this->description; ?>" />
Im Template vom Modul wäre es so möglich:
HTML-Code:
<?php
$envurl = $this->replaceInsertTags( '{{env::url}}' );
$envlink = $this->replaceInsertTags( '{{env::request}}' );
$GLOBALS['TL_HEAD'][] = '<meta property="og:image" content="'.$envurl.'/'.$this->singleSRC.'" />';
?>
Schau mal ob dir das weiterhilft.
Lesezeichen