Zoo Zeebra

Developer

ExpressionEngine Zoo

3rd Party (Free)

Creative Commons Attribution No Derivatives Download v1.1

EE Version Support

  • ExpressionEngine 2

Compatibility

If an item is crossed out, it might be untested, not applicable or incompatible. Contact the developer to be sure.

  • Updater
  • Multi Site Manager
  • Stand Alone Entry Form
  • Low Variables
  • Content Elements
  • Better Workflow
  • Matrix
  • Grid
  • Webservice
  • Publisher

Requirements

  • jQuery for the Control Panel

Add-On Type(s)

Plugin

Tags

Zoo Zeebra is a very simple plugin that adds first and last classes to your lists/entries. It also adds classes for certain intervals (default 2, for odd and even rows).

Attributes

  • tips (default: “yes”) (other values: “no”)
  • tipsclass (default: “first|last”)
  • interval (default: “2”) (other values: numeric, or “no”)
  • intervalclass (default: “item-%”) (Can be any value, % will be replaced by the interval)

Usage

Standard usage


{exp:zeebra}
 <ul>
 {exp:channel:entries}
 <li class="{zeebra}">{title}</li>
 {/exp:channel:entries}
 </ul>
{/exp:zeebra}

Interval attributes


{exp:zeebra tips="no" interval="5" intervalclass="nth-%"}
 <ul>
 {exp:channel:entries}
 <li class="{zeebra}">{title}</li>
 {/exp:channel:entries}
 </ul>
{/exp:zeebra}

Tips attributes


{exp:zeebra tipsclass="uno|duo" interval="no"}
 <ul>
 {exp:channel:entries}
 <li class="{zeebra}">{title}</li>
 {/exp:channel:entries}
 </ul>
{/exp:zeebra}

Changelog

1.1

  • Better packaging
  • Added missing usage information inside EE

Download Zoo Zeebra

EE Support Downloads Add-On Version Release Date
Not Specified Download 1.1 Sep 3, 2010

This entry was created August 31, 2010, 11:11 am.
This entry was last updated April 13, 2011, 6:03 pm.

Disclaimer: Information about ExpressionEngine add-ons is provided as a service to you, the user, and every member of the ExpressionEngine community. devot:ee is not responsible if you hose, mangle, wreck, or otherwise destroy your EE website by installing an add-on that you found out about at this site, regardless of its rating, Favorites status, commercial or free status, or general popularity. Caveat EEmptor!

Returns: devot:ee has a 30-day return policy on all commercial add-ons sold through devot-ee.com. If you need to return an add-on, do not go to the developer or the developer's site, but rather visit our returns page at https://devot-ee.com/returns to initiate your return. If you have questions, email support@devot-ee.com.

4 Reviews:

ejaeDesign 06.06.11

ejaeDesign
Rating - {addon_rating_average}

Quite handy — sure you can use {count} variable or modulo variable too, but this makes it a worthy go-to plugin for quick class outputs for it simplicity alone. Note – do not output two {zeebra} variables in a single loop, as it will throw off the counts.

applesoda 03.10.11

applesoda
Rating - {addon_rating_average}

Extremely useful addon!

bennobo 09.22.10

Rating - {addon_rating_average}

Very useful lines of code.

THANKS A LOT!

ChristopherR 09.01.10

Rating - {addon_rating_average}

This add-on needs better packaging. You currently have to create the Zeebra folder in your third_party folder and rename the php file to pi.zeebra.php (to include the first dot).

Otherwise the add-on works exactly as advertised.