Login






Installation - ProJam2


Please make sure you have installed the template in Jamroom in this tutorial (Step #1) before performing below updates.

    ProJam2 Skin (from www.oinkba.com)

    Settings

    • Login as Administrator > Jamroom Config > Jamroom Modules, then enable "AddToStation".
    • Click "Settings" and follow below:
    module-settings

    Skin Header

    edit /skins/ProJam2/index_header.tpl

    BEFORE:
    </head>
    ADD:
    {* nasAddToStation Initialization (requred) *}
    {nasAddToStation_init}

    Add buttons in song listing page

    install-music

    edit /skins/Projam2/music_list.tpl

    AFTER:
    <!-- Song Cart -->
    {include file="`$JAMROOM_DIR`/skins/ProJam2/music_cart.tpl"}
    </td>
    ADD:
    <td width="01%" align="center">
    {nasAddToStation_button css_class="" type="img" type_file="add1.png" template_dir="default" song_id=$SONG_ID label="Add to Station"}
    </td>

    Add buttons in Charts page

    install-chart

    1) edit /skins/Projam2/chart_row.tpl

    AFTER:
    <!-- XSPF Song Player -->
    {include file="`$JAMROOM_DIR`/skins/ProJam2/XSPF_player_button.tpl"}
    </td>
    ADD:
    <td width="01%" align="center">
    {nasAddToStation_button css_class="" type="img" type_file="add1.png" template_dir="default" song_id=$SONG_ID label="Add to Station"}
    </td>

    2) edit /skin/Projam2/chart_header.tpl

    AFTER:
    <td width="01%" class="table-title" align="center">PLAY</td>
    ADD:
    <td width="01%" class="table-title" align="center">STAT.</td>

    Add buttons in DJs / Producers listing page

    install-dj

    For DJs: edit /skins/Projam2/djs_song_row.tpl
    For Producers: edit /skins/Projam2/producers_song_row.tpl

    AFTER:
    <td width="01%" class="body-4" style="font-size:10px; padding:2px;">Play</td>
    ADD:
    <td width="01%" class="body-4" style="font-size:10px; padding:2px;">Add</td>


    AFTER:

    <!-- XSPF Song Player -->
    {include file="`$JAMROOM_DIR`/skins/ProJam2/XSPF_player_button.tpl"}
    </td>
    ADD:
    <td align="center" class="table-row" style="padding:2px; padding-top:4px;">
    {nasAddToStation_button css_class="" type="img" type_file="add1.png" template_dir="default" song_id=$SONG_ID label="Add to Station"}
    </td>

    Add buttons in MP3 Store PlayList

    install-mp3-store

    1) edit /skins/Projam2/shop_songs_header.tpl

    AFTER:
    <td width="01%" style="font-size: 10px; padding: 5px;" align="center">Play</td>
    ADD:
    <td width="01%" style="font-size: 10px; padding: 5px;" align="center">Add</td>

    2) edit /skins/Projam2/shop_songs_row.tpl

    AFTER:
    <!-- Song Player -->
    {if $MODE == favorite}
    {jr_ranking mode="song" song_id=$SONG_ID row_template="XSPF_shop_player_button.tpl"}
    {else}
    {include file="`$JAMROOM_DIR`/skins/ProJam2/XSPF_shop_player_button.tpl"}
    {/if}   
    </td>
    ADD:
    <td width="01%" align="center">
    {nasAddToStation_button css_class="" type="img" type_file="add1.png" template_dir="default" song_id=$SONG_ID label="Add to Station"}
    </td>

    Theme (Artist Profile) song listing

    install-theme

    1) edit /themes/ProJam2/index_theme_header.tpl

    BEFORE:
    </head>
    ADD:
    {* nasAddToStation Initialization (requred) *}
    {nasAddToStation_init}

    2) edit /themes/ProJam2/song_album_list.tpl

    AFTER:
    <!-- XSPF Song Player -->
    <td class="table-row" align="center">
    {include file="`$JAMROOM_DIR`/themes/ProJam2/XSPF_player_button.tpl"}
    </td>
    ADD:
    <td class="table-row" align="center">
    {nasAddToStation_button css_class="" type="img" type_file="add1.png" template_dir="default" song_id=$SONG_ID label="Add to Station"}
    </td>

    3) edit /themes/ProJam2/song_albums+.tpl

    AFTER:
    <td class="table-title" width="01%" align="center">{jr_lang id="451" default="Play"}</td>
    ADD:
    <td class="table-title" width="01%" align="center">STAT.</td>