collylogic.com - Simon Collison's weblog

Wednesday’s Expression Engine snippet

8th November 2006

Where is this week going? Anyway, no time for such philosophical questions, it’s time to get dynamic with Expression Engine.

Hidden away in the EE docs is an absolute gem that I’d seriously overlooked until recently. I’m talking about the ability to dynamically change parameters in your weblog tags by using dynamic parameters.

I’ll get away with being lazy today, and let the docs explain the code. But I will say that the beauty of this function appears when you’re using weblogs to do non-weblog type stuff. Remember that in Expression Engine, weblogs are really data-containers, with their data-structure editable using custom entry fields. So if you’re building any kind of directory, listing, catalogue, real-estate site using weblogs, adding in dynamic parameters enables your users to quickly sort / filter / drill-down to what they’re looking for.

I’ll leave it at that for today, and tomorrow I’ll talk you through building a quick “what’s on” page with dynamic listings. Toodle-pip!

Simon Rudkin published this on 08/11/06, at 5:59 PM

Comments

I really thought I knew everything about expression engine. This is amazing! Do you have this running somewhere? What does the url look like once you submit the form?

09/11 at 04:57 from essl

Sorry, don’t have a live one at the moment… but I can tell you that there’s no change to the URL, which is pretty useful!

09/11 at 16:56 from Simon Rudkin

Note that comments are disabled 30 days after articles are published, or sooner if spammers target a particular post. Sorry...