Series 2: Step by step Chapter 9 of 13

Offering a PDF for download

Editing content
Applies to: every Sulu website As of Sulu 3.0

In short

Upload the file under Media with Upload file. Select a word in the text and choose Internal Link › Media. Choose the file in the Link window, confirm and publish the page.

Sulu itself is enough for this: the file sits in the media, and a word in the text links to it. In the example, the page Tyre service gets a link to the Tyre service price list.

Creating whole posts as PDF, on the other hand, is the job of the extension PDF export. You do not need it here.

Helpful first: 2.3 Uploading an image and describing it properly 2.6 Setting a link

Step 1 of 7 Opening a folder

Click Media in the main menu and open the folder the file belongs in, in the example Campaigns (1). At the top, click Upload file (2).

Step 2 of 7 Uploading the file

Choose the PDF file on your computer. It then appears in the list (1). At first its title is the file name. You will see this name later when linking.

Step 3 of 7 Selecting a word

Open the page on which the link should appear. On the example website, expand the block for this. In the text field, in the example Text, select the word that is to become the link, in the example price list.

In the toolbar of the text field, click Internal Link (1) and choose Media (2).

Step 4 of 7 Choosing the file

The window Link opens. In the Link URL field, click the icon on the left. The window Select media opens. Go to the folder Campaigns, check the file (1) and click Confirm (2).

Step 5 of 7 Confirming the link

The Link URL field (1) now shows the name of the file. Click Confirm (2).

Step 6 of 7 Saving and publishing

At the top left, click the small arrow next to the floppy disk icon (1) and choose Save and publish (2).

Step 7 of 7 Checking the result

The preview shows the word as a link. A click on it takes visitors to the PDF file.