I cant seem to get the url to append to the bookmark. Here is what I have in my template.
{exp:lg_social_bookmarks title="{title}" permalink="{url_title_path="{template_group}/article"}"}
<span class="Bookmarks">Bookmarks:
{social_sites}
<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}_ </a>
{/social_sites}
</span>
{/exp:lg_social_bookmarks}
Then I get this in the url.
http://{url_title_path=
Maybe someone can help here. When you click on a bookmark link the url is wrong.
This wont work either. Also this has an extra closed bracket.Try this:You need to balance your quotes and close your variables 😊{exp:lg_social_bookmarks title="{title}" permalink="{url_title_path='{template_group}/article}'}"}
Hey Todd,
Lets take this back a step…
Does:
{exp:lg_social_bookmarks title="{title}" permalink="{url_title_path='template_name/article}'}"}
Work… Notice I replaced the {template_group} variable with the actual template name
Can you also try
{exp:lg_social_bookmarks title="{title}” permalink=”{url_title_path=' {template_group}/article ‘}”}
Cheers
Hey Todd, Lets take this back a step… Does:Work… Notice I replaced the {template_group} variable with the actual template name Can you also try {exp:lg_social_bookmarks title="{title}” permalink=”{url_title_path=' {template_group}/article ‘}”} Cheers{exp:lg_social_bookmarks title="{title}" permalink="{url_title_path='template_name/article}'}"}
Still nothing. This is what shows up when I try to bookmark to my delicious account.
http://{url_title_path=� site/article �}
I tried the first one as well. But I think you have the syntax wrong. I don’t think you need the first closed bracket after the template. Regardless it didnt work either.
I am seeing the following in every one of the bookmark links, with or without the fetch_current_uri plug-in installed.
{exp:lg_social_bookmarks title="{title}" permalink="{exp:fetch_current_uri}"}
http://del.icio.us/post?url={exp:fetch_current_uri}&title=Anthony….
Edit: By the way, this correctly includes TEST within the final rendered links.
{exp:lg_social_bookmarks title="{title}" permalink="TEST"}
http://del.icio.us/post?url=TEST&title=Anthony….
Kewl Module. I work for a major University, having the social bookmarks is a very nice thing to have. We are using EE for a grant funded project on the History of London.
Everything seems to work, except that I’m getting this error on: http://omega.www.umb.edu/~londonweb/index.php/west_end/covent_garden/
Notice: Trying to get property of non-object in /home2/londonweb/html/system/modules/lg_social_bookmarks/mod.lg_social_bookmarks.php on line 77
I don’t get the nice icon driven cp, just a list of check boxes? It works, but doesn’t look as cool as your screen shot.
Here’s my code block:
{exp:weblog:entries weblog="westend"}
<h2>{title}</h2>
{body}
{exp:lg_social_bookmarks title="{title}"permalink="http://omega.www.umb.edu/~londonweb/index.php/site/west_end/"}
Enjoy this post? Share it with others.
<ul>
{social_sites}
<li>
<a href="http://{social_site_url}" title="Bookmark on: {social_site_name}">_ {site_url}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}
See anything funky?
fyi I just tried including the sites=”Digg|del.icio.us”, and the error went away.
EE v1.6.3
Thanks, James
Hi,
great plugin 😉
I am having some minor problems though and was hoping you could point out my mistake. This is my code:
{exp:lg_social_bookmarks title="{title}" permalink="{exp:fetch_current_uri}"}
...html code...
{/exp:lg_social_bookmarks}
But there are two problems:
{exp:fetch_current_uri} is not parsed. It just shows up like it is. I have tried to use PHP to fetch the uri and it works but the / are all meshed up.
The titles are also meshed up. Most likely because the have special characters. i guess it is an encoding issue.
Any suggestions?
Best, Sammi
Evening Leevi,
I’ve installed Lg Social Bookmarks on two different sites. One installation works perfectly, the other is showing odd behavior.
The only difference is that the second install is on an MSM set up.
Two issues: 1. the CP list shows up as a vertical list with zero styling. See attachment.
Any thoughts? Is MSM an issue?
Leevi,
I’m trying to get a client to use your social bookmarks module on their site, but what inspired them was a Wordpress plugin called bookmarkify, which features a “view more bookmark options” pop-up window that shows all the possible icons.
I’m wondering if this could be incorporated into a template or separate pop-up. The issue, of course, is how to pass the url to the second template, but will probably use a segment variable testing segment_4 as my first attempt to make it work.
Have you thought about that kind of utility for your module, and if so, have you discovered anything that should be mentioned to discourage me from wasting my precious time??? 😉
Thanks for the module - I’ll be telling others about it - I love it!
Terry
Terry,
I recall there was a module out there that determined that URL of the current page. I can’t put the name together on top of my head but I know it exists. I’ll look into a bit more to see if I can find it, but I’m sure you can use that module to pass the URL to an embedded template to do what you want.
UPDATE: I think this what be might be what you’re looking for: Fetch Current URI Plugin by Mark Bowen, the walking hard drive of EE.
Danny
Hi Leevi,
I don’t know why this is happening, but when and where ever I insert your code on a page the out put in the browser keeps repeating and the unordered list seems to keep nesting the li items.
Why? What obvious this am I missing here?
I have searched (read all of the posts on this thread) and no one seems to expereience the same issue.
here is my code;
{exp:weblog:entries weblog="mynss"}
{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}
screen shot of what this kicks to the browser is attached. weird huh? Any ideas? I am fairly sure that I did the installation of the module correctly.
Hey Guys,
I have decided to rebuilf LG Social Bookmarks over the next couple of days adding everything I have learnt since this module was first built. Hopefully the issues addressed in this thread will be resolved.
So I’m throwing it out there now.
Which social bookmarking sites would you like to see in the module by default? Any other features you would like to see?
Cheers Leevi
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.