Add trait to existing plugin model

Hy

Need Help. I want to add “\October\Rain\Database\Traits\Multisite” trait to a plugin model, i tried multiple suggestions that i found, but no one work.

Thanks.

1 Like

I really hope OctoberCMS adds a possibility here.

Basically I tryed the same recently: Adding the Sluggable Trait to the Users Model from Rainlab Users.

Nope… no solution, sorry, daft delivered a workaround for me here.

But seeing that quite a few people need that feature and also there’re quite a few threads about this problem out in the internet… I really hope for a solution here one day :slight_smile: