a2thek26 Approved

Member since: 2014-05-22

Recent posts by a2thek26
Post When

Yep, not sure how to get around that yet.

Posted in Extending model

This line if ($widget->getContext() != 'update') return; will extend the form if it isn't creating t...

Posted in Extending model

In your Subgroup Model you should have this:

public $belongsTo = [
        'group' => ['\ShahiemSeym...

Posted in Extending model

One thing to remember is that whatever you set the relationship alias to, is how you will end up ref...

Posted in Extending model

I would really just keep using the forum as an example. Specifically, the way the forum_user interac...

Posted in Extending model

Post your code. But it sounds like you made the key an actual array instead of an array-like string....

Posted in Extending model

Well I think you'll probably still need to keep that in your model. One other idea is taken from the...

Posted in Extending model

I think in your model belongsTo() need to be the fully qualified namespace of UserGroup.

So try:

p...

Posted in Extending model

Maybe post a little more code from your plugin and your model to see a little more.

Posted in Extending model

Have you tried adding the belongsTo() relationship in your model?

Posted in Extending model