Adding a second Column in charts and song pages

alt=
@luis890
11 years ago
57 posts
Is there a way to add a second column in the Charts and song pages of the Nova Skin
The charts and song pages are to wide and there is a big space between. I will prefer to narrow the tabs and add a second column. For banners and other purposes. If it is possible, which files and css should do I need to modify.
Thank You
updated by @luis890: 12/19/13 05:24:58PM
michael
@michael
11 years ago
7,717 posts
The template to edit is song_chart.tpl

yoursite.com/core/template_modify/skin=jrNova/template=song_chart.tpl

thats the link for the template editor, or you could download/upload via ftp at:
/skins/jrNova/song_chart.tpl

as for what to edit, it would take a bit of fiddling with it to get it looking right, so I don't have the exact steps.

I think the way I would do it would be to to make 2 cols, then have the second one use the existing page, +1 on the page number.

so if you have:
{jrCore_list module="jrAudio" chart_field="audio_file_stream_count" chart_days="7" tpl_dir="jrNova" template="song_chart_row.tpl" pagebreak=$_conf.jrNova_default_pagebreak page=$_post.p}

for the list of songs, then the list in the second column would be
{$second_page = $_post.p + 1}
{jrCore_list module="jrAudio" chart_field="audio_file_stream_count" chart_days="7" tpl_dir="jrNova" template="song_chart_row.tpl" pagebreak=$_conf.jrNova_default_pagebreak page=$second_page}

so you get 1~10 down the left, then 11~20 down the right.

Tags