Jump to content

Innovative menu, add menu don't work


tarek.fellah

Recommended Posts

Hi all,

 

I have installed innovative menu module, when i tried to add a menu in edit menu tab, the add don't work.

the click  button triggers an ajax call to editMenu  function in InnovativeMenu.php, the ajax response is 

{"configure":false,"view":null}

the php code that handle the ajax call is

 if ($ajax)
                {
                        $output['configure'] = $this->display(__FILE__, 'tpl/edit_element.tpl');
			// $output['configure'] = $this->context->smarty->fetch($dir_tpl . '/tpl/edit_element.tpl');
                        $output['view'] = $this->viewMenu($menu->id);
                }
                else $output = $this->display(__FILE__, 'tpl/edit_element.tpl');
		//$output['configure'] = $this->context->smarty->fetch($dir_tpl . '/tpl/edit_element.tpl');
				
                return $output;

the display method returns false, viewMenu returns null.

I checked if tpl/edit_element.tpl exists, is there a problem with file permissions?

 

Can someone help me to fix this problem.

Thanks in advance.

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