Full layout, social share each thread, template edits

Discussion in '[bd] Widget Framework' started by HenrikHansen, Apr 18, 2014.

  1. HenrikHansen

    HenrikHansen Member

    I am not quite sure which template edits are necessary to make social share buttons be shown at the bottom of each thread, like this?

    Skærmbillede 2014-04-18 kl. 21.04.19.png
     
  2. xfrocks

    xfrocks XenForo rocks!
    Staff Member

    You can edit the template "wf_widget_threads_thread_full" and put the social network embedded code near the end of the template. Best before the last "</div>".
     
  3. HenrikHansen

    HenrikHansen Member

    I am not sure that is the full story. You have to make sure that it is the thread in template that is shared, and not the page.
     
    1. xfrocks

      xfrocks XenForo rocks!
      Staff Member

      xfrocks @HenrikHansen All social embedded code allow you to specify an URL. You can use this value in the template:

      Code:
      {xen:link threads, $thread}
       
Loading...