Page 1 of 1

help with tags

Posted: 07 Jun 2011, 17:41
by streamish
I want to add Facebook commenting on each of my image pages, and need to add the following code into the image pages HTML

Code: Select all

<div id="fb-root"></div><script src="http://connect.facebook.net/en_US/all.js#xfbml=1"></script><fb:comments href="http://website.com/s/image111.html" num_posts="8" width="500"></fb:comments> <script type="text/javascript"> FB.init("b0211e7b5de4a753f7c412437a9dba1f", "/home/www/website.com/html/xd_receiver.htm");</script><div id="fb-root"></div>
Question is, how can I replace "image111.html" with the current image page. ie., if on image2811.html i need that tag to be http://website.com/s/image2811.html" and so forth

I've tried [#image#] and [#image] but i'm not sure how the software's tags are set up.

Any help would be appreciated.

Thanks

Re: help with tags

Posted: 08 Jun 2011, 10:46
by Maxim
Currently there is no special tag for the page file names, but we'll add it in the next version.

If you need to do it ASAP and your hosting supports PHP (most of them do) then I can provide you with the PHP solution.

Re: help with tags

Posted: 13 Apr 2012, 13:33
by Maxim
In version 1.19 and above you can use the following special tag:

[#imagepage.filename#]

for the image page file name. Like this:

http://website.com/s/[#imagepage.filename#]