EEConf 2024 is around the corner! EEConf 2024
your site looks good.
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
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.
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
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
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
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. 😊
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.