Content last modified Tuesday 24 August 2021
hop to #bottom
Categories:
Author:
About It:
Get it:
Rate it:
  • Helpful?
  • 0 Yes
  • 0 No
Flag it:

If you'd like to provide updated information and do not have access to directly edit, please contact the site admin; thanks!

rah_repeat

Split, loop and repeat a value by value. With this Textpattern plugin, you can turn a simple list of values into advanced HTML output and lists. Split markup half, and represent halves in different places on the page. For example turn comma-separated list of values stored in a custom field into a complex HTML list.

More info and downloads

With the tag you could do this type of simple block of code:

<txp:rah_repeat value='<txp:custom_field name="my_list" />' wraptag="ul" break="li">
	<txp:rah_repeat_value />
</txp:rah_repeat>

And you get a sweet HTML list as a result:

<ul>
	<li>Value #1</li>
	<li>Value #2</li>
	<li>Value #3</li>
</ul>
Article Request Count:
Keywords/tags:
Initially released:
2009-11
Posted here:
11 Jan 2010

You know you want to visit the Archives.
Published with Textpattern