I acknowledge that I am an EE newbie. I just installed the Social Bookmarks 2.0 extension and am having a problem with the output.
Here are the pertinent lines in my template:
{assign_variable:template_group="blogs"}
{lg_social_bookmarks title="{title}" permalink="{path=template_group/post}"}
Note: I am not using a comment page. I want people to come back to the main post page. Other permalink calls on page correctly map to the URL. For example: www.everydaychristian.com/blogs/post/313
This is the output I get in the email form and on other social websites:
http://everydaychristian.com/template_group/post/\n\n{summary}
I think I have a syntax problem but cannot for the life of me figure it out. Any advice is greatly appreciated. Thanks.
UPDATE: Just noticed the assign variable tag you setup which means that the template_group variable should be replaced with the “blogs” content… just make sure you have the url title in there as well…
–
The following part of the LG Extension controls what URL is sent to the Social Bookmarking Service:
permalink="{path=template_group/post}"
Notice that “template_group” needs to be replaced by the template group of the page your are bookmarking. For example in the case of your weblog entry at www.everydaychristian.com/blogs/post/313 you will replace “template_group” with “blogs” and add either the entry_id or url_title to the path tag:
permalink="{path=blogs/post}{url_title}"
This should give you the following URL when you click on the facebook link (for example):
http://www.facebook.com/sharer.php?u=http://www.everydaychristian.com/blogs/post/where_will_the_president_worship&t=Where Will the President Worship
Hope that is clear… 😊
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.