Print

Using videoshared description in Facebook pop up as descript

Using videoshared description in Facebook pop up as descript

  • Published by
    michel rottenberg
  • Last modified
    20 March 2014
  • Voting
    Average rating
    3 votes
  • Favourites
  • Concerns
    Component
  • Since Version
    2.0
  • Up to date
    Yes
  • Profile concerned
    Developer

My problem : In the article I display a video (field name : video) with the video description field followed by the core description field.

I want to display in the facebook popup the same text as the one display in the article.

My solution :

1 Creation of the hidden field 'social description' with the following prefix :

{{video##0##description}}{{item->text}},

2 I have enabled the social website support as description for 'social description' field,

3 In the core item 'Description' I have desabled the social website support,

4 In the template renderonly zone, I have placed the 'social description field'.

Save
Cookies user preferences
We use cookies to ensure you to get the best experience on our website. If you decline the use of cookies, this website may not function as expected.
Accept all
Decline all
Essential
These cookies are needed to make the website work correctly. You can not disable them.
Display
Accept
Analytics
Tools used to analyze the data to measure the effectiveness of a website and to understand how it works.
Google Analytics
Accept
Decline