Posts not showing

Topics: Themes
Feb 6, 2008 at 12:32 PM
I have a big problem.
I'm developing a new theme and the post content is not showing!! :((

Please Check this link:
http://img165.imageshack.us/img165/8997/captureae9.jpg
Feb 6, 2008 at 1:37 PM
OK I FOUND OUT WHY:
In PostView.ascx:

<%=Body %> there was a comment saying that it's depreciated


Well, it doesn't work without it!
Apr 1, 2008 at 12:11 PM
Edited Apr 2, 2008 at 11:28 AM
I'm having the same issue with a theme I am creating.
<%=Body %> works but <asp:PlaceHolder ID="BodyContent" runat="server" /> does not.

Any ideas?

EDIT: Found this post which seems to be the cause since I too use code behind files.
http://www.codeplex.com/blogengine/Thread/View.aspx?ThreadId=17038
Apr 2, 2008 at 11:56 AM
I don't know if this is correct but by changing code as follows it works.

public partial class themesTransmissionPostView : BlogEngine.Core.Web.Controls.PostViewBase
{
public void Page_Load(object sender, EventArgs e)
{

}
}

to

public partial class themesTransmissionPostView : BlogEngine.Core.Web.Controls.PostViewBase
{
public void Page_Load()
{

}
}