Mark Matheson wrote: If anyone is still interested, I have developed a K2 Content module that allows you to show Related Items, and most other K2 content objects, in a module position.
It is waiting for approval on the JED and here in the K2 Extension list, but in the meantime, you can download K2 Split Content from here: -
www.marathonsoftware.com.au/products/k2-split-content
Mark,
Thanks so much for sharing and I'm sorry I haven't been on this forum for a long time. Looks like you got it to work very nicely. I just tested it. I will submit a ticket on your web site with some suggestions.
On a side note, in order to get my work going, I ended up using JQuery (as suggested by another member here) inside K2 custom HTML tool to copy the related items and then null the related items on the page. Works perfectly.
I used this code:
<div class="relatedItems">
</div>
<script>
jQuery.noConflict();
jQuery(document).ready(function(){
related = jQuery('div.itemRelated').clone();
jQuery('div.itemRelated').html("");
jQuery('div.relatedItems').append(related);
});
</script>
-Eyal