Demo: extending smarty with custom plugins