Pavel Chernov Approved

Member since: 2015-12-06

Recent posts by Pavel Chernov
Post When

https://octobercms.com/forum/post/when-change-debug-to-false-backend-stops-working

Posted in Debug=>false no backend

Try set

'backendForceSecure' => false 

in config/cms.php for preventing redirect backend to https

Posted in When change debug to false backend stops working

Manually. But there is nothing complicated. If the backend is already set up, then all you need to d...

Posted in Get errors and place on input from Ajax form

What exactly is the problem? You can avoid duplication of slug by adding "unique" validation rule to...

Posted in URL Syntax, can i use one more identifier value?

The documentation has examples for this https://octobercms.com/docs/ajax/extras#usage-example

Posted in Get errors and place on input from Ajax form

Most likely an error in namespace. Try it

namespace Jonasgrunert\TestOnly;

namespace Jonasgrunert\T...

Posted in Registrating Components

In my project on the latest version of October, non superuser doesn't have a switch "Super User" wit...

Posted in Hide superusers from administrators

Try this:

use BackendAuth;
use Backend\Models\User as BackendUserModel;

...

public function boot()...

Posted in Hide superusers from administrators

From docs: https://octobercms.com/docs/backend/forms#prevent-field-submission

just add an underscor...

Posted in How to remove field from form data?

From docs: https://octobercms.com/docs/backend/forms#form-field-options

required - places a red ast...

Posted in Required fields in backend are not actually required