Please Log in to join the conversation.
$_PLUGINS->trigger( 'activity_onDisplayStreamActivity', array( &$row, &$title, &$date, &$message, &$insert, &$footer, &$menu, $stream, $output ) ) );
Please Log in to join the conversation.
Please Log in to join the conversation.
$document = JFactory::getDocument();
$title = '[name] a partagé une info ';
$description = '[cb:parse function="extract" length="60"][var1_message][/cb:parse]...';
$source = '[var1_params_gallery]';
$image = preg_split ('/\|/', $source);
$picture = '[cb:config param="live_site" /]/index.php?option=com_comprofiler&view=pluginclass&plugin=cbgallery&action=item&func=preview&id='.$image[0].'&format=raw';
//todo condition picture if exist
$document->setTitle($title);
$document->setMetaData('robots', 'index, follow');
$document->setMetaData('title', $title);
$document->setMetaData('og:title', $title);
$document->setMetaData('image', isset($picture) ? $picture : '');
$document->setMetaData('og:image', isset($picture) ? $picture : '');
$document->setMetaData('description', $description);
$document->setMetaData('og:description', $description);
$document->setMetaData('twitter:card', 'summary_large_image');
$document->setMetaData('twitter:site', '@activha');
Please Log in to join the conversation.
Please Log in to join the conversation.