Welcome to Geeklog, Anonymous Tuesday, October 15 2024 @ 12:52 pm 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: 1569
Location:la rochelle, France
Hello,

There is also the SocialShare plugin.

::Ben
I'm available to customise your themes or plugins for your Geeklog CMS
 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 12:52 pm.

  • 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