Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Admin Center does not show the changes after Submit #213

Closed
Fraenkiman opened this issue Feb 26, 2023 · 2 comments
Closed

Admin Center does not show the changes after Submit #213

Fraenkiman opened this issue Feb 26, 2023 · 2 comments
Labels

Comments

@Fraenkiman
Copy link
Collaborator

Fraenkiman commented Feb 26, 2023

Hi all,

if a change has been made in the admin center, like changing date and time formats or activating or deactivating a plugin, the admin page has to be reloaded (F5 key) after the notification "Changes will be saved" - so that the changes are displayed. For FlatPress lovers certainly no problem. If you know it, the oplikatoric pressure on the F5 key after each change simply belongs to it.
But for new FlatPress users this can be strange - a shortcoming.

Maybe it makes sense to provide the submit function in the admin center with a one-time refrech of the page.

The web server configuration is not unusual.
This consists of Apache FPM/FastCGI /2.4.54 (Debian), PHP 7.4.33, OPcache and APCu support. The whole thing is installed natively without virtual machines.

With best regards
Frank

@Fraenkiman
Copy link
Collaborator Author

It may make sense to include a function in the fp-smartyplugin function.html_submit.php that injects a reload after the page in the http header. 10 seconds after you have pressed submit/send/save.

@Fraenkiman Fraenkiman added the bug label Feb 21, 2024
Fraenkiman added a commit that referenced this issue Nov 3, 2024
Fixes the problem that after saving the configuration (onsubmit) the new status was not passed on to the template - only after reloading the page.
I have observed the same behavior in the plugin administration. #213
Fraenkiman added a commit to Fraenkiman/flatpress that referenced this issue Nov 3, 2024
Configuration panel:
Changes in input fields and drop-down menus are immediately reflected in the user interface.
Plugin management panel:
Activating or deactivating plugins are immediately reflected in the user interface.
Fraenkiman added a commit that referenced this issue Nov 3, 2024
Configuration panel:
- Changes in input fields and drop-down menus are immediately reflected in the user interface.

Plugin management panel:
- Activating or deactivating plugins are immediately reflected in the user interface.
@Fraenkiman
Copy link
Collaborator Author

Resolved with b5c36b8

Fraenkiman added a commit that referenced this issue Dec 1, 2024
- Solves the same problem as described in #213 and #244.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant