I'll try and explain the steps I took.
Add this to the ningja index template page.
Under
{jrCore_include template="header.tpl"}
Add
<script type="text/javascript">
$(document).ready(function(){
jrLoad('#sm',core_system_url +'/index_artists');
jrLoad('#top_artists',core_system_url +'/top_artists');
jrLoad('#top_songs',core_system_url +'/top_songs');
jrSetActive('#default');
});
</script>
Now we add the code to show the featured tabs, place it where you want it to show:
{* FEATURED TABS *}
<div class="row">
<div class="col12 last">
<div class="menu_tab">
<div id="default" class="p_choice fartist" onclick="jrLoad('#sm','{$jamroom_url}/index_artists');jrSetActive('
<div id="s_song" class="p_choice fsong" onclick="jrLoad('#sm','{$jamroom_url}/index_songs');jrSetActive('
<div id="s_video" class="p_choice fvideo" onclick="jrLoad('#sm','{$jamroom_url}/index_videos');jrSetActive('
<div class="clear"></div>
</div>
<div class="finner mb8">
<div id="sm"></div>
</div>
</div>
</div>
Copy the following template files from Nova into the Ningja skin
index_artists.tpl
index_artists_row.tpl
top_artists.tpl
top_artists_row.tpl
top_songs.tpl
top_songs_row.tpl
Copy the following css file from Nova into the Ningja ccs folder
core_tabs.css
Open up the include.php file in your ningja template folder you need to register that new css file so it is included.
Add the following under // Bring in all our CSS files
jrCore_register_module_feature('jrCore', 'css', 'indiegospel', 'core_tabs.css');
Remember to change indiegospel to the name of your skin.
Now open the Ningja config.php file and add the following.
$_tmp = array(
'name' => 'featured_artist_ids',
'type' => 'text',
'default' => '',
'validate' => 'not_empty',
'label' => 'Featured Artist ID\'s',
'help' => 'Enter the artist ID\'s you want to show in featured tab section.<br><br><span class="form_help_small">Note: Enter up to 4 ID\'s separated by a comma. ie. 1,2,3,4. If left blank the Featured Artist tab will show 4 random artists.</span>',
'section' => 'Home Page',
'order' => 64
);
jrCore_register_setting('indiegospel',$_tmp);
$_tmp = array(
'name' => 'featured_song_ids',
'type' => 'text',
'default' => '',
'validate' => 'not_empty',
'label' => 'Featured Song ID\'s',
'help' => 'Enter the song ID\'s you want to show in featured tab section.<br><br><span class="form_help_small">Note: Enter up to 4 ID\'s separated by a comma. ie. 1,2,3,4. If left blank the Featured Song tab will show 4 random songs.</span>',
'section' => 'Home Page',
'order' => 65
);
jrCore_register_setting('indiegospel',$_tmp);
$_tmp = array(
'name' => 'featured_video_ids',
'type' => 'text',
'default' => '',
'validate' => 'not_empty',
'label' => 'Featured Video ID\'s',
'help' => 'Enter the video ID\'s you want to show in featured tab section.<br><br><span class="form_help_small">Note: Enter up to 4 ID\'s separated by a comma. ie. 1,2,3,4. If left blank the Featured Video tab will show 4 random videos.</span>',
'section' => 'Home Page',
'order' => 66
);
jrCore_register_setting('indiegospel',$_tmp);
Note the order No, and adjust as needed, and again don't forget to change indiegospel to the exact name of your skin.
Add the following to Ningja's en_us lang file, at the bottom
$lang[50] = 'Featured';
$lang[51] = 'Songs';
$lang[52] = 'Artists';
Now do a skin integrity check and clear your cache.
If done correctly you should now see the tabs on your homepage.