Morgen allerseits...
und wieder ein Prob in meinem Blog welches mich zur Verzweiflung bringt...
Das ganze ist mir vorhin erst aufgefallen, da es nur bei kurzen Einträgen auftritt. Dann wird das Kommentareingabefeld immer unter den letzten Punkt des Archivs auf der rechten Seite gestellt...bei langen Einträgen fällt das ja nicht so auf...aber ich finde es schon störend...aber was kann ich da machen? Habe es schon mit clearing an allen stellen versucht...nichts...nur weiß ich nicht wo ich in den ganzen Dateien etwas setzen muss...
Habe auch mal die originale Sidebar eingesetzt, aber da tritt das Problem auch auf...kann da mal jemand drüberschauen? Ich poste mal hier die beiden Dateien wo ich meine dass es daran liegen müsste...
sidebar.php
<!--[if lte IE 7]>
<link href="style_ie7.css" rel="stylesheet" type="text/css" />
<![endif]-->
<?php
/*
Template Name: Sidebar
*/
?>
<div id="side">
<div class="smallside1">
<?php if ( function_exists('dynamic_sidebar') && dynamic_sidebar(1) ) : else : ?>
<h2><a href="http://wp1070331.wp093.webpack.hosteurope.de/mein-gefaengnis/index.php">Home</a></h2>
<h2 class="h2-ie6"><?php wp_list_pages('title_li=&depth=1&include=16'); ?></h2>
<h2>Meine Geschichte</h2>
<ul>
<li>
<?php wp_list_pages('title_li=&depth=1&exclude=16, 17'); ?>
</li>
</ul>
<h2>Gedichte</h2>
<h2>RSS</h2>
<div id="rss_logo">
<ul>
<li>
<a href="http://wp1070331.wp093.webpack.hosteurope.de/mein-gefaengnis/tagebuch/feed/">
<img src="http://wp1070331.wp093.webpack.hosteurope.de/mein-gefaengnis/wp-content/themes/island-after-sunset/images/rss.jpg" width="32" height="32" alt="Mein Gefängnis - RSS"
title="Mein Gefängnis - RSS" /></a>
</li>
</ul>
</div>
<h2>Tagebuch-Archiv</h2>
<ul>
<li>
<?php wp_get_archives('type=monthly'); ?>
</li>
</ul>
<?php endif; ?>
</div> <!-- end div.smallside1 -->
<div class="clear"></div>
</div> <!-- end div#side -->
<div class="clear"></div>
Alles anzeigen
comments.php
<?php // Do not delete these lines
if ('comments.php' == basename($_SERVER['SCRIPT_FILENAME']))
die ('Bitte lade diese Seite nicht direkt. Danke!!!!');
if (!empty($post->post_password)) { // if there's a password
if ($_COOKIE['wp-postpass_' . COOKIEHASH] != $post->post_password) { // and it doesn't match the cookie
?>
<p class="nocomments">This post is password protected. Enter the password to view comments.</p>
<?php
return;
}
}
/* This variable is for alternating comment background */
$oddcomment = 'class="alt" ';
?>
<!-- You can start editing here. -->
<div id="response">
<?php if ( !empty($post->post_password) && $_COOKIE['wp-postpass_' . COOKIEHASH] != $post->post_password) : ?>
<p><?php _e('Bitte gebe Dein Passwort ein um die Kommentare zu lesen.'); ?></p>
<?php return; endif; ?>
<?php if ( comments_open() ) : ?>
<?php if (( $comments ) and ( comments_open() )): ?>
<h2 align="center" id="comments">
<br /><br />
<?php comments_number(__('Keine Kommentare'), __('1 Kommentar'), __('% Kommentare')); ?> für '<?php the_title(); ?>'
<!-- <a href="#postcomment" title="<?php _e("Einen Kommentar schreiben"); ?>">»</a>-->
</h2>
<?php endif; ?>
<?php endif; ?>
<?php if ( $comments ) : ?>
<ol id="commentlist">
<?php foreach ($comments as $comment) : ?>
<li id="comment-<?php comment_ID() ?>">
<div class="commentname">
<span class="commentauthor">
<?php comment_author_link() ?>
</span>
</div>
<div class="commentinfo">
<span class="commentdate">
<?php comment_date() ?> |
<a href="#comment-<?php comment_ID() ?>" title="comment link url">
<?php comment_time() ?>
</a>
<?php edit_comment_link(__("Bearbeiten"), ' |'); ?>
</span>
</div>
<div class="clearer"> </div>
<div class="commenttext">
<?php comment_text() ?>
</div>
</li>
<?php endforeach; ?>
</ol>
<?php elseif ( comments_open() ) : // If there are no comments yet ?>
<div id="nocomment">
<p>
<?php _e('Es wurden bisher noch keine Kommentare geschrieben.'); ?>
</p>
</div>
<?php endif; ?>
<?php if ( comments_open() ) : ?>
<h2 id="postcomment">
<?php _e('Einen Kommentar schreiben'); ?>
</h2>
<form action="<?php echo get_settings('siteurl'); ?>/wp-comments-post.php" method="post" id="commentform">
<script type="text/javascript">
function ShowInfo() {
document.getElementById("authorinfo").style.display = "";
document.getElementById("showinfo").style.display = "none";
document.getElementById("hideinfo").style.display = "";
}
function HideInfo() {
document.getElementById("authorinfo").style.display = "none";
document.getElementById("showinfo").style.display = "";
document.getElementById("hideinfo").style.display = "none";
}
</script>
<?php if ($comment_author != "") { ?>
<p>Welcome back <strong><?php echo $comment_author; ?></strong>
<span id="showinfo">(<a href="javascript: ShowInfo();">Change</a>)</span>
<span id="hideinfo" style="display:none;">(<a href="javascript: HideInfo();">Close</a>)</span>
</p>
<div id="authorinfo" style="display: none;">
<?php } else { ?>
<div id="inputboxhide">
<?php } ?>
<div id="commentboxes">
<p>
<label for="author"><?php _e('Name'); ?></label>
<?php if ($req) _e('(required)'); ?> <br />
<input type="text" name="author" id="author" class="textarea" value="<?php echo $comment_author; ?>" size="28" tabindex="1" />
<input type="hidden" name="comment_post_ID" value="<?php echo $post->ID; ?>" />
<input type="hidden" name="redirect_to" value="<?php echo htmlspecialchars($_SERVER['REQUEST_URI']); ?>" />
</p>
<p>
<label for="email"><?php _e('E-mail'); ?></label>
<?php if ($req) _e('(required)'); ?> <br />
<input type="text" name="email" id="email" value="<?php echo $comment_author_email; ?>" size="28" tabindex="2" />
</p>
<p>
<label for="url"><?php _e('<acronym title="Uniform Resource Identifier">Website URL (optional)</acronym>'); ?></label><br />
<input type="text" name="url" id="url" value="<?php echo $comment_author_url; ?>" size="28" tabindex="3" />
</p>
</div>
<p class="instructions"><?php _e("<b>Benutzerinformation:</b><br />Absätze und Zeilenumbrüche werden automatisch eingefügt. Deine Email-Adresse wird <b>niemals</b> angezeigt.
Bitte achte darauf was Du veröffentlichst.<br /><br />
Benutze die unten stehenden Buttons um Deinen Beitrag zu bearbeiten.
<!--<acronym title=\"Hypertext Markup Language\">HTML</acronym> allowed:"); ?>
<code><?php echo allowed_tags(); ?></code>-->
</p>
</div> <!-- Closes the remember author function -->
<div id="inputbox">
<p class="inputbox">
<label for="comment"><?php _e('Bitte gebe Deinen Kommentar hier ein'); ?></label>
<br />
<script type="text/javascript">edToolbar();</script>
<textarea name="comment" id="comment" cols="80" rows="14" tabindex="4"></textarea>
<script type="text/javascript">var edCanvas = document.getElementById('comment');</script>
</p>
</div>
<div id="button">
<input name="submit" type="submit" tabindex="5" value="<?php _e('Hinzufügen'); ?>" />
</div>
<p class="feeds"><?php comments_rss_link(__('<abbr title="Really Simple Syndication">RSS</abbr>-Feed für Kommentare in diesem Beitrag')); ?> |
<?php if ( pings_open() ) : ?>
<a href="<?php trackback_url() ?>" rel="trackback">
<?php _e('TrackBack <abbr title="Uniform Resource Identifier">URL</abbr>'); ?>
</a>
<?php endif; ?>
</p>
</form>
<div id="commentsbottom"> </div>
<?php else : // Comments are closed ?>
<div id="commentsclosed">
<p>
<?php _e('Das Kommentar-Formular ist leider zur Zeit geschlossen'); ?>
</p>
</div>
<?php endif; ?>
</div> <!-- closes the response div -->
<br /><br /><br /><br />
Alles anzeigen
und hier noch der Link zum block selber
lieben dank
Ragna