Welcome to Geeklog, Anonymous Saturday, July 18 2026 @ 08:38 am EDT

Geeklog Forums

Facebook link


LetsTalkSkiRacing

Anonymous
I'm trying to do a simple facebook link for each of my stories but I can't find the correct call.... Story_Title_Link returns the title and the link I just want the link any one know how?
 Quote

LetsTalkSkiRacing

Anonymous
well I found an answer adding

$article->set_var('story_link',$articleUrl);

to the lib-story.php allows me to call story_link to get what I need. simply add

<a href="http://www.facebook.com/share.php?u={story_link}"><img src="/images/facebook.png">&nbsp add to Facebook</a>

to the feature story and story thtml pages and you're done!
 Quote

Status: offline

::Ben

Forum User
Full Member
Registered: 01/14/05
Posts: 1581
Hello,

There is also the SocialShare plugin.

::Ben
 Quote

LetsTalkSkiRacing

Anonymous
Tried it but it only works with the newest version. Doesn't do anything with my version
 Quote

All times are EDT. The time is now 08:38 am.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content