This is the community forum. For a developer response use the Client Area.
Follow us on Facebook, Twitter and YouTube!

Setting facebook default to "On your page"
#1

I have enabled the Facebook link on my website. I would like to have the default setting to be "On your page". If I click on "On your page", it goes to the correct location.

After several attempts to modify the code in comments.php, I'm not getting it. Am I looking in the right place?

if ($settings->enabled_social_facebook) {
echo "<a href='http://www.facebook.com/share.php?u=" . $url . "&amp;t=" . $title . "' rel='nofollow'$attribute><img src='" . $settings->url_to_comments_folder . "images/social/facebook.png' class='social_image' title='Facebook' alt='Facebook'/></a>";
}

Thanks for your help.
Reply
#2

Yeah you're looking in the right place to edit the Facebook social link, but I'm not sure what you're trying to do. Are you trying to change the $title part? If not, can you explain it again.

Have you completed the interview?
Reply
#3

When a user clicks on the facebook icon, a page opens for the user to add a comment. At the top of the page is a drop down where the user can direct the comment to one of four choices--on your own timeline, on a friend's timeline, in a group, on your own page. The default is "on your own timeline". I would like to set the default to "on your own page" so that the comment would be posted to my facebook page for my website.

I'm new to using facebook so I may be misunderstanding the process. I'm attaching a screenshot of the page.

   

Many thanks for your help.
Reply
#4

I see what you mean. I don't think it's possible to tell Facebook which of those options to select.

Have you completed the interview?
Reply


Possibly Related Threads…
Thread / Author Replies Views Last Post
Last Post by DuO-VB
21-Mar-2014, 04:26 PM
Last Post by Steven
01-Feb-2013, 03:48 PM
Last Post by webdev67
21-Nov-2012, 03:25 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)