• Page 1 of 1
  • 1
Forum moderator: bigblog  
uCoz Community » For Webmasters » Custom Solutions » How to make $OWN_FUNCTION$ ?
How to make $OWN_FUNCTION$ ?
defaultNick0730
Posts: 23
Reputation: 0

Message # 1 | 11:01 PM
Code
<div class="fb-like" data-href="$ENTRY_URL$" data-layout="button_count" data-action="like" data-show-faces="true" data-share="true"></div>


This is what i use on my blog's entry list, to share a specific blog. But the problem occurs when i open a specific blog, i need to remake this code so that i can share from that too, so the blog's name appears on facebook.

As a single blog appearence is using $MODULE_URL$ and $ENTRY_NAME$ so i need to combine them to a single $FUNCTION$, so if i share the blog then it is showing the title of the blog.

Get it?

This is the only way i know how to make share function, if someone knows a better way or something please advice me!

Added (2015-03-04, 11:01 PM)
---------------------------------------------
I would also appreticate if someone shows how to add images to sharing too, that would be so cool! Maybe someone has a code that i can copy & edit?

Sunny
Posts: 9296
Reputation: 456

Message # 2 | 9:58 AM
defaultNick0730, please provide the URL of your website.
I'm not active on the forum anymore. Please contact other forum staff.
defaultNick0730
Posts: 23
Reputation: 0

Message # 3 | 0:22 AM
uCoz Community » For Webmasters » Custom Solutions » How to make $OWN_FUNCTION$ ?
  • Page 1 of 1
  • 1
Search: