WebSite X5Help Center

 
Rajiv S.
Rajiv S.
User

Download certificates  en

Auteur : Rajiv S.
Visité 1323, Followers 2, Partagé 0  

Hi,

I wish to add a web page where participants in our event could visit an download their participation certificates in PDF (already generated).

1. They should be able to input their 1-first name and 2-email id and then correct certificate (using the file name which contains firstname-emailid

any one any idea?

i could use ready made html code  

Posté le
8 RéPONSES - 1 UTILES - 1 CORRECT
John S.
John S.
User

You could use the restricted pages for that.

Make a page for each person and on that page you make a download button and the download should be the certificate.

This is possible without special code.

Lire plus
Posté le de John S.
John S.
John S.
User

Why is it you simply not mail the certificates?

Lire plus
Posté le de John S.
Rajiv S.
Rajiv S.
User
Auteur

undecided@john S. 1. There are over 6000 certificates for one event and there are dozens of events each year.

2. Mail them: of course, that is what we have been doing. But for that large number it is not practical so that is why we need a better system 

Lire plus
Posté le de Rajiv S.
Rajiv S.
Rajiv S.
User
Auteur

Yes. Exactly 

Lire plus
Posté le de Rajiv S.
Axel  
Axel  
User

Hello,

The script proposed by John is better because the downloaded file is possible with a known filename or file ID and you have just only one field to fullfil. So errors are limited.

I have quickly integrated this one into my demo: https://wsx5demo.afsoftware.fr/index.html

Enjoy!
Axel

Lire plus
Posté le de Axel  
John S.
John S.
User

I have an example file attached

Usage:

For an event you make a subfolder on you site.

In here you place the cerficates for that specific event.

And you also place the attached unzipped html file.

In your X5 project you make a page with an iframe.

The initial source for the iframe is the newest event.

On the same page, you place html objects for each event.

Like it is done here: https://bramminginfo.dk/egnsmuseet.html

Each link will fill the iframe with a new "target".

The targets should be the download-html file that is in a folder for each event.

The download will be from the same folder where the html-file resides. That is why the download html should be together with the pdf files.

You can make a headline in each html-file telling the user which event he is downloadin certificates for.

Example: Download your certificate for the seminar "From stone axe to computer"

Hope you understand what it is I try to tell.

Lire plus
Posté le de John S.
John S.
John S.
User

@Rajiv

Did you find a solution?

Lire plus
Posté le de John S.