I have slightly modified the violet template to do this. I have attached the code below, so you can have this sorting as well.
Anyone else have any good ideas for reports? Maybe I'll have more ideas and post here.
Save this as a new (html) file in C:\Program Files\Intermedia Design\Helium 2\Templates\MLW.
- Code: Select all
<title>Helium generated report</title>
<style type="text/css">
<!--
body { font-family: Verdana, Arial, serif; font-size: xx-small}
td { font-family: Verdana, Arial, serif; font-size: xx-small}
link001 { font-family: Verdana, Arial, serif; font-size: xx-small; color: #3075C0; text-decoration: none}
link001:Hover { font-family: Verdana, Arial, serif; font-size: xx-small; color: #C10005; text-decoration: underline}
.row0 {background-color: #E3E3EE}
.row1 {background-color: #D0D1E2}
.titleName {padding-left: 10px; font-family: "Trebuchet MS", arial, sans; font-size: 12pt; font-weigth: bold; color: white;}
.txt_minEx {font-family: arial, sans-serif; font-size: 9pt; font-weigth: bold; text-align: right}
.txt_minEx_r {font-family: arial, sans-serif; font-size: 9pt; font-weigth: bold; text-align: left}
.txt_min {text-align: right}
.txt_min_r {text-align: left;}
.txt_min_t {text-align: right; font-size: 9pt; color: #50528E}
.txt_min_t_r {text-align: left; font-size: 9pt; color: #50528E}
.tblStd {background-color: white}
a { text-decoration: none; color: #60639F }
a:hover { text-decoration: underline }
-->
</style>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<!-- {repeat_begin(loop1,artist)} -->
<!-- {repeat_begin(loop2, album)} -->
<table width="100%" border="0" cellpadding="0" cellspacing="0" class="tblStd">
<tr>
<td colspan="2">
<table width="100%" border="0" cellpadding="0" cellspacing="0" class="tblStd">
<tr>
<td bgcolor="#6266A0" class="titleName"><font color="#FFFFFF"> <a name="top"></a><b>{artist} - {album} ({album_total_tracks} tracks)</b> </font></td>
</tr>
</table>
</td>
</tr>
</table>
<table>
<tr>
<td bgcolor="#E3E3EE" width="100%">
<table width="100%" border="0" cellpadding="2" cellspacing="0">
<tr>
<td width="50" class="txt_min_t"><strong>Year</strong></td>
<td class="txt_min_t_r"> {year}</td>
</tr>
<tr>
<td width="50" align="right" class="txt_min_t"><strong>Genre</strong></td>
<td class="txt_min_t_r"> {genre}</td>
</tr>
</table>
</td>
<td width="68" align="right"><img src="{image_name}" alt="Image" width="64" border="0"></td>
</tr>
</table>
<table width="100%" border="0" cellpadding="2" cellspacing="0" bgcolor="#8083B2">
<tr align="center" bgcolor="#8083B2">
<td width="50" class="txt_minEx"><font color="#FFFFFF"><strong>Track</strong></font></td>
<td width="200" align="center" class="txt_minEx_r"><font color="#FFFFFF"><strong>Artist</strong></font></td>
<td class="txt_minEx_r"><font color="#FFFFFF"><strong>Title</strong></font></td>
<td width="68" align="right" class="txt_minEx"><font color="#FFFFFF"><strong>Time</strong></font></td>
</tr>
<!-- {repeat_begin(loop3,track)} -->
<tr class="row{odd(loop3)}">
<td width="50" align="right" class="txt_min" style="color: #50528E">{current_track}</td>
<td ><a href="file://{path}\{file_name}" class="link001"><strong>{artist}</strong></a></td>
<td ><a href="file://{path}\{file_name}" class="link001"><strong>{title}</strong></a></td>
<td width="68" align="center" class="txt_min" style="color: #50528E">{time}</td>
</tr>
<!-- {repeat_end} -->
<tr>
<td colspan="4" bgcolor="#6266A0" class="txt_min_t"><font color="white">{album_time}</font></td>
</tr>
</table>
<br><br>
<!-- {repeat_end} -->
<!-- {repeat_end} -->
</body>
</html>



