coppermine-gallery.com/forum

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Themes/Skins/Templates => Topic started by: asw909 on March 14, 2005, 01:49:59 AM

Title: Theme Errror Meltingfilm top?
Post by: asw909 on March 14, 2005, 01:49:59 AM
For some reason on this theme, it appears that the descriptions etc within the category display (example here (http://www.amodelofcontrol.com/images/index.php?cat=2)) are doubling up.

Had a quick hunt through the coding, but I can't quite find what is wrong (only mod I have made to the coding at all was to add my logo at the top, and then the notes section at the top - and this problem existed before that)

Any ideas?
Title: Re: Theme Errror Meltingfilm top?
Post by: Nibbler on March 14, 2005, 03:02:30 PM
Seems to be an error in the theme, the problem is in theme.php, around here:

                <td width="100%" height="100%" valign="top" class="tableb_compact">
                        {ADMIN_MENU}
                        <p>{ALB_DESC}</p>
<div style="width:100%;height:150px;position:relative;overflow:auto">
                        {ADMIN_MENU}
                        <p>{ALB_DESC}</p>
                        <p class="album_stat">{ALB_INFOS}</p>
    </div>
                </td>


The placeholder tags are duplicated, so one set should removed. Not sure which ones though as I don't have the means to test currently.
Title: Re: Theme Errror Meltingfilm top?
Post by: asw909 on March 18, 2005, 07:13:44 PM
Quote from: Nibbler on March 14, 2005, 03:02:30 PM
Seems to be an error in the theme, the problem is in theme.php, around here:

<td width="100%" height="100%" valign="top" class="tableb_compact">
{ADMIN_MENU}
<p>{ALB_DESC}</p>
<div style="width:100%;height:150px;position:relative;overflow:auto">
{ADMIN_MENU}
<p>{ALB_DESC}</p>
<p class="album_stat">{ALB_INFOS}</p>
</div>
</td>


The placeholder tags are duplicated, so one set should removed. Not sure which ones though as I don't have the means to test currently.

Fantastic - that worked. It is the first instance of the placeholder tag that needs removing. Cheers :-)