Jump to content

Display template name


Peter Knight
 Share

Recommended Posts

Is the template name a value which I can display?

I've read the API docs re. template names and tried a few things including below but nothing works so far.

Template is: {$page->$template->name}

FYI I'm building a small 'helper' section in a footer which is only visible to admins and it will display page ID, template name and a link to edit the page.

Everything working apart from displaying the template name.

 

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
 Share

×
×
  • Create New...