4images Forum & Community
4images Modifications / Modifikationen => Templates & Styles (Requests & Discussions) => Topic started by: IzyB on July 31, 2005, 11:30:04 PM
-
Last night I realized something different that didn't happen before. Whenever I go into a Category that has subcategories (empty or not) the Random Image appears in the category. It doesn't happen in any other Category, only those with subcats. I included a picture of what is happening. This does not happen in the 4images default template so it must be something in the FI_Apple_Blue template I am using. Can someone tell me where this may be occuring in the files and how to fix it? I am using v1.71.
Thanks!
Tina
-
again, u are refering to a template that u downloaded somewhere. please reply to the thread where u got the template from, or if the thread is gone, atleast mention that in your post.
-
Well, I finally found the offending file. It is categories.html in my template. I uploaded a "clean" version and it disappeared. Yesterday I installed the "SlideshowII" mod and a friend was helping me. This was one file that was changed. Can someone tell me what needs to be changed to get rid of the random image in here without killing my slideshow?
{header} {if user_loggedin}
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td align="left">
<b class="title">{cat_name}</b>
<br />
{cat_description} (Hits: {cat_hits})
</td>
<td align="right">{slideshow_button} {upload_button}</td>
</tr>
</table>
<br />
{if categories}
<table border="0" cellpadding="0" cellspacing="0" class="ttb">
<tr>
<td><img src="{template_url}/images/tt12_l.gif" width="10" height="12" alt="" /></td>
<td class="tt12bkg"><img src="{template_url}/images/spacer.gif" width="200" height="12" alt="" /></td>
<td><img src="{template_url}/images/tt12_r.gif" width="10" height="12" alt="" /></td>
</tr>
</table>
<table border="0" cellspacing="0" cellpadding="0"><tr><td>
{thumbnail}
</td><td valign="top" width="7" class="ds_right" ></td></tr><tr height="7"><td align="left" height="7" class="ds_bottom" ></td><td width="7" height="7" class="ds_corner"></td></tr></table>
<table width="100%" cellpadding="2" cellspacing="1" border="0" class="forumline">
<tr>
<td class="cat">{lang_categories}</td>
</tr>
<tr>
<td class="row1" width="100%">
{categories}
</td>
</tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="ttb">
<tr>
<td><img src="{template_url}/images/tb12_l.gif" width="10" height="12" alt="" /></td>
<td class="tb12bkg"><img src="{template_url}/images/spacer.gif" width="200" height="12" alt="" /></td>
<td><img src="{template_url}/images/tb12_r.gif" width="10" height="12" alt="" /></td>
</tr>
</table>
<br />
{endif categories}{paging_stats}
<br />
{if msg}<b>{msg}</b><br /><br />{endif msg}
{if thumbnails}
<table border="0" cellpadding="0" cellspacing="0" class="ttb">
<tr>
<td><img src="{template_url}/images/tt12_l.gif" width="10" height="12" alt="" /></td>
<td class="tt12bkg"><img src="{template_url}/images/spacer.gif" width="200" height="12" alt="" /></td>
<td><img src="{template_url}/images/tt12_r.gif" width="10" height="12" alt="" /></td>
</tr>
</table>
<table width="100%" cellpadding="2" cellspacing="1" border="0" class="forumline">
<tr>
<td class="cat"> </td>
</tr>
<tr>
<td class="row1" width="100%">
{thumbnails}
</td>
</tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="ttb">
<tr>
<td><img src="{template_url}/images/tb12_l.gif" width="10" height="12" alt="" /></td>
<td class="tb12bkg"><img src="{template_url}/images/spacer.gif" width="200" height="12" alt="" /></td>
<td><img src="{template_url}/images/tb12_r.gif" width="10" height="12" alt="" /></td>
</tr>
</table>
{endif thumbnails}
<br />
{paging}
<br />
<br />
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td align="left">{category_dropdown_form}</td>
<td align="right">{setperpage_dropdown_form}</td>
</tr>
</table>
{endif user_loggedin} {footer}
-
looks like {thumbnail} is not supposed to be there.
-
That fixed it V@no! Thanks! Now I have a space I need to close. I've fiddled with a few things and they didn't work. I don't want to make another mess out of things :lol: Can you tell me where in that code I need to fix to close the space? I attached a picture. I colored the space that needs to be closed red.
-
why dont u just reinstall the template and install the mod u've mention but more carefully ;)
-
Because it took me several hours because of things that went wrong. I'd rather figure it out this way.
Edit: Got it fixed:)