-
January 4, 2013, 03:20 PM
#1
Senior Member
How to get the URL at the listing_details.tpl
I prefer to create my own facebook, twitter and pinterest share button instead of using the plugin however i cannot figure out how to get the complete URL?
<a href="http://www.facebook.com/sharer.php?u=URL">
<a href="http://twitter.com/share?text=An%20Awesome%20Link&url=URL">
<a href="http://pinterest.com/pin/create/button/?url=URL">
Any advice?
this is to be inserted at listing_details.tpl
Last edited by rosegarden; January 4, 2013 at 03:25 PM.
-
January 7, 2013, 12:42 PM
#2
Senior Member
got it
URL = {$smarty.const.RL_URL_HOME}{$smarty.server.REQUEST _URI}
-
January 22, 2015, 03:44 PM
#3
Member
Nice job, helped with your topic thanks