Jump to content

Smarty variable not assigned anymore


Recommended Posts

Hello,

I have a custom made module working fine since a year, I wanted to had a simple hook. The hook is well registered and active but the smarty variables are not assigned anymore.

 

As test : I have tried to add a smarty variables to other module and it never gets output.

Removing an existing smarty variable works (it becomes missing in the template)

 

What ever I do the smarty variables don't get assigned anymore. HELP PLEASE !!!

 

Note : I have clear the cache

 

Here is the very simple test code: 

public function hookDisplayMyTest($params) {
  $this->smarty->assign('hello', 'world');
  return $this->display(__FILE__, 'destinationsbottom.tpl');
}

 

Edited by Bluedge (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...