Home › Forums › Calendar Products › Event Aggregator › Link to Facebook Event
- This topic has 9 replies, 5 voices, and was last updated 8 years, 10 months ago by Support Droid.
-
AuthorPosts
-
July 20, 2013 at 1:56 am #56196pandologyParticipant
hey guys …
i import all the events featured on the site through facebook.
i would like to add a link to the actual event of facebook, so viewers can go directly to it
how is this possible please?
thanks,
Miguel
July 23, 2013 at 1:17 pm #56636JonahParticipantHi pandology,
I’m not sure how to do this myself and will need to check with one of our developers. Stay tuned.
Thanks,
JonahJuly 23, 2013 at 2:41 pm #56680pandologyParticipantoki mate … thought it would be a pretty basic setting since the post is imported directly from the same fb link. i’ll wait for your answer. thanks!
July 23, 2013 at 5:01 pm #56722Timothy WoodParticipantHey Miguel, we’ve had that request a few times in the past but never needed to really worry about it since the Facebook ID is stored as a meta for the event and anyone could build the link with just that piece of info. With the new Meta Factory for events and working on documentation it made sense to cook up a little function and also show how to integrate it into the meta display. So without further ado I present a new template tag ‘tribe_event_get_facebook_link’ as well as how to integrate it into your event meta: https://gist.github.com/codearachnid/6067127
July 24, 2013 at 1:56 am #56758pandologyParticipantHey Tim!
Thanks a lot for that … though i need to ask you a pretty basic/stupid question … as i’m not that sharp on development …
I haven’t yet managed to figure out where the code you sent should be placed. Whether i should create a new php file called “tribe_event_get_facebook_link.php” or if I should insert the parts of the code in their relative php files.
hope that’s clear! thanks in advance!
m
July 24, 2013 at 9:12 am #56831JonahParticipantHi Miguel,
It looks like all of that code you should just be able to place in your themes functions.php file. Tim might have some pointers or instructions otherwise, but I would try that first.
– Jonah
July 25, 2013 at 1:17 pm #57188RobMemberMiguel, did Jonah’s follow-up point you in the right direction? Have you tried dropping this into functions.php ? Let us know and we’ll get you what you need if there are still unanswered questions. Cheers.
July 26, 2013 at 12:23 am #57274pandologyParticipantohhh yess 🙂 just tried it now and it works very well, now i’m being returned with links to the Facebook Event, Venue and Promoter.
thanks a lot!
July 26, 2013 at 10:30 am #57350JonahParticipantGreat Miguel! Let us know if there’s anything else you need help with.
– Jonah
July 7, 2015 at 6:26 am #979378Support DroidKeymasterThis topic has not been active for quite some time and will now be closed.
If you still need assistance please simply open a new topic (linking to this one if necessary)
and one of the team will be only too happy to help. -
AuthorPosts
- The topic ‘Link to Facebook Event’ is closed to new replies.