forum.coppermine-gallery.net

Support => Older/other versions => cpg1.2 Standalone Support => Topic started by: atomicsky on February 16, 2004, 11:29:32 pm

Title: can't view full sized image in album
Post by: atomicsky on February 16, 2004, 11:29:32 pm
i edited the hardwired theme, and everything seems to work fine except when i click on a thumbnail in on of the albums.  i keep getting this message:

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

        <tr>
                <td>
                        <table width="100%" cellpadding="0" cellspacing="0">
                                <td class="tableh2_compact" nowrap>
                                        <b>{MSG_AUTHOR}</b>
                                </td>
                                <td class="tableh2_compact" align="right" width="100%">
{BUTTONS}
                                </td>
                                <td class="tableh2_compact" align="right" nowrap>
                                        <span class="comment_date">[{MSG_DATE}]</span>
                                </td>
                        </table>
                </td>
        </tr>
        <tr>
                <td class="tableb_compact">
                        <div id="cbody{MSG_ID}" style="display:block">
                                {MSG_BODY}
                        </div>
                        <div id="cedit{MSG_ID}" style="display:none">
{EDIT}

                        </div>
                </td>
        </tr>

how do i go about fixing this?  everything else seems to work fine and all other themes do as well.
Title: can't view full sized image in album
Post by: Casper on February 16, 2004, 11:40:19 pm
You seem to have over modified your theme.php file.

Check to see if this code is there, in the '// HTML template for the display of comments;'
Code: [Select]
<!-- BEGIN ipinfo -->
                                                                                 ({HDR_IP} [{RAW_IP}])
<!-- END ipinfo -->


if not, put it back in.