Jump to content

Global variable on TPL


Rubens Cury

Recommended Posts

Hi @COTOKO,

 

Thank you for your reply.

 

Yes, it is... It usually works perfectly. Would you please try to get any global variable from this specific file like {$modules_dir}

 

\admin\themes\default\template\controllers\cart_rules\form.tpl

 

Even it's a native Prestashop code it can simulates my problem...

 

I don't know if I'm doing something wrong or if there's some specific restriction...]

 

Thank you.

Link to comment
Share on other sites

Thank you for your message @COTOKO

 

I thought the global variables were available for both (front and back office). Anyway, your explanation was very useful, even if only to make me sure that I'll have to assign them manually through my PHP. Any other suggestion will be very welcome.

 

Thanks

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