Hi.
I was testing myAlbum-P. I should confess that I didn't like it from a first sight, but after testing it I decided to use it over xcGal.
Now, I'm editting the templates. I wanna have viewcat.php to show the photos in 2 columns, but I don't seem to be doing it correctly.
Here's the code of viewcat_list.html I'm trying to modify:
<table width='100%' cellspacing='0' cellpadding='10' border='0'>
<tr>
<{foreach from=$photos item=photo}>
<{include file="db:myalbum_photo_in_list.html"}>
<{if $count is div by 2}>
</tr><tr>
<{/if}>
<{/foreach}>
</tr>
</table>
Instead of showing the tags inside "$count is div by 2" only in one of the photos of a column, it's displaying for every photo. I wonder if I have to touch the code too, or am I using the wrong variable?
Thanks in advance
-Yuji