Hi - Thnx, but still not able to resolve it completely
i have put in below revised code
Code:
<?php
$server_name = 'mycarhelpline.com';
$current_path = $_SERVER['REQUEST_URI'];
$sharerpath = 'http://www.facebook.com/sharer/sharer.php/?u='.$server_name.''.$current_path;
?>
<a onclick="window.open(<?php echo $sharerpath;?>, 'newWindow', 'width=600, height=400'); return false;"
href="<?php echo $sharerpath;?>" target="_blank"
rel="nofollow"><img src="/templates/mycar_home/images/facebook.png" alt="Share on Facebook" /></a>
Now the page url in address bar been coming in new window is correct
Code:
http://www.facebook.com/sharer/sharer.php/?u=mycarhelpline.com/index.php?option=com_forms&view=pages&layout=carloanemicalculator&Itemid=68
But the facebook window sharing is not displaying it correctly
Code:
http://mycarhelpline.com//index.php?option=com_forms
Its only displaying above url with no description and nothing in the share box
not yet able to solve this ... thnx - if can help in again to identify the gap