forum.coppermine-gallery.net
Support => Older/other versions => cpg1.2 Standalone Support => Topic started 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.
-
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;'
<!-- BEGIN ipinfo -->
({HDR_IP} [{RAW_IP}])
<!-- END ipinfo -->
if not, put it back in.