Feedback
For support related questions and bug-reports please use the form over here.Pingbacks
1. South Sudan to shut oil production over thefts
(AP) | Walt Disney World Vacation Discount
on 2012-01-25 23:59:51:
[...]numerology the game hue jackson new hampshire primary[...]
Splitter
| Version | Released | Type | License |
|---|---|---|---|
| 1.2.1 | 2009-03-25 | Plugins | Freeware (?) |
| ⇒ Splitter for EE 2 | |||
This plugin may be used to split any kind of listings into several blocks with evenly distributed items. This can be manually created lists, lists produced by {exp:weblog:entries}- or {exp:weblog:categories}-tags or whatever.
There must however be some text in between the single items that can be used as a delimiter.
The number of items per block is determined automatically and blocks surrounded by <div></div> are created. You may specify a classname to be used in the <div>.
Example:
{exp:weblog:entries weblog="default"}
{title}<br />
{/exp:weblog:entries}
You have a list of weblog entries and want to create three evenly sized columns.
Wrap the {exp:splitter}-tags around the {exp:weblog:entries}-tags, specifiy the number of blocks you want, a text to be used as delimiter and the class you want to be applied to the <div>s.
{exp:splitter blocks="3" delimiter="<br />" class="myclass"}
{exp:weblog:entries weblog="default"}
{title}<br />
{/exp:weblog:entries}
{/exp:splitter}
will produce
<div class="myclass">
Title 1<br />
Title 2<br />
Title 3<br />
</div>
<div class="myclass">
Title 4<br />
Title 5<br />
Title 6<br />
</div>
<div class="myclass">
Title 7<br />
Title 8<br />
Title 9<br />
</div>
To make columns you’d probably set the class to float:left and might want to specify a width. Like:
<style>
.myclass {
float:left;
width:33%;
}
</style>
Freeware means you may use this addon free of
charge in as many installations as you like.
Comments
2012-05-16 15:47
There are some good addons here. For sure I will use some.
2012-04-26 10:26
I will add it between div-s.
Seems to work!
2012-04-25 15:09
I am not sure how to install this plugin. Where can I read some documentation?
2012-04-17 13:38
This is a really nice feature. I really like it.
2012-04-09 15:06
it works really good for me. I am really impressed! I will use it for sure.
2012-04-09 09:12
I will try to do it like in your example. I am sure that I will have excellent results.
2012-04-03 15:52
It is a good feature and I will use if for sure.
2012-03-29 15:57
It is a good code… It used divs so will look good in IE, too.
2012-03-27 11:14
I already used you code. I am really impressed! It works excellent!