<commit_before>#Functionality
* Adds a convenience method for templates that pre-splits a dataset into rows

# Installation
    git clone git://github.com/gordonbanderson/weboftalent-gridrows.git
    cd weboftalent-gridrows
    git checkout stable24

The name of the output directory does not matter

# Usage - Templates
An example template is shown below.
* The parameters for SplitSetIntoGridRows are the method name to return a list of DataObjects, and the number of DataObjects to show per row.
* Start your row in HTML, e.g. <tr> or <div class="row">
* The DataObjects in each row are available from the call <% control Columns %>
* Render each DataObject as appropriate, in this case use Twitter bootstrap.

	<h1>$Title</h1>
	$Content
	<% control SplitSetIntoGridRows(AllChildren|3) %>
	<div class="row">
	<% control Columns %>
	<div class="span3"><h4><a href="$Link">$Title
	<a href="$Link"><% control Screenshot.SetWidth(300) %><img src="$URL" alt="$Title"/><% end_control %></a>
	</h4>
	</div><!-- end of span 4 -->
	<% end_control %>
	</div><!-- end of row -->
	<% end_control %>



## Silverstripe Version Compatibility
2.4 only (tested with 2.4.5+) - stable24 branch<commit_msg>FIX: Trying to fix code rendering<commit_after>#Functionality
* Adds a convenience method for templates that pre-splits a dataset into rows

# Installation
    git clone git://github.com/gordonbanderson/weboftalent-gridrows.git
    cd weboftalent-gridrows
    git checkout stable24

The name of the output directory does not matter

# Usage - Templates
An example template is shown below.
* The parameters for SplitSetIntoGridRows are the method name to return a list of DataObjects, and the number of DataObjects to show per row.
* Start your row in HTML, e.g. &lt;tr&gt; or &lt;div class="row"&gt;
* The DataObjects in each row are available from the call <% control Columns %>
* Render each DataObject as appropriate, in this case use Twitter bootstrap.

```
<h1>$Title</h1>
$Content
<% control SplitSetIntoGridRows(AllChildren|3) %>
<div class="row">
<% control Columns %>
<div class="span3"><h4><a href="$Link">$Title
<a href="$Link"><% control Screenshot.SetWidth(300) %><img src="$URL" alt="$Title"/><% end_control %></a>
</h4>
</div><!-- end of span 4 -->
<% end_control %>
</div><!-- end of row -->
<% end_control %>
```



## Silverstripe Version Compatibility
2.4 only (tested with 2.4.5+) - stable24 branch
{'fraction_non_alphanumeric': 0.12832225913621262, 'fraction_numerical': 0.015780730897009966, 'mean_word_length': 4.450226244343892, 'pattern_counts': {'":': 0, '<': 47, '<?xml version=': 0, '>': 47, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '391769', 'n_tokens_mistral': 793, 'n_tokens_neox': 736, 'n_words': 278}