In the jrElastic index.tpl file, find this bit of code -
{* Newest Videos Block *}
{if jrCore_module_is_active('jrVideo')}
<div class="block">
<div class="title">
<h2>{jrCore_lang skin=$_conf.jrCore_active_skin id="11" default="newest"} {jrCore_lang skin=$_conf.jrCore_active_skin id="14" default="videos"}</h2>
{jrCore_module_url module="jrVideo" assign="video_murl"}
<div class="title-more"><a href="{$jamroom_url}/{$video_murl}">{jrCore_lang skin=$_conf.jrCore_active_skin id="22" default="all"}</a></div>
</div>
<div class="block_content">
<div class="item">
{jrCore_list module="jrVideo" order_by="_created desc" template="index_list_videos.tpl" limit="5" require_image="video_image"}
</div>
</div>
</div>
{/if}
and change it to -
{* Newest Youtube Videos Block *}
{if jrCore_module_is_active('jrYouTube')}
<div class="block">
<div class="title">
<h2>{jrCore_lang skin=$_conf.jrCore_active_skin id="11" default="newest"} {jrCore_lang module="jrYouTube" id="40" default="YouTube"} {jrCore_lang skin=$_conf.jrCore_active_skin id="14" default="videos"}</h2>
{jrCore_module_url module="jrYouTube" assign="youtube_murl"}
<div class="title-more"><a href="{$jamroom_url}/{$youtube_murl}">{jrCore_lang skin=$_conf.jrCore_active_skin id="22" default="all"}</a></div>
</div>
<div class="block_content">
<div class="item">
{jrCore_list module="jrYouTube" order_by="_created desc" template="index_list_youtubes.tpl" limit="5"}
</div>
</div>
</div>
{/if}
Then, copy index_list_videos.tpl to index_list_youtubes.tpl, and edit it to -
{if isset($_items)}
{foreach from=$_items item="item"}
<div style="display:table">
<div style="display:table-cell">
<a href="{$jamroom_url}/{$item.profile_url}/{$_params.module_url}/{$item._item_id}/{$item.youtube_title_url}"><img src="{$item.youtube_artwork_url}" alt="{$item.youtube_title|jrCore_entity_string}" class="iloutline img_scale"></a>
</div>
<div class="p5" style="display:table-cell;vertical-align:middle">
<a href="{$jamroom_url}/{$item.profile_url}/{$_params.module_url}/{$item._item_id}/{$item.youtube_title_url}" class="media_title">{$item.youtube_title}</a>
</div>
</div>
{/foreach}
{/if}
hth
Pa
--
Paul Asher - JR Developer and System Import Specialist