3
Hi Mamba, I corrected an alignment of categoras of the first page MyAlbum. I do not know if it is correct, but it's a little advice for you.
To leave the subcategories, the briefcase, one under the other.
Should be changed in the module MyAlbum file: /templates/myalbum_categories.html
Add a '<br />' (without quotation mark) at the end of lines 20, 22 and 25 in the early (At the end of line jumps category).
Here for me was perfect, well as on the website MyAlbum 2.85:
http://www.ambojes.org.br/modules/myalbum/
<table width="100%" border='0' cellspacing='5' cellpadding='0' align="center">
<tr>
<{foreach from=$subcategories item=cat key=count}>
<td valign="top" align="right">
<{if $cat.imgurl != ""}>
<a href="<{$mod_url}>/viewcat.php?cid=<{$cat.cid}>">
<img src="<{$cat.imgurl}>" width="120" border="0" alt="" />
</a>
<{else}>
<a href="<{$mod_url}>/viewcat.php?cid=<{$cat.cid}>">
<img src="<{$mod_url}>/images/folder32.gif" width="32" height="32" border="0" alt="" />
</a>
<{/if}>
</td>
<td valign="top" align="left" width="33%">
<a href="<{$mod_url}>/viewcat.php?cid=<{$cat.cid}>"><span style="font:bold 150%;"><{$cat.title}></span></a> <{$lang_total}><{$cat.photo_total_sum}> (<{$cat.photo_small_sum}>)
<br />
<{foreach from=$cat.subcategories item=subcat}>
<{if $subcat.number_of_subcat}>
<a href="<{$mod_url}>/viewcat.php?cid=<{$subcat.cid}>"><img src="<{$mod_url}>/images/folder16.gif" width="16" height="16" alt="" /><{$subcat.title}><img src='<{$mod_url}>/images/subcat.gif' width='15' height='15' /></a> <br />
<{else}>
<a href="<{$mod_url}>/viewcat.php?cid=<{$subcat.cid}>"><img src="<{$mod_url}>/images/folder16.gif" width="16" height="16" alt="" /><{$subcat.title}></a> (<{$subcat.photo_small_sum}>) <br />
<{/if}>
<{/foreach}>
<br /></td>
<{if ($count+1) is div by 3}>
</tr><tr>
<{/if}>
<{/foreach}>
</tr>
</table>