WebSite-PHP Framework PHP
Multi language
Simple Ajax mode
No HTML, no JavaScript
URL rewriting
Mail sending
Sitemap - RSS - Web service
Download WebSite-PHP FrameWork now
 


Loading
 


Google like share button

Tutorials

>

Tutorial Sharebutton

>

Google like share button


Sharebutton-02: Tutorial of the composant Sharebutton of the PHP FrameWork WebSite-PHP.

Google like share button:



Go back to tutorial of the componant Sharebutton



Source code

Source code



To use Sharebutton, you need to connect to the admin interface of the framework WebSite-PHP.

Once connected you will go to the menu Configuration -> Configure modules and enable the module Sharebutton.



File: /pages/tutorials/sharebutton/sharebutton-02.php

<?php
class Sharebutton02 extends Page {
    public function 
InitializeComponent() {
        
parent::$PAGE_TITLE "Google like share button";
        
$this->render = new GoogleLikeButton(
                
GoogleLikeButton::BUTTON_STANDARDtrue
                
$this->getBaseURL());

        
// Enable third party cookies filter
        
$this->enableThirdPartyCookiesFilter();
    }
}
?>


Go back to tutorial of the componant Sharebutton


Share

 


Copyright © 2009-2024 WebSite-PHP Framework PHP
Home Documentation Download Quick start Tutorials Wiki Issue Tracker