This forum has moved to a new location and is in read-only mode. Please visit to access the new location.


Im trying to pull current post data for use in my component but Im running into some issues.

use RainLab\Blog\Models\Post;

public function onStart(){
$this->post = Post::where('slug', $this->param('slug'))->first();

That doesnt seem to be returning anything. Am I using it correctly?

Last updated

1-1 of 1

You cannot edit posts or make replies: the forum has moved to