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.

New in 2.0: Snippets

Snippets are a new feature in EE 2.0 that allow you to store bits and pieces of code. “Great, Ryan, but this sounds like Global Variables” you’re thinking to yourself. Yes, but better.

Snippets are a native implementation of the Fresh Variables module on 1.6.8. Unlike normal User-defined Global Variables, the code you place in the Snippets is parsed (very early on during the parse order) by ExpressionEngine.

Get familiar with them by reading the official Snippets documentation.

Posted on Dec 09, 2009 by Ryan Irelan

Filed Under: ExpressionEngine 2