• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Unmaintained QR Code for Attachments 1.0

No permission to download
This was requested here and i've coded this, but the user never contacted me, so let's release it for free:)


This add-on will add a link under the attachments, which will open a overlay containing a qr image, which contains the link to the attachment.

QR codes are the little square barcode type things that are compatible by default with Android smartphones and available to use with some apps for other phones.

This add on adds a QR code to any attached file so if you wanted to download that attachment on your mobile you'd scan the QR code with your camera and it would download the file onto your mobile.
If you don't have TMS installed, you need to add the link yourself, because there's no template hook available:(

Open template attached_files

search for
Code:
<dl><dt>{xen:phrase views}:</dt> <dd>{xen:number $attachment.view_count}</dd></dl>
replace with:

Code:
<dl><dt>{xen:phrase views}:</dt> <dd>{xen:number $attachment.view_count}</dd></dl>
<h6 class="filename"><a href="{xen:link attachments/qr, $attachment}" class="OverlayTrigger">{xen:phrase ragtek_qr}</a></h6>
repository available at github: https://github.com/ragtek/AQR/wiki

feel free to use & fork it
Author
ragtek
Downloads
175
First release
Last update
Rating
5.00 star(s) 2 ratings

Latest reviews

Awesome plugin, thank you.
Good Work!