Portal Engine Questions on portal engine and web parts.
Version 5.x > Portal Engine > How to display the list of pdf files on home page.. View modes: 
User avatar
Member
Member
sansugoi_sayounara-hotmail - 3/26/2010 5:27:16 AM
   
How to display the list of pdf files on home page..
Hi all,

I have a requirment that I have few pdf forms which I have to display in page linked those form with title of the forms and also I want to display 3-4 of thos forms on the home page and with more link to that page so that user can see the popular forms on the home page , when user will click on the link the pdf fprm will open, Can any one help in this issue as it is very urgent and I am new to Kentico.

Thanks in Advance
Sansugoi

User avatar
Kentico Developer
Kentico Developer
kentico_helenag - 3/26/2010 9:57:15 AM
   
RE:How to display the list of pdf files on home page..
Hi Sansugoi,


you could use a repeater for your PDFs and use the web part property: Select top N documents: 3. Then you can add More... link to Content after of that repeater. It will open a new window or redirect users to a different page where you can list all PDFs by a different repeater.


Best regards,
Helena Grulichova

User avatar
Member
Member
sansugoi_sayounara-hotmail - 3/29/2010 12:42:23 AM
   
RE:How to display the list of pdf files on home page..
Thanks for replynig my query.

Can you please explain that how can I do this as I am new to this..

Thanks
Sansugoi

User avatar
Kentico Developer
Kentico Developer
kentico_helenag - 3/29/2010 7:42:11 AM
   
RE:How to display the list of pdf files on home page..
Hello,


repeater documentation is here: Web part documentation.

The link at Content after is standard HTML <a> link.


Best regards,
Helena Grulichova

User avatar
Member
Member
sansugoi_sayounara-hotmail - 3/30/2010 4:24:40 AM
   
RE:How to display the list of pdf files on home page..
Hi Helena,

Thanks for reply my query, I have tried this by using the repeater and the file is uploaded and showing the title with link to the pdf file but the file is not openning , when I click on the link the url " http://xxx.xxx.x.xx:x/getattachment/e8720020-4d02-47fd-80b4-17e4b6fd2d97/RENUNCIATION-FORM.aspx" is openning as blank after clicking it showing like it is opening the pd but after the pdf loading then it show a blank page I use the AttachDocumentLis and document type as CMS.File .

Please Help me in this porplem that how to solve thi.


Thanks Again
Sansugoi

User avatar
Kentico Developer
Kentico Developer
kentico_helenag - 4/1/2010 7:05:19 AM
   
RE:How to display the list of pdf files on home page..
Hi Sansugoi,


I am not sure what "AttachDocumentLis" means. If you select the PDF file in the content tree and switch to Live site mode do you see the file correctly?

Did you try a different browser?

Are you able to see other PDFs in the browser correctly?


Best regards,
Helena Grulichova

User avatar
Member
Member
ksigman-canyonco - 11/30/2012 1:00:57 PM
   
RE:How to display the list of pdf files on home page..
Hey Helena,

The link to the web part documentation for the repeater isn't working. Can you please repost?

I'm basically looking for the correct transformations to set up to show a list of PDF's from a folder.

Thanks,

Keri.

User avatar
Kentico Consulting
Kentico Consulting
kentico_borisp - 11/30/2012 7:43:12 PM
   
RE:How to display the list of pdf files on home page..
Hello,

I am sorry for the incorerct link. Here is the new link to the repeater web part documentation.
For more information on transformations please check this link and also the documentation on linking attachments.

Best regards,
Boris Pocatko