To share a specific page, you can specify the url you want to share and the title.
$socialshare->UrlToShare = "http://www.koolphp.net";
$socialshare->TitleToShare = "Check out this great PHP UI controls!";
<?php
/*
* This file is ready to run as standalone example. However, please do:
* 1. Add tags <html><head><body> to make a complete page
* 2. Change relative path in $KoolControlFolder variable to correctly point to KoolControls folder
*/
$KoolControlsFolder = "../../../../KoolControls";//Relative path to "KoolPHPSuite/KoolControls" folder
require $KoolControlsFolder."/KoolSocialShare/koolsocialshare.php";
$socialshare = new KoolSocialShare("socialshare");
$socialshare->styleFolder = "default";
$socialshare->scriptFolder = $KoolControlsFolder."/KoolSocialShare";
$socialshare->ShowAllShareButtons();
$socialshare->UrlToShare = "http://www.koolphp.net";
$socialshare->TitleToShare = "Check out this great PHP UI controls!";
?>
<form id="myform" method="post" class="decoration">
<?php echo $socialshare->Render();?>
</form>