coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 themes/skins/templates => Topic started by: Imaginary_Dream on March 29, 2006, 11:43:17 PM

Title: Error when viewing images
Post by: Imaginary_Dream on March 29, 2006, 11:43:17 PM
My gallery:
http://jamesroot.co.uk/photo-gallery/index.php (http://jamesroot.co.uk/photo-gallery/index.php)

When clicking the thumbnails to the pictures, I get 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="images/folder.gif" width="16" height="16" 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="images/info.gif" width="16" height="16" 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="images/slideshow.gif" width="16" height="16" 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="images/ecard.gif" width="16" height="16" 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="images/prev.gif" width="16" height="16" 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="images/next.gif" width="16" height="16" border="0" align="absmiddle" alt="{NEXT_TITLE}" /></a>
                </td>
        </tr>



It's probably something very simple, but could you help me with this?
Title: Re: Error when viewing images
Post by: Nibbler on March 29, 2006, 11:52:02 PM
You need to update your 1.3 theme to 1.4 spec following the instructions provided in the docs.
Title: Re: Error when viewing images
Post by: Imaginary_Dream on March 30, 2006, 12:11:25 AM
Sorry, I'm Dutch, I'm afraid I don't understand exactly.  :-[
Title: Re: Error when viewing images
Post by: Nibbler on March 30, 2006, 12:13:52 AM
http://coppermine-gallery.net/demo/cpg14x/docs/theme/index.html
Title: Re: Error when viewing images
Post by: Imaginary_Dream on March 30, 2006, 12:16:33 AM
Thanks! Gonna try that.  :)
Title: Re: Error when viewing images
Post by: Imaginary_Dream on March 30, 2006, 12:47:49 AM
This is too fucking difficult for me  :'( I give up.
Thanks anyway
Title: Re: Error when viewing images
Post by: Joachim Müller on March 30, 2006, 06:39:36 AM
then just use one of the themes that come with coppermine temporarily. Zip your cpg1.3.x custom theme and attach it to your posting using "additional options" when composing your message.
Title: Re: Error when viewing images
Post by: Imaginary_Dream on March 30, 2006, 02:40:26 PM
Like this?
Title: Re: Error when viewing images
Post by: Joachim Müller on March 30, 2006, 11:22:07 PM
well, that's just the plain, unmodified classic theme from cpg1.3.x except for the style sheet - replace theme.php and template.html from your package with the corresponding files from the classic theme that comes with cpg1.4.x and you will be fine.