Forum: Radiant CMS Create Permalink Dynamically

Posted by 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.
Please log in before posting. Registration is free and takes only a minute.
Existing account (Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
No account? Register here.