1 mikeyboy Nov 26, 2005 17:50
3 mikeyboy Nov 26, 2005 18:28
LIKE MAGIC!!!
THANK YOU SO MUCH!!!
mikeyboy
4 mikeyboy Nov 26, 2005 18:40
Thanks, ¥åßßå, your code fixed the problem I raised...but...
It messed up the display of the Options:
Options:
Auto-BR
(Line breaks become <br />)
Remember me
(Set cookies for name, email & url)
But you know, I'd rather just delete that whole Options section from the form. Can you tell me how to do that? I thought I just did...by deleting what seemed to be the correct part of comment_post...but the Options are still displaying.
Thanks again.
mikeyboy
5 yabba Nov 26, 2005 18:53
ok, this is taken from the cvs version so the code may differ slightly.
in skins/custom/_feedback.php find something that looks like this :-
<fieldset>
<div class="label"><?php echo T_('Options') ?>:
<?php if( (substr($comments_use_autobr,0,4) == 'opt-') && (! is_logged_in()) )
{ // Ladies and gentlemen, check out the biggest piece of anti IE-layout-bugs
// crap you've ever seen:
echo '<br /> '; // make the float a little higher
} ?>
</div>
<div class="input">
<?php if( substr($comments_use_autobr,0,4) == 'opt-') { ?>
<input type="checkbox" class="checkbox" name="comment_autobr" value="1" <?php if($comments_use_autobr == 'opt-out') echo ' checked="checked"' ?> tabindex="6" id="comment_autobr" /> <label for="comment_autobr"><?php echo T_('Auto-BR') ?></label> <span class="notes">(<?php echo T_('Line breaks become <br />') ?>)</span><br />
<?php }
if( ! is_logged_in() )
{ // User is not logged in:
?>
<input type="checkbox" class="checkbox" name="comment_cookies" value="1" checked="checked" tabindex="7" id="comment_cookies" /> <label for="comment_cookies"><?php echo T_('Remember me') ?></label> <span class="notes"><?php echo T_('(Set cookies for name, email & url)') ?></span>
<?php
} ?>
</div>
</fieldset>
and replace it with :-
<input type="hidden" name="comment_autobr" value="1" />
<input type="hidden" name="comment_cookies" value="1" />
¥
6 mikeyboy Nov 26, 2005 23:33
Hi ¥åßßå,
OK, something of a crisis now!
I tried following your advice and lost my whole sidebar! And stupidly I never backup these php files when I modify them. So I replaced _feedback.php with another version, and now my comments form is totally different, and I can't figure out what style tags are controlling it!
Can you tell me what's going on? Actually the new layout is better, but I need to understand how to apply my css to it.
Thanks.
mikeyboy
¥