localhost8080
Well-known member
Hello,
I need the object of the first posting of a thread.
All I have get gone is to get the flat array but not the populated object of the first posting by using
at XenForo_ViewPublic_Thread_View
I would need the value of
as it is accessed at post template.
Someone knows about this?
Thank you.
I need the object of the first posting of a thread.
All I have get gone is to get the flat array but not the populated object of the first posting by using
Code:
$postModel = XenForo_Model::create('XenForo_Model_Post');
$post = $postModel->getPostById($this->_params['thread']['first_post_id']);
at XenForo_ViewPublic_Thread_View
I would need the value of
Code:
{$post.canLike}
as it is accessed at post template.
Someone knows about this?
Thank you.
Last edited: