Published by Mijingo

movie icon image

EE Insider Blog

Spend your time learning and developing sites with ExpressionEngine and we'll use this blog to keep you informed of all the news related to ExpressionEngine and CodeIgniter.

» Read more in the Archives.

» Have a tip? Send us your EE news.

Learn ExpressionEngine Today

Over a series of 8 videos, watch and learn as Ryan builds an entire ExpressionEngine website from beginning to end. Get started now.

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.

Posted on Sep 30, 2009 by Kenny Meyers

Filed Under: Development Tools, EE Add-ons, Version Control, Git

Leevi Graham14:01 on 10.06.2009

Thanks for mentioning my addons and this Tech Tip. Hopefully someone will find it useful.