WebSite X5Help Center

 
Rajiv S.
Rajiv S.
User

Download certificates  en

Autor: Rajiv S.
Visitado 945, Seguidores 2, Compartilhado 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  

Publicado em
8 RESPOSTAS - 1 ÚTIL - 1 CORRIGIR
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.

Ler mais
Publicado em de John S.
John S.
John S.
User

Why is it you simply not mail the certificates?

Ler mais
Publicado em de John S.
Rajiv S.
Rajiv S.
User
Autor

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 

Ler mais
Publicado em de Rajiv S.
Rajiv S.
Rajiv S.
User
Autor

Yes. Exactly 

Ler mais
Publicado em 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

Ler mais
Publicado em 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.

Ler mais
Publicado em de John S.
John S.
John S.
User

@Rajiv

Did you find a solution?

Ler mais
Publicado em de John S.