Jump to content

[unknown tag "addJsDef"] error


morphet

Recommended Posts

Hi,

 

I am using a module which needs to define some JS variables in a tpl file, but it seems Smarty does not recognize the tag anymore. The error is:

{addJsDef order_num=$order_num}" unknown tag "addJsDef"

I have those lines in the end of the tpl file:

{strip}
        {addJsDef order_num=$order_num}
	{addJsDef order_history=$success}
{/strip}

Does anyone knows if those tags should be replaced by something new or if this behavior does not exist anymore ?

 

Thanks for you help!

Link to comment
Share on other sites

  • 4 weeks later...
  • 3 years later...

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