Jump to content

get_template_vars deprecated


Nuvish

Recommended Posts

In php,to get the name of the page i am currently in,i use this :

 

$pageName = $smarty->get_template_vars('page_name');

 

But on my front page,it says that this function is deprecated.

 

What can i use instead to get the page name ?

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