Leevi Graham Makes Your Extensions Better
Prolific EE developer Leevi Graham has posted a Github gist (re: code-snippet) that explains how to add weblog tag parsing functionality to your code. Not only is this extremely useful to addon developers, but Leevi was kind enough to comment the crap out of it. Here’s the introduction:
/**
The function below demonstrates how to use the weblog obect
to parse your own custom module / plugin tags
Usage {exp:my_plugin:use_weblog_object} ... {exp:my_plugin:use_weblog_object}
The tag will now behave like an exp:weblog:entries tag accepting the same params
**/
Leevi is the developer of some of my favorite extensions including LG Better Meta and NSM Publish Plus. I recommend both of these addons highly for your client installs.
Leevi Graham — 14:01 on 10.06.2009
Thanks for mentioning my addons and this Tech Tip. Hopefully someone will find it useful.