Template Error: Failed to find block 'ecard_button'(#(<!-- BEGIN ecard_button -- Template Error: Failed to find block 'ecard_button'(#(<!-- BEGIN ecard_button --
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

Template Error: Failed to find block 'ecard_button'(#(<!-- BEGIN ecard_button --

Started by itisonlyatest, March 25, 2006, 04:40:09 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

itisonlyatest

After editing my template, I get this:
Template error
Failed to find block 'ecard_button'(#(<!-- BEGIN ecard_button -->)(.*?)(<!-- END ecard_button -->)#s) in :

        <tr width="100%">
                <td align="center" valign="middle" class="navmenu" style="width:48;cursor:hand" onmouseover="this.style.backgroundColor='C8C8C8';"onmouseout="this.style.backgroundColor='A6A6A6';">
                        <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='C8C8C8';"onmouseout="this.style.backgroundColor='A6A6A6';">
                        <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='C8C8C8';"onmouseout="this.style.backgroundColor='A6A6A6';">
                        <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='C8C8C8';"onmouseout="this.style.backgroundColor='A6A6A6';">
                        <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='C8C8C8';"onmouseout="this.style.backgroundColor='A6A6A6';">
                        <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='C8C8C8';"onmouseout="this.style.backgroundColor='A6A6A6';">
                        <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>


Whenever I try and view an image. The rest of the site works except that.

Can anyone please help? Thanks!

itisonlyatest

I followed the instructions from another thread, and copied my /themes/classic/theme.php file to my customized theme directory, and everything works fine, except now it just says:
{MAIN_MENU}

where the menu used to be.

The site is:
http://drake.fan-source.com/gallery/

If anyone could help it would be greatly appreciated!

itisonlyatest

Nevermind, I removed the classic theme.php file because it was deleted the custom greeting message and everything.

If anyone could take a look at my edited custom theme.php located at:
http://drake.fan-source.com/gallery/themes/sapprckt/theme.php

and tell me what my error is, I would greatly appreciate it.

Thanks so much,
Chris.



itisonlyatest

Fixed that, now I get this:
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='C8C8C8';"onmouseout="this.style.backgroundColor='A6A6A6';">
                        <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='C8C8C8';"onmouseout="this.style.backgroundColor='A6A6A6';">
                        <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='C8C8C8';"onmouseout="this.style.backgroundColor='A6A6A6';">
                        <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='C8C8C8';"onmouseout="this.style.backgroundColor='A6A6A6';">
                        <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='C8C8C8';"onmouseout="this.style.backgroundColor='A6A6A6';">
                        <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>

Joachim Müller

you've already been told what to do: search for the error message you get.