philsturgeon / ee2-widgets

Widgets is a ExpressionEngine 2.1 module that allows even your least experienced client or to manage chunks of intelligent content on there site without needing to learn loads of tags, HTML or call you in to help.
http://devot-ee.com/add-ons/widgets
18 stars 13 forks source link

add {widget_area_count} template tag for double-sided tag #1

Closed jordanandree closed 12 years ago

jordanandree commented 12 years ago

Essentially allows you to use {widget_area_count} like so, useful in loops:

{exp:widgets:area name="widgets"}
  {widget_area_count}
{/exp:widgets:area}

Result integer is not a zero-based index.

jordanandree commented 12 years ago

Also added some updates to README, ability to copy a widget instance to a new widget area, and fixed a bug where editing a widget instance did not correctly set the instance's area.