[Solved] recent posts displays *threads*, not posts
-
I noticed the recent posts widget displays new threads, but not the content of the posts.
-
BUMP @julian @baris @psychobunny
-
so i just
./nodebb upgrade
? -
ahhh, don't know I went with
set schemaDate 1393113600000
and it works now -
yes it works now! how do I "solve" this?
-
@julian Ok I edited line 12 in recentposts.tpl and replaced it with
<a href="{relative_path}/topic/{posts.topic.slug}#{posts.pid}">[[category:posted]] in {posts.topic.title}</a>
I'd also like to do it on the homepage, but
{categories.topic_title}
doesn't work -
@julian No wait now I'm confused.
I wanted to show the post content in the "recent posts" widget, and now it is possible with the latest update.
I have lost the ability to read also the topic title, which I fixed by manually adding{posts.topic.title}
in the tpl file.
What I'd like to add now is the same functionality{posts.topic.title}
in the home page, but I tried adding it and it doesn't work. -
Try
<!-- BEGIN posts --> <div class="category-box"> <div class="post-preview"> {categories.posts.topic.title} <img src="{categories.posts.picture}" class="pull-left" /> <p class=""><strong>{categories.posts.username}</strong>: {categories.posts.content}</p> </div> </div> <!-- END posts -->
in home.tpl