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

gergo85
gergo85

I have some questions:

  1. How to get administrator's id in models files (for extance in afterSave function)? The $this->user->id code is not working.
  2. How to get CMS contents list? Like this: Page::getNameList()
gergo85
gergo85

Get administrator's id: BackendAuth::getUser()->id

Last updated

1-2 of 2

You cannot edit posts or make replies: the forum has moved to talk.octobercms.com.