Easy PHP Calendar - We really take care of your dates!


Go Back   Easy PHP Calendar > General Discussion > General Support

General Support Questions about using the Easy PHP Calendar. (Not installation or customizations)

Closed Thread
 
Thread Tools Search this Thread Display Modes

share on facebook problem
Old 05-27-2008, 02:27 PM   #1
rabe9987
Calendar User
 
rabe9987 is offline
Join Date: May 2008
Posts: 2
Default share on facebook problem

I've been a user of easyphpcalender for more than 2 years now and I think it works great.

I have a problem with adding the facebook script to let people share the events on facebook.

Everytime I try to save an event with that script in it, it doesn't work...I can't save.

What's the problem? Can I do it? Do I need to configure something?

Thank yo in advance
 

Old 05-27-2008, 03:54 PM   #2
ve9gra
Support Team
 
ve9gra's Avatar
 
ve9gra is offline
Join Date: Jun 2003
Location: New Brunswick, Canada
Posts: 4,968
Default

What is the script that you add? How is it added? What happens when you save? If you get an error message, what is it? Etc, etc...

Has this ever worked, or is this the first time you've tried it?
__________________
-- Gervais
EPC Tutorials... We're here to help!
Offering custom integration services. Contact me here.
* Not affiliated with EasyPHPCalendar or NashTech Inc.
 

Old 05-27-2008, 04:18 PM   #3
rabe9987
Calendar User
 
rabe9987 is offline
Join Date: May 2008
Posts: 2
Default

<script>function fbs_click() {u=location.href;t=document.title;window.open('htt p://www.facebook.com/sharer.php?u='+encodeURIComponent(u)+'&t='+encodeU RIComponent(t),'sharer','toolbar=0,status=0,width= 626,height=436');return false;}</script><style> html .fb_share_link { padding:2px 0 0 20px; height:16px; background:url(http://static.ak.fbcdn.net/images/sh...on.gif?0:26981) no-repeat top left; }</style><a href="http://www.facebook.com/share.php?u=<url>" onclick="return fbs_click()" target="_blank" class="fb_share_link">Share on Facebook</a>

this is the script I'm trying to add to my events, when I try to save, it goes to problem loading page and nothing is saved.

It is the first time I try to do it. I just want people to be able to share my events on facebook

thank you
 

Old 05-27-2008, 09:09 PM   #4
ve9gra
Support Team
 
ve9gra's Avatar
 
ve9gra is offline
Join Date: Jun 2003
Location: New Brunswick, Canada
Posts: 4,968
Default

I think the <script> is probably your problem here... Try to add that function directly in the page where your calendar is. Then simply add the last part
HTML Code:
<a href="http://www.facebook.com/share.php?u=<url>" onclick="return fbs_click()" target="_blank" class="fb_share_link">Share on Facebook</a>
to your event. Uncertain about what's allowed if you're using an HTML editor as they have their own allowed list of tags.
__________________
-- Gervais
EPC Tutorials... We're here to help!
Offering custom integration services. Contact me here.
* Not affiliated with EasyPHPCalendar or NashTech Inc.
 
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
French accent problem Monkeylays General Support 7 02-08-2008 09:51 AM
Install Problem SinJin Installation / Upgrade Questions 3 11-19-2006 09:41 PM
mouse over pop-up problem pgeron General Support 2 08-30-2006 12:31 PM
A problem with "add an event" button iraultza General 1 07-17-2006 11:49 AM
Click popup problem? Mindriot General Support 4 09-09-2005 02:44 PM



All times are GMT -4. The time now is 06:26 PM.


vBulletin skins developed by: eXtremepixels
Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Copyright 2009 NashTech, Inc.

| Home | Register | Today's Posts | Search | New Posts |