coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 themes/skins/templates => Topic started by: sicily18 on February 16, 2006, 08:05:40 PM

Title: template error,
Post by: sicily18 on February 16, 2006, 08:05:40 PM
this is the third time this comes up with this sorta error, i think their is something wrong with my theme.php , is there an easy way to fix the complete theme.php, or do i need to rebuild my layout from scratch.... :-\

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

<!-- BEGIN report_file_button -->
        <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>
<!-- END report_file_button -->
Title: Re: template error,
Post by: Nibbler on February 16, 2006, 08:07:06 PM
Follow the theme update guide in the docs. Judging by that error you have not followed it correctly.
Title: Re: template error,
Post by: sicily18 on February 16, 2006, 08:08:01 PM
Quote from: Nibbler on February 16, 2006, 08:07:06 PM
Follow the theme update guide in the docs. Judging by that error you have not followed it correctly.

thnx for the quik answer, one more question, where can i find that?

thanks in advance
Title: Re: template error,
Post by: Nibbler on February 16, 2006, 08:09:17 PM
http://coppermine-gallery.net/demo/cpg14x/docs/theme/index.html
Title: Re: template error,
Post by: Joachim Müller on February 17, 2006, 07:05:49 AM
it also comes with your coppermine package, and reference to it can be found in the docs. Search (http://forum.coppermine-gallery.net/index.php?action=search)ing is an option as well.
Title: Re: template error,
Post by: sicily18 on February 17, 2006, 09:03:33 AM
Quote from: GauGau on February 17, 2006, 07:05:49 AM
it also comes with your coppermine package, and reference to it can be found in the docs. Search (http://forum.coppermine-gallery.net/index.php?action=search)ing is an option as well.

thanks nibbler and gaugau
Title: Re: template error,
Post by: furiofan on March 22, 2006, 03:55:23 PM
I'm getting the same error, out of nowhere and I haven't changed a thing. It was working for months. And this morning...
Template error
Failed to find block 'ecard_button'(#(<!-- BEGIN ecard_button -->)(.*?)(<!-- END ecard_button -->)#s) in :
<tr>
<td align="left" style="padding-top:20px;">&laquo; <a href="{PREV_TGT}" title="{PREV_TITLE}">Previous Photo</a></td>
<td align="right" style="padding-top:20px;"><a href="{NEXT_TGT}" title="{NEXT_TITLE}">Next Photo</a> &raquo;</td>
</tr>
<tr.>
<td colspan="2">
<BR>
<p class="postmetadata graybox">
<small>
You are currently viewing {PIC_POS}.  You can review additional <a href="javascript:;" onClick="blocking('picinfo','yes', 'block'); return false;" title="{PIC_INFO_TITLE}">details</a> about this photo, enjoy a <a href="{SLIDESHOW_TGT}" title="{SLIDESHOW_TITLE}">slideshow </a>of all photos in <a href="{THUMB_TGT}" title="{THUMB_TITLE}">this album</a>, send an <a href="{ECARD_TGT}" title="{ECARD_TITLE}">eCard</a> to someone based on this photo, or you can <a href="#respond">leave comments</a> about this photo.
</small>
</p>
</td>
</tr>