Forum: Radiant CMS Create Permalink Dynamically

D6a86fe010607896b6c6bfaf0d474c13?d=identicon&s=25 Dain B. (dain_b)
on 2012-03-12 21:03
I'm trying to add facebook comments to my site and when I get teh code
I"m presented with the following:
 `<div id="fb-root"></div>
      <script>(function(d, s, id) {
      var js, fjs = d.getElementsByTagName(s)[0];
      if (d.getElementById(id)) return;
      js = d.createElement(s); js.id = id;
      js.src = "//connect.facebook.net/en_US/all.js#xfbml=1";
      fjs.parentNode.insertBefore(js, fjs);
      }(document, 'script', 'facebook-jssdk'));</script>`


     `<div class="fb-comments" data-href="http://example.com"
data-num-posts="2" data-
width="470"></div>`

What I'd like to do is where the "data-href" resides I'd like to create
a permalink to my page/pot dynamically.  is there a radiant tag or
something similar to do this?  I can't seem to find one.
This topic is locked and can not be replied to.