<br><br><div class="gmail_quote">On Mon, Mar 9, 2009 at 21:29, Eemeli Aro <span dir="ltr"><<a href="mailto:eemeli@gmail.com">eemeli@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Have you looked at EditAttributes?<br>
<<a href="http://www.pmwiki.org/wiki/Cookbook/EditAttributes" target="_blank">http://www.pmwiki.org/wiki/Cookbook/EditAttributes</a>><br>
<br>
It does exactly this, ie. lets you define and edit metadata fields<br>
(eg. title, description, keywords) to use on Site.EditForm. It doesn't<br>
yet handle page text variables but that's a relatively small addition,<br>
if desired.<br>
<br>
Actually, one reason I wrote EditAttributes was to let me keep and<br>
edit this metadata directly as page attributes instead of the kludge<br>
they are now (stored both as attributes and directives in page text).<br>
In a way this runs counter to the idea of keeping these as page text<br>
variables, but at least the changes I proposed in<br>
<<a href="http://pmichaud.com/pipermail/pmwiki-users/2009-February/054102.html" target="_blank">http://pmichaud.com/pipermail/pmwiki-users/2009-February/054102.html</a>><br>
should still let something like EditAttributes work.</blockquote><div><br>Thank you for pointing this recipe out. I smoothly upgraded from EditTitle and easily added Description field. I configured it so values are stored only in page attributes. Autofilling of titles is also useful.<br>
<br>As to handling of PTVs, I think, it would be better to support general metadata section which does not clutter other text (similar to e_notes of EditMore recipe) because PTVs are usually different on different pages and separate fields for individual PTVs would require maintaning of several versions of EditForm.<br>
<br>Thank you for all you recipes,<br>Roman<br></div></div><br>