shoryuken Posted May 31, 2011 Share Posted May 31, 2011 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<?phpclass 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 Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now