Hey Gabriel,
There is one issue that I spotted if your on a linux machine. It was an issue with the image paths in the css.
All paths to the image files should be lowercase
background-image:url(../../../../themes/cp_global_images/Lg_social_bookmarks_module/backgrounds/btn-active.png);
should be
background-image:url(../../../../themes/cp_global_images/lg_social_bookmarks_module/backgrounds/btn-active.png);
I have updated the download so you can get the replacement or just changed the css yourself.
If you create a localisation feel free to send it through and I’ll add it to the package.
Cheers
In the docs, this is somewhat confusing…In the sample code the permalink is like this…
{exp:social_bookmarks title="{title}" permalink="{url_title_path="template_group/comments"}"}
But in the instructions it states “The permalink to your weblog entry which must contain the full url.” and shows this…
permalink="http://leevigraham.dev/{template_group/template/}
Hey PXLated..
Im super sorry but I missed a couple of updates in the documentation. I have corrected them now and as you can see on the documentation the module is working fine.
{exp:social_bookmarks} sould be {exp:lg_social_bookmarks}
Regarding the backgrounds not showing this was a path issue that has been fixed… just grab the download again, no need to re-activate.
Sorry for the confusion
@ The Linguist:
I renamed the module so it would be more secure in the future.
It should be fairly easy to change your code, just change {exp:social_bookmarks} to {exp:lg_social_bookmarks} that should do the job.
I really should have added an upgrade method to change the table names etc. My Bad
Cheers
good enough. Got everything working except the facebook favicon.
Is this in the icon in the admin or is it the link when the icon is clicked on the public side.
The facebook link is the only one which uses javascript at the moment. There may be an issue with quotes. In the example I use double quotes around the attributes which works fine.
{exp:weblog:entries weblog="news"}
{exp:lg_social_bookmarks title="{title}" permalink="{url_title_path="template_group/comments"}"}
Enjoy this post? Share it with others.
<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>Bookmark on {social_site_name}</span>_ </a>
</li>
{/social_sites}
</ul>
{/exp:lg_social_bookmarks}
{/exp:weblog:entries}
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.