SimonV
Well-known member
I've searched around but cant find any direction on this so would appreciate any help in finding the answer.
I'm adding sharing links to the default sidebar block "sidebar_share_page" and I'm wanting to use the page title in the share url. Looking at how the default sidebar sharing works I see that xen:set is being used for the url. Using the same logic I figured I can set the title such as:
for resources :
or for threads
But what Im really looking for is a way to do this globally for all areas. Any help would be great, thanks in advance.
I'm adding sharing links to the default sidebar block "sidebar_share_page" and I'm wanting to use the page title in the share url. Looking at how the default sidebar sharing works I see that xen:set is being used for the url. Using the same logic I figured I can set the title such as:
for resources :
Code:
<xen:set var="$sharetitle">{$resource.title} | {$xenOptions.boardTitle}</xen:set>
or for threads
Code:
<xen:set var="$sharetitle">{$thread.title} | {$xenOptions.boardTitle}</xen:set>
But what Im really looking for is a way to do this globally for all areas. Any help would be great, thanks in advance.