News:

CPG Release 1.6.29
During HTML5 upload, keep pseudo blank code 200 messages from triggering error condition
added Russian language
correct failure to use theme menu icons in album manager
minor vulnerabilities mitigation

Main Menu

Theme Errror Meltingfilm top?

Started by asw909, March 14, 2005, 01:49:59 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

asw909

For some reason on this theme, it appears that the descriptions etc within the category display (example here) 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?

Nibbler

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.

asw909

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 :-)