/**
  * Generate module
  */
 protected function compile()
 {
     // show share buttons in backend
     if (TL_MODE == 'BE') {
         $this->Template->sharebuttons = ShareButtons::createShareButtons($this->sharebuttons_networks, $this->sharebuttons_theme, $this->sharebuttons_template);
     } else {
         $this->Template->sharebuttons = ShareButtons::createInsertTag($this->sharebuttons_networks, $this->sharebuttons_theme, $this->sharebuttons_template);
     }
 }
 /**
  * Generate module
  */
 protected function compile()
 {
     $this->Template->sharebuttons = ShareButtons::createInsertTag($this->sharebuttons_networks, $this->sharebuttons_theme, $this->sharebuttons_template);
 }