Hey guys,
In response to this thread I have released LG Template Info with full documentation.
As usual its available on my site: LG Template Info - Display ExpressionEngine Template information in your templates.
Enjoy
Hi Leevi,
Thanks for letting me see this one as I couldn’t post in the original forum post. A great plugin 😉
Just one thing though, I think there is something up with the information page for that one as the text in the left-hand side-bar is coming up in a different font to usual?
Great plugin though. Sure it will come in handy at some point.
Best wishes,
Mark
Darn you, just noticed you’ve updated it!!!
Just out of interest (I only took about 10 seconds look at the page though) what was it. I could see that the UL had the same class name etc but what made it come out in courier instead?
As I said I only took literally a fleeting look but now that it isn’t there any more I’m just wondering.
Best wishes,
Mark
Aha,
That would be the blighter! 😉
Are you going to add this one to your main page as well? Leevi is currently thinking “Is Mark just trying to find me more work to do or what?!!” 😉
Best wishes,
Mark
Aha, That would be the blighter! 😉 Are you going to add this one to your main page as well? Leevi is currently thinking “Is Mark just trying to find me more work to do or what?!!” 😉 Best wishes, Mark
I don’t know if it deserves a spot on the home page… although I’m thinking that’s what most people see as my entire collection of addons. It was originally designed to be a feature panel so I can either add all the addons or start removing some and creating a bigger view all button… Not sure
I’m thinking I’ll redesign the site when EE 2.0 comes out to accomodate new addons end start removing the old ones.
Great plugin! Exactly what I needed except for one little thing I came across. On pages with multiple words in the title, it keeps the dashes/underscores. Not sure if there’s even anything that can be done for that but thought I’d ask if there were any ideas.
i.e. template name = weekend-events
Thoughts?
Great plugin! Exactly what I needed except for one little thing I came across. On pages with multiple words in the title, it keeps the dashes/underscores. Not sure if there’s even anything that can be done for that but thought I’d ask if there were any ideas. i.e. template name = weekend-events Thoughts?
I’m a little confused. This extension pulls the template group name and template name. It’s an EE condition that these names have no spaces.
Pages are assigned to a template group / template so this plugin is using that infomration.
Leevi,
Great plugin, thanks. Is there any way, however, of getting the plugin to output the details of the current embed template that the template engine is rendering?
At the moment, it appears that whatever embed template you call the plugin from the output is always the details of the parent template of the page you’ve requested.
What I’m trying to do is add a debugging link to all my templates (and embeds, of which there are many!) to identify in which template a particular problem may be lurking.
eg this goes at the top of all of my templates and embeds:
{if member_group == "1"}
<a href="/system/index.php?C=templates&M=edit_template&id={exp:lg_template_info" title="Edit Template" class="editthis">_ Template: {exp:lg_template_info attribute='template_group_name'}/_ <strong>{exp:lg_template_info attribute='template_name'}</strong>_</a>
{/if}
Or perhaps there could be another way of just automatically adding this output to all templates?
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.