Mouth
Member
v1.0.10
Our event pages do not include any open graph meta details that are important for sharing on social sites. Template nf_calendar_user does, but nothing else.
Suggest adding into template nf_calendar_event_view ...
... at the top, immediately underneath </xen:navigation>
Our event pages do not include any open graph meta details that are important for sharing on social sites. Template nf_calendar_user does, but nothing else.
Suggest adding into template nf_calendar_event_view ...
Code:
<xen:container var="$head.openGraph">
<xen:if is="{$event.cover_image}">
<xen:set var="$avatar">{$event.cover_image.thumbnailUrl}</xen:set>
<xen:else />
<xen:set var="$avatar">{xen:helper fullurl, @ogLogoPath, 1}</xen:set>
</xen:if>
<xen:include template="open_graph_meta">
<xen:set var="$url">{xen:link canonical:events, $event}</xen:set>
<xen:set var="$title">{$event.event_title}, {xen:date $event.start_date, 'D jS M'}</xen:set>
<xen:set var="$description">{$event.shareDescription}</xen:set>
</xen:include>
</xen:container>
... at the top, immediately underneath </xen:navigation>
Last edited:
Upvote
2