Thanks for your reply, Renaud!  I understand how to upload assets to
lenya but my problem is, I'm trying to retrieve the assets I have
uploaded programmatically rather than going through an editor such as
BXE.  For instance, rather than displaying "Welcome to the default Lenya
publication..." after a new document is created, I would like the page
to display a list of documents/assets that's been uploaded and also
allow user to sort the documents by title, date and such.  Hope I have
clarified my questions a little.  Thanks in advance!

Lei

-----Original Message-----
From: Renaud Richardet [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, January 10, 2006 3:47 PM
To: [email protected]
Subject: Re: Dynamically list all attachments (Assets)

Hello Lei,

You can add assets (doc, pdf, pictures) to a page in Lenya. Try to edit
a document with BXE, and click on the "Add Asset" button on the right of
the taks bar.

What do you mean by sorting capabilities? In Lenya, Editors can edit the
link to an asset with the BXE.

You can have a look at one of the demos, eg
http://lenya-1.2.demo.wyona.org/default/ , but the asset upload function
is unfortunately disabled on this public demo (security reason).

HTH,
Renaud




Huang Lei wrote:

> Hi,
> I'm brand new to Lenya.  I'm trying to use Lenya as more of a document

> management tool for now.  I was asked my my client to provide the 
> capability of uploading documents (mainly word documents) by admins 
> and display them to the general user and allow the users to sort 
> through the documents. I was wondering if there is a way to 
> programmatically display all the assets to user and have sorting 
> capability.  Thanks in advance.
>  
> Lei


--
Renaud Richardet
COO America
Wyona Inc.  -   Open Source Content Management   -   Apache Lenya
office +1 857 776-3195                     mobile +1 617 230 9112
renaud.richardet <at> wyona.com              http://www.wyona.com


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to