Technical support This forum is closed.
Version 1.x > Technical support > Displaying lists of .PDF files View modes: 
User avatar
Member
Member
eric - 1/26/2006 4:17:00 PM
   
Displaying lists of .PDF files
Hi,
I would like to display a list of .PDF files. When you click the spot, the file is then opened with a PDF reader. The concept is similar to the Image Gallery for images. Or the hitlist of a search.

The files are stored in KenticoCMS in a tree like manner with folders.
At the moment I have setup an editable region and filled with lines that link to each individual file. This works however for the content editor it is a bit cumbersome to create the links to the 120+ files. Also I manually have to create the folder structure.

Anybody who has done this before? Or can point to code to be reused.

Tks,
-Eric

User avatar
Guest
admin - 1/26/2006 5:08:49 PM
   
Re: Displaying lists of .PDF files
Hi Eric,

do you mean you need to create a dynamic listing of files? Generally, you could use CMSRepeater control for this. Or, if you need to display the files in an appropriate tree structure, you would have to write your own code that will go through the tree structure and render the links.

Please let me know if you need any help with that.

Best Regards,

User avatar
Member
Member
eric - 1/29/2006 11:31:20 AM
   
Re: Displaying lists of .PDF files
Hi Petr,
Great advice, problem solved!
The big trick was the CMSRepeater with the provided default transformation - I must admit not easy to grasp the power of it. Now it is cleared. Tks.-Eric