logo
Home XtGem- Templates- XtScript- bottom
XtGemmanual

XtGem tags and tools

link

The html anchor link is one of the most basic items in html
Add block - Basics - Link

Notes

Use the file browser to select a local file or page
Or else you can add the address yourself
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

<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>

Copy as text

Output reload

Standard link
XtGem index
XtGem download link
Download Italian Job

Related

xt filelist downloading
file image link new page
click to call click to sms click to email
additional features new files and folders global stylesheet internal css editor

XtGem manual · all sections

Powered by XtGem
About us Contact Forum top