I’m getting the following error when I try to submit to Facebook:
missing { before function body
[removed](function(){ var a=window,b=document,c=encodeURIComponent,d=a.open('http://www.facebook.com/sharer.php?u='+c('http://www.troovy.com/finds/bombay-beach/')+'&t;='+c('Bombay Beach'),'sharer','toolbar=0,status=0,width=626,height=436,alwaysRaised=1');a.setTimeout(function(),300)})();
Line 1
I’m getting the following error when I try to submit to Facebook:missing { before function body [removed](function(){ var a=window,b=document,c=encodeURIComponent,d=a.open('http://www.facebook.com/sharer.php?u='+c('http://www.troovy.com/finds/bombay-beach/')+'&t;='+c('Bombay Beach'),'sharer','toolbar=0,status=0,width=626,height=436,alwaysRaised=1');a.setTimeout(function(),300)})(); Line 1
Right you are!
I think the issue is due to the inline js being deprecated. I would recommmend removing the facebook icon for now until a fix presents itself.
Hi Leevi,
thanks for a great module!
Please update the docs. I copied the code and got syntax errors on the page used it on because the ee-tags are still exp:social_bookmarks instead of exp:lg_social_bookmarks. The image pathway in the themes folder needs updating as well to img src=”/themes/cp_global_images/lg_social_bookmarks_module/favicons/{social_site_img_url}”
Might confuse newbies. Had me for a while.
😊
Ayza
Hi Leevi, thanks for a great module! Please update the docs. I copied the code and got syntax errors on the page used it on because the ee-tags are still exp:social_bookmarks instead of exp:lg_social_bookmarks. The image pathway in the themes folder needs updating as well to img src=”/themes/cp_global_images/lg_social_bookmarks_module/favicons/{social_site_img_url}” Might confuse newbies. Had me for a while. 😊 Ayza
Thanks for picking that up! The docs have been updated now.
Hi Leevi,
I love the social bookmarks plugin. Awesome work! One thing though, some of the output is not validating as xhtml strict or even transitional. It looks to be escaped and unencoded characters primarily, I highly encourage you to validate the output of the plugin’s output through the w3 validator to get specifics on the errors. You are so close to perfection my friend… just a little more…
Hi Leevi, I love the social bookmarks plugin. Awesome work! One thing though, some of the output is not validating as xhtml strict or even transitional. It looks to be escaped and unencoded characters primarily, I highly encourage you to validate the output of the plugin’s output through the w3 validator to get specifics on the errors. You are so close to perfection my friend… just a little more…
Funny you should mention that… I have a new version in testing that fixes this issue.
Cheers
Hey guys,
I am testing my new docs center on my site which includes an update to LG Social Bookmarks.
Go test the site and get the update: LG Social Bookmarks
Cheers
I have just updated the module to URL encode entry titles in the social site url.
Grab it from my ExpressionEngine LG Social Bookmarks page.
Hey Leevi,
I installed your module and it was pretty easy to integrate, but for some reason its doing this:
http://www.homerobots.com/blog/comments/cuddly-lifelike-pleo-dinosaur-robot/http://del.icio.us/post?url=http://www.homerobots.com/http://www.homerobots.com/blog/comments/cuddly-lifelike-pleo-dinosaur-robot/&title=Cuddly, Lifelike Pleo Dinosaur
It’s putting the URL of the article in front of the social site url. I’ve been tinkering with it for the past hour now and can’t seem to figure out what the problem is.
I was just testing a few things and when I put anything in front of {social_site_url} it would do this:
<a href="http://{social_site_url}" title="Bookmark on: {social_site_name}">
__
http://http://del.icio.us/post?url=http://www.homerobots.com/http://www.homerobots.com/blog/comments/cuddly-lifelike-pleo-dinosaur-robot/&title=cuddly, lifelike pleo dinosaur/
here is how I’m integrating the module tag:
{exp:lg_social_bookmarks title="{title}" permalink="http://www.homerobots.com/{url_title_path="blog/comments"}"}_ <em>Enjoy this post? Share it with others.</em>_ <ul>_ {social_sites}_ <li>_ <a href="http://{social_site_url}" title="Bookmark on: {social_site_name}">_ /themes/cp_global_images/lg_social_bookmarks_module/favicons/{social_site_img_url}_ <span>{social_site_name}</span>_ </a>
</li>
{/social_sites}
</ul>
{/exp:lg_social_bookmarks}
Any help with this would be greatly appreciated!
Hey Matt,
You don’t need to add http:// before the {social_site_url}.
Check out the usage example on my site and try that. Then once you have the module working you can customise to your hearts content.
Cheers
Hey Leevi, I installed your module and it was pretty easy to integrate, but for some reason its doing this:It’s putting the URL of the article in front of the social site url. I’ve been tinkering with it for the past hour now and can’t seem to figure out what the problem is. I was just testing a few things and when I put anything in front of {social_site_url} it would do this:http://www.homerobots.com/blog/comments/cuddly-lifelike-pleo-dinosaur-robot/http://del.icio.us/post?url=http://www.homerobots.com/http://www.homerobots.com/blog/comments/cuddly-lifelike-pleo-dinosaur-robot/&title=Cuddly, Lifelike Pleo Dinosaur
__<a href="http://{social_site_url}" title="Bookmark on: {social_site_name}">
__here is how I’m integrating the module tag:__http://http://del.icio.us/post?url=http://www.homerobots.com/http://www.homerobots.com/blog/comments/cuddly-lifelike-pleo-dinosaur-robot/&title=cuddly, lifelike pleo dinosaur/
Any help with this would be greatly appreciated!{exp:lg_social_bookmarks title="{title}" permalink="http://www.homerobots.com/{url_title_path="blog/comments"}"}_ <em>Enjoy this post? Share it with others.</em>_ <ul>_ {social_sites}_ <li>_ <a href="http://{social_site_url}" title="Bookmark on: {social_site_name}">_ /themes/cp_global_images/lg_social_bookmarks_module/favicons/{social_site_img_url}_ <span>{social_site_name}</span>_ </a> </li> {/social_sites} </ul> {/exp:lg_social_bookmarks}
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.