<< Go Commands << Go Home

Command @download

Description:

Inserts a download link in page.
 
Warning: command only works inside a .tg9 file.

Syntax:

@download
@@url
@@text
@end_download

Parameters:

Param @@url
description: url path to file
options:
default:
optional: no
Param @@text
description: some explain text
options:
default: "Download"
optional: yes
 
Obs: parameters can be put in any line order

Example:

1 @download
2 @@url demo.txt
3 @@text Download demo.txt
4 @end_download

Output:

demo (.TXT)