Temporary documentation…
{reeposition:redirect="404"}
Some users reported that versions of Reeposition prior to 1.3 interfered with code like { if no_results}{ redirect="404"}{ /if}. If you are having problems with redirects, use {reeposition:redirect="wherever"} instead.
{reeposition:item}{/reeposition:item} and {reeposition:put_item}
If you only need to move one chunk of content, wrap it in {reeposition:item}{/reeposition:item} tags. You may then place it elsewhere in your template using a single {reeposition:put_item} variable.
{reeposition:item id="my_id"}{/reeposition:item} and {reeposition:put_item id="my_id"}
If you need to move multiple, identifiable chunks of content, you will need to add an id parameter to each tag so Reeposition knows which moveable item belongs with which put_item variable.
{reeposition:item group="my_group"}{/reeposition:item} and {reeposition:put_group group="my_group"}
Let’s say you want to move several distinct pieces of content to a single location. For example, you want to collect the titles of each of the blog entries on the page so that you can auto-generate a “table of contents” to place at the top of the page. For that, wrap each individual item in {reeposition:item group="my_group"}{/reeposition:item} tags, then place them using a single {reeposition:put_group id="my_group"} variable. All items that share the same group=”” value will be grouped together. An unlimited number of groups may be used in the same template. Example:
{exp:reeposition}
<ul>
{reeposition:put_group id="contents"}
</ul>
<hr />
{exp:weblog:entries weblog=“blog” limit=“5”}
<div class=“blogEntry” id=“entry{entry_id}”>
<h2>{title}</h2>
{body}
{reeposition:item group="contents"}<li><a href=”#entry{entry_id}”>{title}</a><li>{/reeposition:item}
</div>
{/exp:weblog:entries}
{/exp:reeposition}
...will result in…
<ul>
<li><a href=”#entry1”>Item 1</a><li>
<li><a href=”#entry2”>Item 2</a><li>
<li><a href=”#entry3”>Item 3</a><li>
<li><a href=”#entry4”>Item 4</a><li>
<li><a href=”#entry5”>Item 5</a><li>
</ul>
<hr />
<div class=“blogEntry” id=“entry1”>
<h2>Entry 1</h2>
<p>Blah blah blah</p>
</div>
<div class=“blogEntry” id=“entry2”>
<h2>Entry 2</h2>
<p>Blah blah blah</p>
</div>
... and so on.