[pmwiki-users] $AutoCreate & $EditTemplatesFmt
noskule
noskule at gmx.net
Wed May 9 05:31:17 CDT 2007
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
hi list/pm
Is it possible to configure pmwiki that it processes the
$EditTemplatesFmt and than "autocreates" the page?
I made the following configuration:
$AutoCreate['/^AutoCreateTest\\./'] = array('ctime' => $Now);
$SubjectTemplates = 'SubjectTemplates.{$Group}';
$EditTemplatesFmt = array($SubjectTemplates);
And I have a "SubjectTemplates.AutoCreateTest" template
What happens now is that pmwiki creates the page, but if I visit the
page it shows nothing. Then in editmode the Edittemplate is loaded.
Is there a way to force pmwiki to autosave the page with the content of
the edittemplate?
thanks for any hints
nos
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFGQaL0rGF5npnsxVgRAr+9AKCoNAG/fFFWwu4F3r2ENyW6UqUX9wCfQmbt
6so71Ech09aaQOXLc0LiZDw=
=r69I
-----END PGP SIGNATURE-----
More information about the pmwiki-users
mailing list