Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
Quick PHP question.
So I am trying to set up this cool thing called Chirrup (http://chirrup.angryamoeba.co.uk/) to do Twitter-based commenting on my weblog.
I need to pass the permanent link of the current article to the javascript that gets Chirrup going. In order to do this I need the permalink URL. Not a nice, <txp:permlink> style link, really just the URL.
I imagine it would be possible to get the current URL by echoing something within <txp:php> tags. But what?
Thanks in advance,
nvalvo
http://www.nvalvo.com
http://www.factbasedcommunity.com
Offline
#2 2009-04-11 03:32:21
- rsilletti
- Moderator
- From: Spokane WA
- Registered: 2004-04-28
- Posts: 707
Re: Quick PHP question.
Textbook : page_url may provide you with what you need.
Offline
Re: Quick PHP question.
Looks like it probably will. Thanks so much.
http://www.nvalvo.com
http://www.factbasedcommunity.com
Offline
Offline
Re: Quick PHP question.
Okay. Fantastic.
http://www.nvalvo.com
http://www.factbasedcommunity.com
Offline
Pages: 1