@julian Now it is working fine
Thank you for quick response
I noticed the recent posts widget displays new threads, but not the content of the posts.
so i just ./nodebb upgrade
?
@baris I'm getting an error while upgrading
error: [upgrade] Errors were encountered while updating the NodeBB schema: Error: ERR Operation against a key holding the wrong kind of value
ahhh, don't know I went with set schemaDate 1393113600000
and it works now
@julian it's this one:
info: [2014/2/20] Activating NodeBB Essential Widgets - skipped
yes it works now! how do I "solve" this?
@julian eh I know I'm a pain in the ass, but now the thread post is not displayed. Could we have both the post text and the thread title?
@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 Hello Julian, yes I've modified the recentposts.tpl file to add the topic title in the recent posts widget
I'd like to do the same thing on the homepage, I don't know what variable to fill in
@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
@baris yesssss!