Jump to content

Yahoo messenger et prestashop


Recommended Posts

Bonjour,
J'essaie de mettre yahoo messenger online help sur mon site, il est installé, mais quand je me connecte avec yahoo messenger avec mon compte, dans ma page prestashop il voit toujours mon compte offline.

Voici mon fichier php et tpl, si quelqu'un a une petite idée , merci d'avance

<?php
class onlinehelp extends Module
{
public function __construct()
{
$this->name = 'onlinehelp';
$this->tab = 'Blocks';
$this->version = 1.0;
parent::__construct();
/* The parent construct is required for translations */
$this->page = basename(__FILE__, '.php');
$this->displayName = $this->l('Online Help');
$this->description = $this->l('Yahoo Messenger');
}
function install()
{
if (!parent::install() OR !$this->registerHook('leftColumn'))
return false;
return true;
}

function hookLeftColumn($params)
{
return $this->display(__FILE__, 'onlinehelp.tpl');
}

function hookRightColumn($params)
{
return $this->hookLeftColumn($params);
}
}
?>

Voici mon fichier .tpl


{l s="Online Help" mod="onlinehelp"}




Yahoo Messenger Online Help


online?u=xxxxxxxx@yahoo.fr&m=g&t=14



Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...