Jump to content

[solve ]next pags button can’t work in back office


chrilisa

Recommended Posts

solve :
admin/tabs/admincatalog.php
fix:

elseif (!isset($_GET['editImage']))
       {
           $id_category = intval(Tools::getValue('id_category'));
           if (!$id_category)
               $id_category = 1;
           echo ''.$this->l('Current category').' :   '.getPath($currentIndex, $id_category).'';
           echo ''.$this->l('Categories').'';
           $this->adminCategories->display($this->token);
           echo ' ';
           echo ''.$this->l('Products in this category').'';
           $this->adminProducts->display($this->token);
       }
   }



to :

elseif (!isset($_GET['editImage']))
       {
           $id_category = intval(Tools::getValue('id_category'));
           if (!$id_category)
               $id_category = 1;

           $currentIndex .= '&id;_category='.$id_category.'&token;='.$this->token;

           echo ''.$this->l('Current category').' :   '.getPath($currentIndex, $id_category).'';
           echo ''.$this->l('Categories').'';
           $this->adminCategories->display($this->token);
           echo ' ';
           echo ''.$this->l('Products in this category').'';
           $this->adminProducts->display($this->token);
       }
   }

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