Open H-i-red opened 8 years ago
Hi,
Unfortunately (last time I looked – before 2.3 was released) there was no way for this plugin to hook into when the page cache clears due to the file being modified.
Until there's a hook available this can't be fixed without modifying Kirby's core.
Oh well, thanks man !!
Hi man,
Great stuff ! Having an issue, I´m trying to update the field with a hook. The hook works and are updating the text file accordingly, but when I visit the page with the updated field, nothing is shown, although the text file are updated. If i hit save on the page, it deletes the updated field entry from the hook function. If I don´t hit save and clear my cache the page displays the field accordingly..
Text file :
Hook file: