You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@lenya.apache.org by rd...@netscape.net on 2005/10/12 15:23:35 UTC

New Document form should auto-fill Doc Id

Hello everyone,

It occurred to me that the form for creating a new document in Lenya 
1.2.x could work a little better.  I've made a couple improvements to 
my copy of 1.2.4:

1) Moved the Navigation Title field to the top, since that's the first 
thing a non-technical content provider would want to enter.

2) Added an onblur javascript function to the Navigation Title field to 
*automatically* generate and fill the Document ID field when the user 
tabs out of the Navigation Title field (if the Document ID field is 
empty).  The Document ID is generated simply by removing all chars from 
the title other than letters, numbers and dashes, then converting to 
all lower case.

I can submit a bug and a patch if anyone else thinks this is a 
worthwhile improvement.  I only had to change a few lines in the 
pubs/default/lenya/xslt/authoring/create.xsl file.

__________________________________________________________________
Look What The New Netscape.com Can Do!
Now you can preview dozens of stories and have the ones you select 
delivered to you without ever leaving the Top Home Page. And the new 
Tool Box gives you one click access to local Movie times, Maps, White 
Pages and more.  See for yourself at 
http://netcenter.netscape.com/netcenter/


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org


Re: New Document form should auto-fill Doc Id

Posted by Michael Wechner <mi...@wyona.com>.
rdharner@netscape.net wrote:

> Hello everyone,
>
> It occurred to me that the form for creating a new document in Lenya 
> 1.2.x could work a little better.  I've made a couple improvements to 
> my copy of 1.2.4:
>
> 1) Moved the Navigation Title field to the top, since that's the first 
> thing a non-technical content provider would want to enter.
>
> 2) Added an onblur javascript function to the Navigation Title field 
> to *automatically* generate and fill the Document ID field when the 
> user tabs out of the Navigation Title field (if the Document ID field 
> is empty).  The Document ID is generated simply by removing all chars 
> from the title other than letters, numbers and dashes, then converting 
> to all lower case.
>
> I can submit a bug and a patch if anyone else thinks this is a 
> worthwhile improvement.  I only had to change a few lines in the 
> pubs/default/lenya/xslt/authoring/create.xsl file.


yes, that would be nice.

Thanks

Michi

>
> __________________________________________________________________
> Look What The New Netscape.com Can Do!
> Now you can preview dozens of stories and have the ones you select 
> delivered to you without ever leaving the Top Home Page. And the new 
> Tool Box gives you one click access to local Movie times, Maps, White 
> Pages and more.  See for yourself at 
> http://netcenter.netscape.com/netcenter/
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
> For additional commands, e-mail: user-help@lenya.apache.org
>
>


-- 
Michael Wechner
Wyona      -   Open Source Content Management   -    Apache Lenya
http://www.wyona.com                      http://lenya.apache.org
michael.wechner@wyona.com                        michi@apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org