ExpressionEngine addons Lab
FAQ

Features

MX Stars Field is an FieldFrame field type. It gives you the input field designed as stars rating. MX Stars Field compatible with Matrix(only for EE1 at this moment), SAEF, CP.

The latest stable release of MX Stars Field for ExpressionEngine 2 is available here

Requirements

  • EE1 - PHP 4+, ExpressionEngine 1.6.5+, FF 1.2.0+, jQuery for the Control Panel.
  • EE2 - PHP 5+, ExpressionEngine 2+

Installation

To install the new field type please follow the simple instructions below:
  • Download the MX Stars Field (EE1 or EE2) archive and extract the files.
  • EE1: Copy fieldtypes/mx_stars_field to /system/extensions/fieldtypes/
  • EE2: Copy mx_stars_field folder to /system/expressionengine/third_party/
  • Enable MX Stars Field in the Fieldtypes Manager

Screenshoots

Tags


<style type='text/css'>
.star-rating{
    list-style:none;
    margin: 0px;
    padding:0px;
    
    height: 17px;
    position: relative;
    background: url(../images/rating-stars.png) top left repeat-x;
}
.star-rating li{
    padding:0px;
    margin:0px;
    height:17px;
    width: 17px;
    float: left;
}
.star-rating li.current-rating{
    background: url(../images/rating-stars.png) left bottom;
    position: absolute;
    height: 17px;
    display: block;
    text-indent: -9000px;
    z-index: 1;
}
</style>

<ul class="star-rating" style="width: 119px;">
<li class="current-rating" style="width: {mx_stars_field}17{/mx_stars_field}px;">

{mx_stars_field}/{mx_stars_field:scale}.</li>

</ul>
			
		

Single Variables

  • {field_name}
    Value
  • {field_name:scale}
    Scale

Variable pairs

  • {field_name}_integer_value_{/field_name}
    Value * _integer_value_ (see in examples code)

Change Log

ExpressionEngine1

  • 0.5.1 - 05/11/2010:
    scripts update
  • 0.5.0 - 02/28/2010:
    scripts update
  • 0.01 - 8/04/2009:
    style update
  • 0.009c - 08/04/2009:
    Initial release

MX Stars Field

Download MX Stars Field  0.5.1

Version: 0.5.1
Released: 05/11/2010

Thank Me By ‘Buying Me A Cup Of Coffee'

Like my add-ons?
Consider buying me coffee.

Like it? Tweet it!

Digg itAdd to Stumbleupon Share whith Facebook

http://eec.ms/sjnp

Follow me on twitter