help with tags

Post Reply
streamish
Posts: 3
Joined: 07 Jun 2011, 16:42

help with tags

Post by streamish » 07 Jun 2011, 17:41

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

Maxim
Site Admin
Posts: 845
Joined: 02 Mar 2009, 17:02

Re: help with tags

Post by Maxim » 08 Jun 2011, 10:46

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.

Maxim
Site Admin
Posts: 845
Joined: 02 Mar 2009, 17:02

Re: help with tags

Post by Maxim » 13 Apr 2012, 13:33

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#]

Post Reply