[pmwiki-users] New Recipe: EditTitle

Waylan Limberg waylan at gmail.com
Tue Oct 11 11:26:08 CDT 2005


I have just added a new recipe: http://www.pmwiki.org/wiki/Cookbook/EditTitle

As is explained on that page, the recipe adds an input field to the
edit form for editing the pages title. To do this, it strips the
"(:title ..." markup from the content and displays the content in the
textarea without it. At the same time, it gets the page title from
said markup and displays that in the new input field. Upon save, the
markup is added back into the page content with the new title. The
reasons for that aproach are discussed breifly on the page and have
been discussed on the list before as well.

Any comments, suggestions, improvements welcome.
--
----
Waylan Limberg
waylan at gmail.com




More information about the pmwiki-users mailing list