EE2 plugin that iterates through one or more pipe-delimited strings, passed in as parameters
PHP
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
README.textile
pi.iterate.php

README.textile

Iterate

This plugin for ExpressionEngine 2 iterates through pipe-delimited strings, passed in as parameters.

Requirements

Installation

  • Upload the iterate folder to system/expressionengine/third_party/

Usage

Use Iterate in your templates like so:

{exp:iterate breakfast="Coffee|Mimosa|Eggs Benedict"}
    <li>{breakfast}</li>
{/exp:iterate}

Parameters

  • offset="2"
  • limit="5"

Tags

  • {count}
  • {total_results}
  • {switch="X|Y|Z"}