Solved Need help with export template
#1
The following template will do what I want - with one exception. I would like to have a page break after every </table> (table close) . I've read that this is a CSS feature. I do have exactly 0,0% knowledge about CSS. Is there somebody who can help? Heres the HTML template I've written so far. Many thanks in advance:

Code:
<html>
<head>
<title>List</title>
</head>
<body>

${foreach movies movie}
<table border="1">

<tr>
<td align="center" colspan="2" valign="vcenter"><b>${movie.title}</b></td>
</tr>

<tr>
<td rowspan="4" valign="vcenter" width=20%"><img src="images/${movie(../nopicture.gif);copyArtwork(type=POSTER, thumb=true, width=150)}" /></td>
<td align="left" valign="top" width="80%"><b>Year: </b>${movie.year}</td>
</tr>

<tr>
<td align="left" valign="top"><b>Rating (1-10): </b>${movie.rating}</td>
</tr>

<tr>
<td align="left" valign="top"><b>Runtime (min): </b>${movie.runtime}</td>
</tr>

<tr>
<td align="left" valign="top"><b>Director: </b>${movie.director}</td>
</tr>

<tr>
<td align="left" colspan="2" valign="top"><b>Plot: </b>${movie.plot}</td>
</tr>

<tr>
<td align="left" colspan="2" valign="top"><b>Actors: </b>${foreach movie.actors actor}${actor.name}, ${end}</td>
</tr>

</table>

<!-- Page break here -->
<p style="page-break-after: always">&nbsp;</p>
${end}

</body>
</html>
#2
A <p> is just a paragraph in HTML (kinda 2 times a <br>)

Googling revealed something like this:
https://davidwalsh.name/css-page-breaks
tinyMediaManager - THE media manager of your choice :)
Wanna help translate TMM ?
Image
#3
Thanks.

Did update the template in the first post of this thread with a solution that works in Chrome for example.

The template shows one video per page with thumb, plot, year, title, actors, rating and runtime.

My problem is solved.

Logout Mark Read Team Forum Stats Members Help
Need help with export template0