sayaamiruladli51935 Approved

Member since: 2019-11-22

Recent posts by sayaamiruladli51935
Post When

Briddle said:

In your controller you use: job-my-jobs but in your yaml you use: jop-my-jobs. No mat...

Posted in Backend menu not highlight (setContext not working)

// in my controller
BackendMenu::setContext('Acme.Job', 'job-my-jobs');

// plugin.yaml
    jop-my-j...

Posted in Backend menu not highlight (setContext not working)

Flynsarmy said:

Try using the filterFields method:

https://octobercms.com/docs/backend/forms#filter...

Posted in how to solve this?

marc.jauvin24240 said:

You can specify the context in your field definition:

is_social@update: ...f...

Posted in how to solve this?

i have weird client request where...

context: when update only (not create)

tabs:
    fields:
      ...

Posted in how to solve this?

Here is the snippet to move your media tab nav to settings:

    public function boot()
    {
       ...

Posted in How to move media tab to somewhere else

Flynsarmy said:

If you want to remove it this is how I do it. Add this to your plugin registration ...

Posted in How to move media tab to somewhere else

How to properly do this?

Posted in How to move media tab to somewhere else

middleware => ['mymiddleware'] instead of middleware => 'mymiddleware'

Posted in Routes Auth Middleware & Components