dynamic links don't work
Hi
(I have followed the other thread about dynamic links, but it has gone off topic).
I follow the instriuctions to create a dynamic link on the 'share' icons, but the link back from a Facebook user goes to the main domain, ignoring any parameters.
I have downlaoded and tried the new beta version, but I don't have Facebook, so am relying on a friend who has it to feedback - but if this forum cn be quicker, it would be great!
The original code produced is:
<div class="icons"> <a name="fb_share" type="icon" href="#" onclick="window.open('http://www.facebook.com/sharer.php?u=<?php echo urlencode('http://www.rotary-site.org/index.php?SiteID='); ?><?php echo $row_rsTopPic['SiteID']; ?>&lang=<?php echo $row_rsTopPic['Lang_abr']; ?>', 'Facebook', 'toolbar=0,status=0,width=626,height=436'); return false;" title="Facebook"> <img src="webassist/social/icons/facebook.png" width="16" height="16" /> </a> </div>
With the beta version:
<div class="icons"> <a name="fb_share" type="icon" href="http://www.facebook.com/sharer.ph?u=<?php echo urlencode('http://www.rotary-site.org/index.php?lang='); ?><?php echo $row_rsTopPic['Lang_abr']; ?>&SiteID=<?php echo $row_rsTopPic['SiteID']; ?>" title="Facebook"></a>
<script src="http://static.ak.fbcdn.net/connect.php/js/FB.Share" type="text/javascript"></script>
</div>
Any help much appreciated.
Thanks
Chris