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

Share This Plugin

Development and Programming

Lars Kirchhoff's avatar
Lars Kirchhoff
58 posts
16 years ago
Lars Kirchhoff's avatar Lars Kirchhoff

your site looks good.

  1. First you need to have the expression engine full installation as the tell-a-friend functionality is not included in the core package.

http://www.lars-kirchhoff.de/go/journal/comments/share-this-ee-plugin/

Check the full example in the link above. The syntax for the tell-a-friend form can be found here: http://expressionengine.com/docs/modules/email/tellafriend.html

  1. This seems to be a layer order problem in css. you should give the sharethis layer a high z-index number.
       
seven24's avatar
seven24
11 posts
16 years ago
seven24's avatar seven24

Thanks for your reply, Lars. The site is running the full expression engine installation. Is the tell-a-friend feature not working because it is outside the weblog:entries tag? Perhaps that is why.

As for the CSS - yes, it is annoying and I’ve tried to play with the z-index but haven’t had any luck. I think this is due to the fact that the position attribute isn’t fixed.

       
Lars Kirchhoff's avatar
Lars Kirchhoff
58 posts
16 years ago
Lars Kirchhoff's avatar Lars Kirchhoff

Hi dolby,

yes you need to add the tell-a-friend feature within the weblog:entries tag. But you can open the weblog entries tag more that once in one template, so it shouldn’t be a problem to just add the weblog entries with the same parameters to your global navigation.

/lars

       
ayza's avatar
ayza
71 posts
16 years ago
ayza's avatar ayza

Hi,

great plugin.

It works perfectly apart from the Share this icon. It’s in the image library but doesn’t get displayed. All the other images do get displayed after I removed the first / in the URL to the image library. However, I can’t find any reference to the image anywhere to remove the slash.

I also tried to add it using it as a background-image in the CSS but that didn’t display it either.

Is there some trick to getting it to display?

/ Ayza

       
Lars Kirchhoff's avatar
Lars Kirchhoff
58 posts
16 years ago
Lars Kirchhoff's avatar Lars Kirchhoff

actually everything should be in done in the css. maybe you can provide the url so I could check!

/lars

       
ayza's avatar
ayza
71 posts
16 years ago
ayza's avatar ayza

Thanks for your quick reply.

Unfortunately it’s on a local dev machine, so I can’t. But there is no link to any image in teh CSS that I can find.

/ Ayza

       
Lars Kirchhoff's avatar
Lars Kirchhoff
58 posts
16 years ago
Lars Kirchhoff's avatar Lars Kirchhoff

Hi Ayza,

this is the line of the css, which is used as style for the share this! link:

.share_this_link {background: url(/images/share_this/share-icon-16x16.gif) no-repeat 0px; padding-left: 24px; padding-top:2px;}

you see the background attribute as url as paramater with the image link included. this needs to have the correct path to the image. Either a relative or a absolute path.

/lars

       
ayza's avatar
ayza
71 posts
16 years ago
ayza's avatar ayza

Many thanks! That wasn’t in the stylesheet I got!

Now everything will probably work.

Thanks for a kick-ass plugin.

😊

Ayza

       
Lars Kirchhoff's avatar
Lars Kirchhoff
58 posts
16 years ago
Lars Kirchhoff's avatar Lars Kirchhoff

ups I just forgot to update the zip, which is done now!

/lars

       
ayza's avatar
ayza
71 posts
16 years ago
ayza's avatar ayza

Can happen to us all!

😊

Ayza

       
Rob Quigley's avatar
Rob Quigley
236 posts
16 years ago
Rob Quigley's avatar Rob Quigley

Very nice. I got this to work I believe. In my EE plugin manager it says 1.0.2 but the readme says 1.0.3 for the latest download- just an fyi on that.

Per your previous post, I’m not using the {body} tag in my publish page, so I encounter an error message when taking out the bodytext parameter below –

{exp:weblog:entries  weblog="homepage_top_story"  orderby="date"  limit="1" }

{exp:share_this entry_id="{entry_id}" url="{permalink="home/test"}" bodytext="This is an article about plugins" orientation="bottom"}  

{/exp:weblog:entries}

– gives the following error message:

MySQL ERROR:

Error Number: 1054

Description: Unknown column 'field_id_2' in 'field list'

Query: SELECT field_id_2 FROM `exp_weblog_data` WHERE entry_id = 5

Just an fyi on that. You mention it in your site notes but for anyone that doesn’t use the {body} that starts with your basic example will encounter this error. The other thing is that I tested this in a blank template and because it was at the top of the page and the orientation for the pop up layer was on the top too – I didn’t know it was working because the layer was off the browser screen. I figured that out after viewing it in action from your site though. Just a heads-up on different ways people can install and test that could cause an issue.

I’m just getting started with this and see tons of potential. Thank you for making this great plugin available. Thanks for your time and effort on it. This is really neat. 😊

       
Lars Kirchhoff's avatar
Lars Kirchhoff
58 posts
16 years ago
Lars Kirchhoff's avatar Lars Kirchhoff

Thanks Rob Q, I will have a look at it within the next week to fix these things.

/lars

       
ayza's avatar
ayza
71 posts
16 years ago
ayza's avatar ayza

Hi Lars,

when I validate the HTML and the CSS with the plugin I get a lot of warnings and errors. Some I certainly can live with, like the tags for opacity, but others seem a bit unneccessary. Do you mind having a look at it?

Cheers!

Ayza

       
Lars Kirchhoff's avatar
Lars Kirchhoff
58 posts
16 years ago
Lars Kirchhoff's avatar Lars Kirchhoff

ok I’ll have a look at it this week!

/lars

       
ayza's avatar
ayza
71 posts
16 years ago
ayza's avatar ayza

Super!

😊

Ayza

       
1 2 3 4 5

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.