[pmwiki-users] MiniEdit seems to reset ctime

kirpi at kirpi.it kirpi at kirpi.it
Wed Mar 14 09:20:58 CDT 2012


> Try to create a new page and check if it has a 'ctime' attribute before
> using MiniEdit. Then edit the gallery with MiniEdit and if the 'ctime'
> attribute actually disappears,

I just tried and create a new page: its ctime was fine.
Then tried to edit it by hand: again the value was retained and
properly kept and shown.
Then uploaded a picture and MiniEdit(ed) it caption.
Now ctime has disappeared from the page!

The fact that
ctime=
disappears from the page is proven by looking at the page file.

It is nonetheless worth mentioning that, in order to better work with
ctime in pagelists and make it editable from the page form, I set in
config.php
  $FmtPV['$PageCreationDate'] = '@strftime("%d-%m-%Y at %R", $page["ctime"])';
as found in http://www.pmichaud.com/pipermail/pmwiki-users/2009-December/056265.html
and also
  $ctimeDispFmt = '%d-%m-%Y alle %R';
  include_once('cookbook/editformcustomfields.php');
as found in http://www.pmwiki.org/wiki/Cookbook/EditFormCustomFields


Is there any test more I can do to help solving the puzzle?
:-)

Luigi



More information about the pmwiki-users mailing list