Help! Copyright above comments Help! Copyright above comments
 

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

Help! Copyright above comments

Started by celeritycat, June 19, 2008, 08:26:26 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

celeritycat

Ok so I made a new theme according to the directions and built it basically from scratch, everything works good except the footer (copyright) is displaying above my comment box.  I am using Stable 1.4.18 here is the code.

define('THEME_HAS_RATING_GRAPHICS', 1);
define('THEME_HAS_NAVBAR_GRAPHICS', 1);
define('THEME_HAS_FILM_STRIP_GRAPHIC', 1);

// HTML template for template sys_menu spacer
$template_sys_menu_spacer ='<img src="themes/TheVelvetPeacock/images/icon.gif" width="8" height="8" border="0" alt="" />';

// HTML template for thumbnails display
$template_thumbnail_view = <<<EOT

<!-- BEGIN header -->
        <tr>
<!-- END header -->
<!-- BEGIN thumb_cell -->
        <td valign="top" class="thumbnails" width ="{CELL_WIDTH}" align="center">
                <table width="100%" cellpadding="0" cellspacing="0">
                        <tr>
                                <td align="center">
                                        <div class="img-shadow"><a href="{LINK_TGT}">{THUMB}</a></div>
                                        {CAPTION}
                                        {ADMIN_MENU}
                                </td>
                        </tr>
                </table>
        </td>
<!-- END thumb_cell -->
<!-- BEGIN empty_cell -->
                <td valign="top" class="thumbnails" align="center">&nbsp;</td>
<!-- END empty_cell -->
<!-- BEGIN row_separator -->
        </tr>
        <tr>
<!-- END row_separator -->
<!-- BEGIN footer -->
        </tr>
<!-- END footer -->
<!-- BEGIN tabs -->
        <tr>
                <td colspan="{THUMB_COLS}" style="padding: 0px;">
                        <table width="100%" cellspacing="0" cellpadding="0">
                                <tr>
                                       {TABS}
                                </tr>
                        </table>
                </td>
        </tr>
<!-- END tabs -->
<!-- BEGIN spacer -->
        <img src="images/spacer.gif" width="1" height="7" border="" alt="" /><br />
<!-- END spacer -->

EOT;

// HTML template for the form to add comments
$template_add_your_comment = <<<EOT
</table>
<table align="center" width="{WIDTH}" cellspacing="1" cellpadding="0" class="maintable">
        <tr>
                <td class="tableh2_compact"><a name="respond"></a><h3><span style="float: left;">{ADD_YOUR_COMMENT}</span></h3><span style="float: right">{SUBSCRIBE}</span></td>
        </tr>
        <tr>
                <td colspan="3">
                <form method="post" name="post" action="db_input.php">
                        <table width="100%" cellpadding="0" cellspacing="0">

<!-- BEGIN user_name_input -->
                                <tr><td class="tableb_compact">
                                        {NAME}
                                </td>
                                <td class="tableb_compact">
                                        <input type="text" class="textinput" name="msg_author" size="10" maxlength="20" value="{USER_NAME}" />
                                </td></tr><tr>
<!-- END user_name_input -->
<!-- BEGIN input_box_smilies -->
                                <td class="tableb_compact"><br />
                                {COMMENT}&nbsp;&nbsp; </td>
                                <td width="100%" class="tableb_compact">
                                <textarea class="textinput" id="message" name="msg_body" onselect="storeCaret_post(this);" onclick="storeCaret_post(this);" onkeyup="storeCaret_post(this);" style="width: 95%;" rows="3" cols=""></textarea>                                       
<!-- END input_box_smilies -->
<!-- BEGIN input_box_no_smilies -->
                                <td class="tableb_compact">
                                <textarea class="textinput" id="message" name="msg_body" style="width: 95%;" rows="3" cols=""></textarea>
<!-- END input_box_no_smilies -->
                                </td>
                                <td class="tableb_compact">
                                <input type="hidden" name="event" value="comment" />
                                <input type="hidden" name="pid" value="{PIC_ID}" />
                                <input type="submit" class="comment_button" name="submit" value="{OK}" />
                                </td></tr>
                        </table>
                </form>
                </td>
        </tr>
<!-- BEGIN smilies -->
        <tr>
                <td width="100%" class="tableb_compact">
                        {SMILIES}
                </td>
        </tr>
<!-- END smilies -->

EOT;

?>


You can see it in action @ http://www.velvet-peacock.com/gallery/index.php

phill104

The footer seems to be displaying in the right place for me. Could you post a screen grab highlighting where the problem is?

Very nice theme by the way. Maybe you should submit your theme to this site for others to use.
It is a mistake to think you can solve any major problems just with potatoes.

steveeh131047

Looks OK to me in FF2 and IE7 running under WindowsXP

celeritycat

Here I am posting a shot. Looks the same in IE 7 or Firefox. Though it does not affect the overall function, it looks a little off.

And thanks for the compliment!

celeritycat

 Forgot to add that it only happens in that one theme only. Sorry I forgot to set is as default.

Nibbler

You have some nesting issues. Review the results of the validator