coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 upgrading => Topic started by: mchoney on January 16, 2006, 06:43:31 AM

Title: Template error when i click on picture, please help
Post by: mchoney on January 16, 2006, 06:43:31 AM
this is the message that i get when i click on a picture for my gallery http://mchoney.com/gallery

Template error
Failed to find block 'report_file_button'(#(<!-- BEGIN report_file_button -->)(.*?)(<!-- END report_file_button -->)#s) in :

        <tr width="100%">
                <td align="center" valign="middle" class="navmenu" style="width:48;cursor:hand" onmouseover="this.style.backgroundColor='F6E2EA';"onmouseout="this.style.backgroundColor='FAD6E4';">
                        <a href="{THUMB_TGT}" class="navmenu_pic" title="{THUMB_TITLE}"><img src="images/folder.gif" width="16" height="16" align="absmiddle" border="0" alt="{THUMB_TITLE}" /></a>
                </td>
                <td align="center" valign="middle" class="navmenu" style="width:48;cursor:hand" onmouseover="this.style.backgroundColor='F6E2EA';"onmouseout="this.style.backgroundColor='FAD6E4';">
                        <a href="javascript:;" onClick="blocking('picinfo','yes', 'block'); return false;" title="{PIC_INFO_TITLE}"><img src="images/info.gif" width="16" height="16" border="0" align="absmiddle" alt="{PIC_INFO_TITLE}" /></a>
                </td>
                <td align="center" valign="middle" class="navmenu" style="width:48;cursor:hand" onmouseover="this.style.backgroundColor='F6E2EA';"onmouseout="this.style.backgroundColor='FAD6E4';">
                        <a href="{SLIDESHOW_TGT}" title="{SLIDESHOW_TITLE}"><img src="images/slideshow.gif" width="16" height="16" border="0" align="absmiddle" alt="{SLIDESHOW_TITLE}" /></a>
                </td>
                <td align="center" valign="middle" class="navmenu">
                        {PIC_POS}
                </td>
                <td align="center" valign="middle" class="navmenu" style="width:48;cursor:hand" onmouseover="this.style.backgroundColor='F6E2EA';"onmouseout="this.style.backgroundColor='FAD6E4';">
                        <a href="{ECARD_TGT}" title="{ECARD_TITLE}"><img src="images/ecard.gif" width="16" height="16" border="0" align="absmiddle" alt="{ECARD_TITLE}"></a>
                </td>
                <td align="center" valign="middle" class="navmenu" style="width:48;cursor:hand" onmouseover="this.style.backgroundColor='F6E2EA';"onmouseout="this.style.backgroundColor='FAD6E4';">
                        <a href="{PREV_TGT}" class="navmenu_pic" title="{PREV_TITLE}"><img src="images/prev.gif" width="16" height="16" border="0" align="absmiddle" alt="{PREV_TITLE}" /></a>
                </td>
                <td align="center" valign="middle" class="navmenu" style="width:48;cursor:hand" onmouseover="this.style.backgroundColor='F6E2EA';"onmouseout="this.style.backgroundColor='FAD6E4';">
                        <a href="{NEXT_TGT}" class="navmenu_pic" title="{NEXT_TITLE}"><img src="images/next.gif" width="16" height="16" border="0" align="absmiddle" alt="{NEXT_TITLE}" /></a>
                </td>
        </tr>



i really need this layout to work if anyone knows how im supposed to code the template please let me know, thank you very much
Title: Re: Template error when i click on picture, please help
Post by: Joachim Müller on January 16, 2006, 07:43:52 AM
has been asked a thousand times. When upgrading, you need to update your custom theme as suggested in the theme upgrade guide (http://coppermine-gallery.net/demo/cpg14x/docs/theme/).