getgrav / getgrav/grav-plugin-admin

Refreshing the modular page

Open
#2,367 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
PHP
Stars
377
Forks
225
Avg merge
11h 51m
Merged PRs (30d)
4

Description

When a module is saved, changes within the module page are not applied unless the cache is flushed. Would it be possible to add an option to automatically refresh the parent modular page when the module is saved?

Similarly, in the case of a module that is dynamically generated via Twig.

(I put this issue in the Admin Panel, from where the pages are saved, but it is more directly related to the Grav core.)

Contributor guide

Open the contributing guide

Research direction

No files or tests are named. Start by tracing the Admin Panel save flow into Grav core's modular-page and cache handling; verify how dynamically generated Twig modules are handled. Done means saving a module refreshes its parent modular page without a manual cache flush in both cases.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
backend, content
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.