Currently broken, but theres lots of code examples.

Repeatable Elements

A Concrete5 plugin

This plugin installs the Repeatable Elements block to your Concrete5 installation.

The Repeatable Elements block allows for the creation of repeatable items stored within a block. Think of it as an unordered list you can add anything too and style however you'd like.

The Repetable Elements block consists of repeatable items that can be enabled or disabled in the blocks options. You can then add, remove, rearrange or delete any number of elements that include the enabled items.

For example, if you have created a new Repeatable Elements block and have enabled images in the options tab, each element you add to the form will allow the selection of an image.

Currently the block supports:

  • Titles
  • Images
  • Text Area (Redactor)
  • Internal or external link
  • Locations
  • Static image present on all slides (such as a static background image while repeatable elements display ontop)

On the way:

  • More enablable options, layouts, better organization.
  • Add ability to use for single items rather than repeatables

Its aimed at developers.

I'd like to add a third tab for choosing preset layouts for the view.

The idea is to use one block to build most on page elements found within a web design. The agency I work for has great graphic designs constantly putting together very nice designs, but the functionality typically remains the same. A block like this will save tremendous time if implemented correctly.

Currently styles may conflict with new C5.8 styles, that will also be addresed in the near future.

Check out the different branches for more features.

Images

In Progress:

  • Add ability to clear an image out (currently once image is selected you can replace but not remove the linked image, you can ofcourse disabled images in options but that just disables it from being viewed, but its still there).