Take a look at this plugin:
With this plugin you can share to facebook, twitter and myspace.
Rodolfo Hernandez
Arvixe/Elgg Community Liaison
you can also go to addthis.com and copy the code to add the fb/twitter and addthis buttons to your page's main HTML structure somewhere. gives more flexibility i have found, than that plugin does.
Do you have to write raw SQL? You can use elgg_get_entities_from_metadata() to do this.
The problem is that $dd is empty.
that was an easy one :) do you have any hard ones too? If the error says the problem is near "blablalblalba" then most of the time it is right before that text.
Oh yeah.... with Elgg there is no need for a custom query. Never (with some exceptions)!
Thank you guys..
info@elgg.org
Security issues should be reported to security@elgg.org!
©2014 the Elgg Foundation
Elgg is a registered trademark of Thematic Networks.
Cover image by RaĆ¼l Utrera is used under Creative Commons license.
Icons by Flaticon and FontAwesome.