We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

Template_id and template_group_id

Developer Preview

Hop Studios's avatar
Hop Studios
500 posts
11 years ago
Hop Studios's avatar Hop Studios

Any chance you can make these variables available? Would make it easier to create links to edit templates, and to troubleshoot and track down errors during development.

       
Derek Jones's avatar
Derek Jones
7,561 posts
11 years ago
Derek Jones's avatar Derek Jones

That’s not a bad idea, but for now you could use and modify this plugin I made for a StackExchange user to access Template metadata within a template.

       
Sobral's avatar
Sobral
87 posts
11 years ago
Sobral's avatar Sobral

We already have {template_edit_date}. {template_id} and {template_group_id} could complete the team and make the debug easier. Together with something telling us if the page is being cached.

       
Derek Jones's avatar
Derek Jones
7,561 posts
11 years ago
Derek Jones's avatar Derek Jones

Thanks for the feedback, Robson. On caching, that information is already available in the Template Debugging log.

       
Sobral's avatar
Sobral
87 posts
11 years ago
Sobral's avatar Sobral

Sometimes, the template debugging log is too much, @Derek. Sometimes, something like this is enough.

Thanks for the attention, @Derek!

       
Derek Jones's avatar
Derek Jones
7,561 posts
11 years ago
Derek Jones's avatar Derek Jones

Indeed it is a lot of detail, and we’ve some ideas for improvements. A find on the page for “cache” could get you that information rather quickly for now though.

       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.