Jump to content

comment deplace le module "liens permanents" dans mon footer ??


ecat

Recommended Posts

apres un essai rein de fonctionne ou n'apparait dans le footer

voici le code du fichier dont tu me parle en y regardant de plus prés j'ai l'impression que ce module est deja present dans le fichier peut tu me confirmer cela stp je te joins le code du fichier ci dessous

<?php

class BlockPermanentLinks extends Module
{
   function __construct()
   {
       $this->name = 'blockpermanentlinks';
       $this->tab = 'Blocks';
       $this->version = 0.1;

       parent::__construct(); // The parent construct is required for translations

       $this->page = basename(__FILE__, '.php');
       $this->displayName = $this->l('Permanent links block');
       $this->description = $this->l('Adds a block that displays permanent links such as sitemap, contact, etc.');
   }

   function install()
   {
       if (!parent::install())
           return false;
       if (!$this->registerHook('top'))
           return false;
       return true;
   }

   /**
   * Returns module content for header
   *
   * @param array $params Parameters
   * @return string Content
   */
   function hookTop($params)
   {
       return $this->display(__FILE__, 'blockpermanentlinks-header.tpl');
   }

   /**
   * Returns module content for left column
   *
   * @param array $params Parameters
   * @return string Content
   */
   function hookLeftColumn($params)
   {
       return $this->display(__FILE__, 'blockpermanentlinks.tpl');
   }

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


?>

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...