Bug 37053

Summary: [PATCH] CMS UI's New Document page should auto-fill Doc Id field with abbreviated title
Product: Lenya Reporter: BobHarner <bobharner>
Component: Default PublicationAssignee: Lenya Developers <dev>
Status: NEW ---    
Severity: enhancement    
Priority: P5    
Version: 1.2.4   
Target Milestone: 1.2.6   
Hardware: All   
OS: All   
Attachments: Patch to fix bug 37053

Description BobHarner 2005-10-12 18:02:45 UTC
On the New Document page, where the content provider creates a new document, the
field for entering Document ID should be automatically filled in with an
abbreviated form of the document title, with an onblur javascript action that
runs when the content provider tabs out of the document title field.  To make
this more natural, the Document Title field should also be moved to the top of
the page.

A patch will follow to implement these changes in Lenya 1.2.4.
Comment 1 BobHarner 2005-10-12 18:05:31 UTC
Created attachment 16678 [details]
Patch to fix bug 37053

Differences from the 1.2.4 released version of
pubs/default/lenya/xslt/authoring/create.xsl
Comment 2 Andreas Hartmann 2007-04-23 02:43:09 UTC
IMO it's not so nice to handle the translation from title to node name in
JavaScript. Maybe we could use AJAX?