Jump to content

How to call a php function inside a .tpl file?


icaro

Recommended Posts

smarty does not allow you to do this by default. there is a setting you would have to change, but I have had trouble in the past getting it to work.

 

they would advise you to execute the php function in the controller, and create a smarty variable with the information you want to display.

Link to comment
Share on other sites

  • 1 year 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...