[buddypress-trac] [BuddyPress] #1164: Single blog post display issue in 1.1
buddypress-trac at lists.automattic.com
buddypress-trac at lists.automattic.com
Sun Oct 4 00:20:19 UTC 2009
#1164: Single blog post display issue in 1.1
------------------------------------+---------------------------------------
Reporter: oracleappscommunity | Owner:
Type: defect | Status: new
Priority: major | Milestone: 1.1.1
Keywords: blogd post display, 1.1 |
------------------------------------+---------------------------------------
Comment(by stwc):
Looking at page.php in bp-sn-parent, the loop is simply not running, or
not finding any posts.
Throwing in a piece of text before the loop, and that text appears on the
page (individual post to the admin blog), fixing the layout, although the
post content itself is not displayed.
<div class="page" id="blog-page">
<p>THIS IS SOME STATIC DEBUG TEXT</p>
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
On the other hand, throw something in after the loop begins, and it gets
swallowed like a black hole along with any post content. This
<div class="page" id="blog-page">
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<p>THIS IS SOME STATIC DEBUG TEXT</p>
displays nothing.
The really weird thing is that the main page of the blog lists the posts
just fine. It's only when looking at an individual post that it fails.
I'm really trying to be helpful with this bug reporting here: any ideas
from anyone?
Come to think of it, I'm a little confused as to why it's page.php that is
running at all in this case, but it absolutely is.
--
Ticket URL: <http://trac.buddypress.org/ticket/1164#comment:1>
BuddyPress <http://buddypress.org/>
BuddyPress
More information about the buddypress-trac
mailing list