I really do appreciate the amount of work put in here.
I started to code mtes and my own html page two weeks ago. I started with no knowledge about mte or html and have come a long way since. ;-)
But now I'm stuck.
I would like to generate a html via a mte so that all the album covers are shown in a table, which is 5 columns wide. Therefore I put a counter ("zaehler") into the script, to break the table line (</tr>) as soon as it reaches 5 [line A]. That is working so far. But after that, the counter should be set to 0 [line B], so it can start counting again beginning in the next loop. But as soon as i include line B into the code, the counter ("zaehler") never advances above 1. It just stays there.
Could anybody give me some advice, please?
QUOTE
...
$loop(%_folderpath%)
<td>
...(html code)
$puts(zaehler,$add($get(zaehler),1))
$if($eql($get(zaehler),5),</tr>,) [line A)]
$if($eql($get(zaehler),5),$puts(zaehler,0),) [line B]
$loop(%_filename_ext%)$loopend()$loopend()
...
$loop(%_folderpath%)
<td>
...(html code)
$puts(zaehler,$add($get(zaehler),1))
$if($eql($get(zaehler),5),</tr>,) [line A)]
$if($eql($get(zaehler),5),$puts(zaehler,0),) [line B]
$loop(%_filename_ext%)$loopend()$loopend()
...
