We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

LG Social Bookmarks 2.0 - Now and ExpressionEngine Extension!

Development and Programming

wecreateyou's avatar
wecreateyou
86 posts
16 years ago
wecreateyou's avatar wecreateyou

BTW I just bought you a beer 😉

Thanks for those updates. More to follow and a purchase or two.

Cheers!

       
Leevi Graham's avatar
Leevi Graham
1,143 posts
16 years ago
Leevi Graham's avatar Leevi Graham
I’m confused now. it says that the tag shouldn’t have a permalink param

I should clarify the error. The error means that there is no permalink, but there must be one. The docs re-inforce this: http://leevigraham.com/cms-customisation/expressionengine/lg-social-bookmarks/#permalink

by labelling the permalink param as required.

       
wecreateyou's avatar
wecreateyou
86 posts
16 years ago
wecreateyou's avatar wecreateyou

That’s what I thought I just got spun around after you chimed in 😝

Now with that said, it still doesn’t work for me. with the permalink param I get no change to the code (although site and permalink are properly filled in) and no error message. Just a print out of the code in the template.

BTW I’d settle for info on how to structure Linkedin links in the meantime, I googled it but can’t seem to located it. thanks a bunch.

       
Leevi Graham's avatar
Leevi Graham
1,143 posts
16 years ago
Leevi Graham's avatar Leevi Graham

Can you PM me a login to your CP so I can take a look at the templates?

       
Leevi Graham's avatar
Leevi Graham
1,143 posts
16 years ago
Leevi Graham's avatar Leevi Graham

All the link formats can be found in the extensions/lg_social_bookmarks_ext/lib.lg_social_bookmark_sites.php file. The linked in url is:

http://www.linkedin.com/shareArticle?mini=true&url={permalink}&title={title}&source={weblog_title}&summary={summary}
       
Rob Allen's avatar
Rob Allen
2,950 posts
16 years ago
Rob Allen's avatar Rob Allen

I’m getting the “There is no “permalink” parameter in the {lg_social_bookmarks} tag. Please check the documentation for more information. ” error as well using v2.01.

Am using the bolierplate code inside a weblog entries tag.

{lg_social_bookmarks title="{title}" permalink="{path=news/comments}"}
    Enjoy this post? Share it with others.
    <ul class="socialsites">
      {social_sites}
        <li>
          <a href="http://{social_site_url}" title="Bookmark on: {social_site_name}">_            /themes/cp_global_images/lg_social_bookmarks/favicons/{social_site_img_url}_            <span>Bookmark on {social_site_name}</span>_          </a>
        </li>
        {/social_sites}
    </ul>
  {/lg_social_bookmarks}

Ahhh… a clue maybe?

I turned the extension off but left the tag in place. This then outputted some stuff on the comments page, appearing as if the the permalink is being found at least..

{lg_social_bookmarks title="TITLE REMOVED" permalink="http://www.SITENAME.com/ee.php/news/comments/"}
Enjoy this post? Share it with others.
    * {social_sites} {social_site_name} Favicon Bookmark on {social_site_name}
     {/social_sites} 
{/lg_social_bookmarks}
       
Leevi Graham's avatar
Leevi Graham
1,143 posts
16 years ago
Leevi Graham's avatar Leevi Graham

Not that it should matter but what version of php are you using?

       
Leevi Graham's avatar
Leevi Graham
1,143 posts
16 years ago
Leevi Graham's avatar Leevi Graham

Oh and which version of EE?

       
Leevi Graham's avatar
Leevi Graham
1,143 posts
16 years ago
Leevi Graham's avatar Leevi Graham

Ok I found the issue which is a result of EEs parsing order. Version 2.0.2 should sort you out which is now available!

       
wecreateyou's avatar
wecreateyou
86 posts
16 years ago
wecreateyou's avatar wecreateyou

I’m sorry I couldn’t get back to you. Family obligation had me away from my computer. I’ll check out the update shortly as I have an issue where Apache seems to have shut down on my main hosting account. :shut: Thanks again I’ll keep you posted.

BTW I’m using PHP5 on Media Temple.

       
wecreateyou's avatar
wecreateyou
86 posts
16 years ago
wecreateyou's avatar wecreateyou

Hey Leevi, I just took a second look at my php info and I’m on 4. I assumed Media Temple was using 5 but not. :red:

Anyway it’s still not working at all. I can’t really give you access right now, but you can I can tell you that I have this in a test template. I’m using the code pasted from your site. Nothing extra.

I’m going to see about a php upgrade.

       
Rob Allen's avatar
Rob Allen
2,950 posts
16 years ago
Rob Allen's avatar Rob Allen
Not that it should matter but what version of php are you using?

….PHP5 and EE1.6.4, just in case it matters! Just about to try the new version now.

       
Rob Allen's avatar
Rob Allen
2,950 posts
16 years ago
Rob Allen's avatar Rob Allen

Sorted. Working like a charm :

thanks Leevi!

       
Leevi Graham's avatar
Leevi Graham
1,143 posts
16 years ago
Leevi Graham's avatar Leevi Graham

Excellent.

       
staloc's avatar
staloc
1 posts
16 years ago
staloc's avatar staloc

The ‘title’ parameter does not seem to do anything.

I really need to override the posted title with something else than the entry’s {title}.

Is it supposed to work yet?

       
1 2 3 4 Last

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.