Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#1 2011-05-11 17:38:00
- KindaCurious
- New Member
- Registered: 2011-05-11
- Posts: 2
Individual Like Button for every article
hey guys
I have a Problem with my Blog.
On my Start Page I have a like button for every article that is displayed there. But wen somebody likes an article (over the homepage and not over the articles page) it is not the article that is displayed in facebook, but my Homepage.
Can anybody help?
Thank You :)
Offline
Re: Individual Like Button for every article
Hi
Can you post the code you are using?
Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.
Offline
#3 2011-05-11 18:42:55
- KindaCurious
- New Member
- Registered: 2011-05-11
- Posts: 2
Re: Individual Like Button for every article
in the head i use the metatags
<meta property=“og:site_name” content=”<txp:site_name />”/>
<meta property=“og:title” content=”<txp:title />”/>
<meta property=“og:type” content=“article”/>
<meta property=“og:url” content=”<txp:permlink />”/>
<meta property=“og:image” content=“http://kindacurious.de/images/4.png”/>
and the iframe for the like button is in an form:
<div class=“fb”>
<iframe src=“http://www.facebook.com/plugins/like.php?href=<txp:permlink />&send=false&layout=button_count&width=450&show_faces=false&action=like&colorscheme=dark&font=arial&height=21” scrolling=“no” frameborder=“0” style=“border:none; overflow:hidden; width:150px; height:21px;” allowTransparency=“true”></iframe>
</div>
the form is called everytime an article is rendered
Offline
Re: Individual Like Button for every article
A google search on this site returns a lot many of which might be of use
Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.
Offline