link
The html anchor link is one of the most basic items in html
Add block - Basics - Link
Use the file browser to select a local file or page
Or else you can add the address yourself
- Url
The address of the link
- Title
The text to show on the page
- Insert newline
Add a linebreak
<br />
after the link
Color
Select a color for the link or enter a 3 or 6 digit hex value
Class
Select a CSS class for the link from those declared in the pages internal stylesheet or global_stylesheet.css
Forced download
There is a special query string variable that can be added to the url of files uploaded to your XtGem site that will cause files to download instead of opening in the browsers/devices default application
__xt_download=1
This will only work on images if the 5mb upload limit is set in additional features
It will not work for text based files
<a href="/folder/file?__xt_download=1"> link </a>
Test forced download Example code
<b>Standard link</b><br />
<a href="/manual/xtgem/">XtGem index</a>
<hr />
<b>XtGem download link</b><br />
<a href="/manual/xtgem/files/italian_job.mp3?__xt_download=1">Download Italian Job</a>
Show in textareaExample output