coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 upgrading => Topic started by: sicily18 on February 14, 2006, 07:03:43 AM

Title: Template error, Failed to find block 'report_file_button'
Post by: sicily18 on February 14, 2006, 07:03:43 AM
hiya, my gallery works fine, until i click on a picture, then it shows this error:

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

        <tr>
                <td align="center" valign="middle" class="navmenu" width="48">
                        <a href="{THUMB_TGT}" class="navmenu_pic" title="{THUMB_TITLE}"><img src="themes/boyz/images/back.gif" width="21" height="15" align="absmiddle" border="0" alt="{THUMB_TITLE}" /></a>
                </td>
                <td align="center" valign="middle" class="navmenu" width="48">
                        <a href="javascript:;" onClick="blocking('picinfo','yes', 'block'); return false;" title="{PIC_INFO_TITLE}"><img src="themes/boyz/images/info.gif" width="18" height="15" border="0" align="absmiddle" alt="{PIC_INFO_TITLE}" /></a>
                </td>
                <td align="center" valign="middle" class="navmenu" width="48">
                        <a href="{SLIDESHOW_TGT}" title="{SLIDESHOW_TITLE}"><img src="themes/boyz/images/slideshow.gif" width="21" height="15" border="0" align="absmiddle" alt="{SLIDESHOW_TITLE}" /></a>
                </td>
                <td align="center" valign="middle" class="navmenu" witdh="100%">
                        {PIC_POS}
                </td>
                <td align="center" valign="middle" class="navmenu" width="48">
                        <a href="{ECARD_TGT}" title="{ECARD_TITLE}"><img src="themes/boyz/images/ecard.gif" width="21" height="15" border="0" align="absmiddle" alt="{ECARD_TITLE}"></a>
                </td>
                <td align="center" valign="middle" class="navmenu" width="48">
                        <a href="{PREV_TGT}" class="navmenu_pic" title="{PREV_TITLE}"><img src="themes/boyz/images/previmg.gif" width="18" height="15" border="0" align="absmiddle" alt="{PREV_TITLE}" /></a>
                </td>
                <td align="center" valign="middle" class="navmenu" width="48">
                        <a href="{NEXT_TGT}" class="navmenu_pic" title="{NEXT_TITLE}"><img src="themes/boyz/images/nextimg.gif" width="18" height="15" border="0" align="absmiddle" alt="{NEXT_TITLE}" /></a>
                </td>
        </tr>




what do i need to do to fix this?? thanks in advance
Title: Re: Template error, Failed to find block 'report_file_button'
Post by: Joachim Müller on February 14, 2006, 08:05:17 AM
http://coppermine-gallery.net/demo/cpg14x/docs/index.htm#creating
Title: Re: Template error, Failed to find block 'report_file_button'
Post by: sicily18 on February 14, 2006, 08:25:40 AM
thnx for the answer, i replaced the code how it should be, but now it keeps on coming up with more, so i tried to replace the theme.php, doesnt work..panic! just worked all night on a layout  :-\
Title: Re: Template error, Failed to find block 'report_file_button'
Post by: Joachim Müller on February 16, 2006, 09:07:58 AM
Is this suppossed to be a question or just a panic report :D?
Zip up your custom theme and attach it to your posting using "additional options" when composing your reply.
Title: Re: Template error, Failed to find block 'report_file_button'
Post by: Joachim Müller on May 25, 2007, 08:25:33 AM
Split reply by "mad-wolfie (http://forum.coppermine-gallery.net/index.php?action=profile;u=45078)" into a separate thread "Custom theme "power_green01" - template error after upgrade (http://forum.coppermine-gallery.net/index.php?topic=44032.msg209256#msg209256)". Locking this one.