coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 themes/skins/templates => Topic started by: kirky on July 30, 2006, 09:52:47 AM

Title: Template Error
Post by: kirky on July 30, 2006, 09:52:47 AM
Hi I have just installed coppermine gallery , I have edited my theme but I get this error message:

What should I do? ???


Template error
Failed to find block 'ecard_button'(#(<!-- BEGIN ecard_button -->)(.*?)(<!-- END ecard_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>



Title: Re: Template Error
Post by: Joachim Müller on July 30, 2006, 09:57:25 AM
Install or upgrade? Link?
Title: Re: Template Error
Post by: kirky on July 30, 2006, 10:07:53 AM
well I installed and then I replaced the theme from old coppermine gallery I had. Changed hosting companies after losing the databases so i did a fresh install.

Link is: http://www.kirkyskreations.com/gallery
Title: Re: Template Error
Post by: Sami on July 30, 2006, 10:41:14 AM
Then upgrade (http://coppermine-gallery.net/demo/cpg14x/docs/theme/index.html) your custom theme
Title: Re: Template Error
Post by: kirky on July 30, 2006, 10:42:50 AM
I thought I had done that a couple of months ago after I upgraded before the server crash, i didnt think it was that old. So I have to do it everytime I upgrade to a newer version? I am currently running version 1.4.2 which is what i added with fantastico through my cpanel.
Title: Re: Template Error
Post by: Nibbler on July 30, 2006, 12:21:37 PM
You only need to make that update when you move from 1.3 to 1.4 or want to use a 1.3 theme on a 1.4 gallery. It is imperative that you update to 1.4.8. Instructions are provided in the download. Don't use fantastico.
Title: Re: Template Error
Post by: kirky on July 31, 2006, 02:11:47 AM
Thanks I ended up just installing the new files and went back to changing the theme of the classic look. Was so much easier that way.