Seamless module help

johnchansa
@johnchansa
10 years ago
195 posts
I managed to create a page which lists items based on video director/producer.I borrowed the idea from the concerts location tab(Nova Skin).I'm having trouble replicating this to create a producers listing for the songs.My songs listings are seamless audio and soundcloud .How can I work this out?Any suggestions?

For youtube/video directors,this is what i have and it works:
http://zmusic.biz/you_tube/directors
{elseif isset($_post.option) && $_post.option == 'directors'}       
        {jrCore_list module="jrYouTube" order_by=$order_by group_by="youtube_directors" template="directors.tpl"  pagebreak="20" page=$_post.p}

{if isset($_items)}
    {jrCore_module_url module="jrYouTube" assign="murl"}
    <div class="container">
        <div class="row">
        {foreach from=$_items item="item"}
            <div class="col3{if $item@last} last{/if}">
                <div class="p20 center media_title">
                    <a href="{$jamroom_url}/you_tube/directors/{$item.youtube_directors}">{$item.youtube_directors}</a>
                </div>
            </div>
        {/foreach}
        </div>
    </div>
For song producers,this is what I get:
http://zmusic.biz/songs/producers
{elseif isset($_post.option) && $_post.option == 'producers'}
           {jrSeamless_list modules="jrAudio,jrSoundCloud" order_by=$order_by group_by="*_producer" template="producers.tpl"  pagebreak="20" page=$_post.p}

{if isset($_items)}
    {foreach from=$_items item="item"}
      {if $item.seamless_module_name == 'jrAudio'}
         {jrCore_module_url module="jrAudio"}
 <div class="container">
        <div class="row">
           <div class="col3{if $item@last} last{/if}">
                <div class="p20 center media_title">
                    <a href="{$jamroom_url}/songs/producers/{$item.audio_producer}">{$item.audio_producer}</a>
                </div>
            </div>
       </div>
</div>
        {elseif $item.seamless_module_name == 'jrSoundCloud'}
        {jrCore_module_url module="jrSoundCloud"}.....

updated by @johnchansa: 02/15/14 09:43:49AM
paul
@paul
10 years ago
4,326 posts
The wildcard (*_) doesn't work for 'group_by'.
The jrSeamlesss module needs 'revisiting' as there are now several features that need adding to it. Its on my todo list but it's a few weeks away yet.


--
Paul Asher - JR Developer and System Import Specialist

Tags