LG Template Info Display template information in your ExpressionEngine templates
Download LG Template Info v1.0.0 Table of contentsFeatures
LG Template Info is a simple plugin that displays basic information about the primary template being rendered.
Template information available in this ExpressionEngine plugin includes:
- template id
- template name
- template group id
- template group name
Requirements
LG Template Info is an ExpressionEngine plugin tested ExpressionEngine 1.6.0 or greater.
Installation
The LG Template Info plugin contains a single plugin file. To install the extension follow the instructions below:
- Download the latest version of the extension
- Extract the .zip file to your desktop
- Copy the
plugins/pi.lg_template_info.phpdirectory to your/system/pluginsdirectory
Activation
This plugin has no special activation requirements.
Usage
LG Template Info has one main tag {exp:lg_template_info}. This tag requires one of four parameters: see Tag Reference below.
Just add one or all of the following tags to your template:
{exp:lg_template_info attribute='template_id'}{exp:lg_template_info attribute='template_name'}{exp:lg_template_info attribute='template_group_id'}{exp:lg_template_info attribute='template_group_name'}
Tag Reference
LG Template Info
{exp:lgtemplate_info} has the following parameter:
attribute_id= [required]
template_info="template_id"
The attribute param accepts one of the four following options which are self explanitory:
- template_id
- template_name
- template_group_id
- template_group_name
Change Log
1.0.0
- Initial Release
License
LG Template Info is licensed under a Creative Commons Attribution-Share Alike 3.0 Unported License.
Contributors
Make a donation and get your website listed.
Page created on: Apr 14, 2008
Last updated on: Jul 02, 2008
Enjoy LG Template Info v1.0.0? Bookmark and share it with others.