Jump to content

Add warning banner in back office (or duplicate)


Recommended Posts

Hi

 

In the back office, I would like duplicate the warning banner (the same in the tab "Modules") in " Customer Threads"

 

In admin/tabs/AdminCustomerThreads.php lines 196 after :

 


 public function displayListHeader($token = NULL)
{
	global $currentIndex, $cookie;

 

I add :

$warnings[] ='<a href="'.$currentIndex.'&configure='.urlencode($module->name).'&token='.$this->token.'">'.$module->displayName.'</a> - '.stripslashes(pSQL($module->warning));
	$this->displayWarning($warnings);

 

 

But the token, $CurrentIndex and $module are faults.

 

Can you help me please to assign and complete by "if warning" ?

 

Prestashop 1.4.8.2

Edited by caly16 (see edit history)
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...