+ Reply to Thread
Results 1 to 3 of 3

Thread: How to get the URL at the listing_details.tpl

  1. #1
    Senior Member
    Join Date
    Dec 2011
    Posts
    159

    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.

  2. #2
    Senior Member
    Join Date
    Dec 2011
    Posts
    159
    got it

    URL = {$smarty.const.RL_URL_HOME}{$smarty.server.REQUEST _URI}

  3. #3
    Nice job, helped with your topic thanks

+ Reply to Thread