Plugin Information
Allow EE Code 1.2
- Author:
- Paul Burdick
- Published:
- Aug 03, 2004
- Last Updated:
- Jul 15, 2008
- License:
- First Party License
- Categories:
- Plugins Output Text Add-On Entries
Allows ExpressionEngine code to be used in entries and then parsed in the template. Currently, you cannot put EE tags into an entry/post and have them rendered in the template. Instead, the code itself will just display, unprocessed. This plugin makes it so any EE tags in an entry will actually be parsed and have results outputted.
Example Usage
{exp:allow_eecode}
{body}
{/exp:allow_eecode}
Notes
IMPORTANT DISCLAIMER: Allowing EE Code in entries or comments can present a LARGE SECURITY RISK. By using this plugin, ANYONE allowed to post entries or comments can submit ANY EE tag and it will be executed. Use this plugin only if you have very tight control over who can post data in the area where you are using it. Be Careful!!Wrap anything you want to be processed between the tag pairs.
{exp:allow_eecode}
field whose ExpressionEngine code you want processed (ex: {body})
{/exp:allow_eecode}
PARAMETERS:
query - (y/n) Allow you to allow the use of the {exp:query} tag in your entries. Set to 'n' by default.
embed - (y/n) Allow you to allow the use of {embed} tags in your entries. Set to 'n' by default.
Version 1.0.1
******************
- Removed the ability to use the {exp:query} tag by default, for security reasons.
- Added query parameter to tag to enable the use of {exp:query} in entries.
Version 1.0.2
******************
- Fixed a bug where any code containing variables pairs would not work (ex: {items} blah {/items})
Version 1.1
******************
- Added embed parameter to tag to enable the use of {embed} tags in entries.
Version 1.2
******************
- Fixed a bug where code containing single variables would not work

