[pmwiki-users] Automatic Page Refresh disabled after an edit

Patrick R. Michaud pmichaud at pobox.com
Thu Sep 28 17:06:06 CDT 2006

On Thu, Sep 28, 2006 at 11:53:54PM +0200, kirpi at kirpi.it wrote:
> I recently enabled an automatic page refresh for a single NewsPage in my site.
> I used the Cookbook/AutomaticPageRefresh recipe, which works fine and
> is flexible.
> This way I just changed every link to the NewsPage to be
> "NewsPage?refresh=180" and now that page smoothly reloads every 3
> minutes.
> The point is that when I edit that page, and then press save, the page
> is loaded without the ?refresh=180 option.
> Where and how should I move my steps, in order to fix this?

Oh, that's a bit trickier.  You could use the first option
of the recipe, which always sets a refresh for the page.

At the moment there doesn't seem to be an easy way to get PmWiki
to return to the ?refresh=180 option after editing.  Sorry about
that, I may have to come up with a fix to allow such things.

(The code I have in place for redirection after editing seems
totally wrong to me at the moment; I'm *sure* I had a good reason
for writing it the way I did, but it just seems totally wrong now.)


More information about the pmwiki-users mailing list