Thanks Chris. Yeah, it's probably something simple, but I'm an idiot
with php and css. I'm certain I'm overlooking something simple in the
php.

The errors look like this, but for a large number of lines:
Trying to get property of non-object in user/themes/abekat/home.php:
25

Here's my home.php:

<?php $theme->display( 'header'); ?>
<!-- home -->
        <div id="primary">
                <?php $post=reset($posts); ?>
                <!-- <div class="tags"><?php echo $post->tags_out;?></
div> -->
                <div id="primaryheadline"><a href="<?php echo $post-
>permalink; ?
>"title="<?php echo $post->title; ?>"><?php echo $post->title_out; ?></

a></div>
                <div class="meta"><?php if ( $show_author ) { ?> <?php
_e('af'); ?>
<?php echo $post->author->displayname; ?> <?php } ?></div>
                <div id="primarycontent"><?php echo $post-
>content_out; ?></div>
                <div class="meta-comments"><a href="<?php echo $post-
>permalink; ?
>#comments" title="<?php _e('Comments to this post'); ?>"><?php echo

$post->comments->approved->count; ?>
                <?php echo _n( 'kommentar', 'kommentarer', $post-
>comments->approved-
>count ); ?></a></div>

                <div style="clear:both;"></div> <!-- Cheat to get
parent div to
expand to encompass nested divs -->
        </div>
        <div id="secondary">
                <div class="secondaryleft">
                        <?php $post=next($posts); ?>
                        <!-- <div class="tags"><?php echo $post-
>tags_out;?></div> -->
                        <div class="secondaryheadline">
                                <a href="<?php echo $post->permalink; ?
>"title="<?php echo $post-
>title; ?>"><?php echo $post->title_out; ?></a>

                        </div>
                        <div class="meta"><?php if ( $show_author ) { ?
> <?php _e('af'); ?>
<?php echo $post->author->displayname; ?> <?php } ?></div>
                        <?php echo $post->content_out; ?>
                        <div class="meta-comments"><a href="<?php echo
$post->permalink; ?
>#comments" title="<?php _e('Comments to this post'); ?>"><?php echo

$post->comments->approved->count; ?>
                <?php echo _n( 'kommentar', 'kommentarer', $post-
>comments->approved-
>count ); ?></a></div>

                        <div style="clear:both;"></div> <!-- Cheat to
get parent div to
expand to encompass nested divs -->
                </div>
                <div class="secondaryright">
                        <?php $post=next($posts); ?>
                        <!-- <div class="tags"><?php echo $post-
>tags_out;?></div> -->
                        <div class="secondaryheadline">
                                <a href="<?php echo $post->permalink; ?
>"title="<?php echo $post-
>title; ?>"><?php echo $post->title_out; ?></a>

                        </div>
                        <div class="meta"><?php if ( $show_author ) { ?
> <?php _e('af'); ?>
<?php echo $post->author->displayname; ?> <?php } ?></div>
                        <?php echo $post->content_out; ?>
                        <div class="meta-comments"><a href="<?php echo
$post->permalink; ?
>#comments" title="<?php _e('Comments to this post'); ?>"><?php echo

$post->comments->approved->count; ?>
                <?php echo _n( 'kommentar', 'kommentarer', $post-
>comments->approved-
>count ); ?></a></div>

                        <div style="clear:both;"></div> <!-- Cheat to
get parent div to
expand to encompass nested divs -->
                </div>
                <div style="clear:both;"></div> <!-- Cheat to get
parent div to
expand to encompass nested divs -->
        </div>
        <div id="tertiary">
                <div class="tertiaryleft">
                        <?php $post=next($posts); ?>
                        <!-- <div class="tags"><?php echo $post-
>tags_out;?></div> -->
                        <div class="tertiaryheadline">
                                <a href="<?php echo $post->permalink; ?
>"title="<?php echo $post-
>title; ?>"><?php echo $post->title_out; ?></a>

                        </div>
                        <div class="meta"><?php if ( $show_author ) { ?
> <?php _e('af'); ?>
<?php echo $post->author->displayname; ?> <?php } ?></div>
                         <?php echo $post->content_out; ?>
                         <div class="meta-comments"><a href="<?php
echo $post->permalink; ?
>#comments" title="<?php _e('Comments to this post'); ?>"><?php echo

$post->comments->approved->count; ?>
                <?php echo _n( 'kommentar', 'kommentarer', $post-
>comments->approved-
>count ); ?></a></div>

                </div>
                 <div class="tertiarycenter">
                        <?php $post=next($posts); ?>
                        <!-- <div class="tags"><?php echo $post-
>tags_out;?></div> -->
                         <div class="tertiaryheadline">
                                <a href="<?php echo $post->permalink; ?
>"title="<?php echo $post-
>title; ?>"><?php echo $post->title_out; ?></a>

                         </div>
                         <div class="meta"><?php if ( $show_author )
{ ?> <?php _e('af'); ?
> <?php echo $post->author->displayname; ?> <?php } ?></div>

                         <?php echo $post->content_out; ?>
                         <div class="meta-comments"><a href="<?php
echo $post->permalink; ?>#comments" title="<?php _e('Comments to this
post'); ?>"><?php echo $post->comments->approved->count; ?>
                <?php echo _n( 'kommentar', 'kommentarer', $post-
>comments->approved-
>count ); ?></a></div>

                </div>
                <div class="tertiaryright">
                        <?php $post=next($posts); ?>
                        <!-- <div class="tags"><?php echo $post-
>tags_out;?></div> -->
                        <div class="tertiaryheadline">
                                <a href="<?php echo $post->permalink; ?
>"title="<?php echo $post-
>title; ?>"><?php echo $post->title_out; ?></a>

                        </div>
                        <div class="meta"><?php if ( $show_author ) { ?
> <?php _e('af'); ?>
<?php echo $post->author->displayname; ?> <?php } ?></div>
                         <?php echo $post->content_out; ?>
                         <div class="meta-comments"><a href="<?php
echo $post->permalink; ?
>#comments" title="<?php _e('Comments to this post'); ?>"><?php echo

$post->comments->approved->count; ?>
                <?php echo _n( 'kommentar', 'kommentarer', $post-
>comments->approved-
>count ); ?></a></div>

                </div>
                <div style="clear:both;"></div> <!-- Cheat to get
parent div to
expand to encompass nested divs -->
        </div>
<div id="quaternary">
                <div class="quaternaryleft">
                        <?php $post=next($posts); ?>
                        <div class="quaternaryheadline">
                                <h2>Seneste artikler</h2>
                                <a href="<?php echo $post->permalink; ?
>"title="<?php echo $post-
>title; ?>"><?php echo $post->title_out; ?></a>

                        </div>
                        <?php $post=next($posts); ?>
                        <div class="quaternaryheadline">
                                <a href="<?php echo $post->permalink; ?
>"title="<?php echo $post-
>title; ?>"><?php echo $post->title_out; ?></a>

                        </div>
                        <?php $post=next($posts); ?>
                        <div class="quaternaryheadline">
                                <a href="<?php echo $post->permalink; ?
>"title="<?php echo $post-
>title; ?>"><?php echo $post->title_out; ?></a>

                        </div>
                        <?php $post=next($posts); ?>
                        <div class="quaternaryheadline">
                                <a href="<?php echo $post->permalink; ?
>"title="<?php echo $post-
>title; ?>"><?php echo $post->title_out; ?></a>

                        </div>
                </div>
                <div class="quaternaryright">
                        <div class="recentcomments">
                        <?php $theme->show_recentcomments(); ?>
                        </div>
                </div>
                <div style="clear:both;"></div> <!-- Cheat to get
parent div to
expand to encompass nested divs -->
        </div>
<!-- /home -->
<?php $theme->display ('footer'); ?>
--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/habari-users
-~----------~----~----~----~------~----~------~--~---

Reply via email to