timmyomahony / craft-matrix-field-preview

Configure a screenshot preview for all your matrix field blocks, giving your clients a better publishing experience.
https://plugins.craftcms.com/matrix-field-preview
Other
16 stars 4 forks source link

As of 3.0.0 the Settings-Page cannot be accessed independently anymore. #75

Closed DTesch-Reem closed 2 years ago

DTesch-Reem commented 2 years ago

As of 3.0.0 the Settings-Page cannot be accessed independently anymore. Configuring while admin is off on production/staging sites is not ideal, please consider adding a menu button.

Originally posted by @DTesch-Reem in https://github.com/weareferal/craft-matrix-field-preview/issues/18#issuecomment-1150870886

timmyomahony commented 2 years ago

Do you mean accessing it directly from a URL? Is the use case here accessing it on production, when the settings are hidden and allowAdminChanges is false?

DTesch-Reem commented 2 years ago

Do you mean accessing it directly from a URL? Is the use case here accessing it on production, when the settings are hidden and allowAdminChanges is false?

Yes i am trying to access the plugin settings on a production environment, but it is not possible, because of this error message: "Unauthorized Administrative changes are disallowed in this environment."

timmyomahony commented 2 years ago

I've just pushed a change to version 3.0.1 that should ease the permissions so that you can access directly via /admin/matrix-field-preview/ in the control panel.

DTesch-Reem commented 2 years ago

I've just pushed a change to version 3.0.1 that should ease the permissions so that you can access directly via /admin/matrix-field-preview/ in the control panel.

Wow you are fast! Thanks this work :) In a future Update, will it be possible to access the Settings-Tab through a Menu-Button?

timmyomahony commented 2 years ago

Haha, no problem. Adding it to the menu is a possibility. Would you expect to see it here?

CleanShot 2022-06-09 at 10 35 39@2x

An issue with this is that it would be visible to content creators/editors/publishers too. The plugin settings page is really only a configuration-step that should be done occasionally. In other words, it's not something the end-user (who is adding content) should see or access easily.

Another option is to create a link in the "Utilities" section:

CleanShot 2022-06-09 at 10 37 52@2x

This would make it accessible via the control panel on production, while not making it particularly obvious to the end user.

timmyomahony commented 2 years ago

(I've added this to the discussions #76)