Add QR Codes for current page anywhere
This is based on some javascript under MIT license (do what you want) found here: https://jeromeetienne.github.com/jquery-qrcode/
Upload the qrcode folder. Add the following code to whichever templates you want it to appear on e.g. vbcms_content_article_page Make sure you change http://www.yoursite.com to your own url!! Code:
<!-- QR Code: Page URL --> <b>Mobile Jump / Share:</b><br> <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.5.2/jquery.min.js"></script> <script type="text/javascript" src="http://www.yoursite.com/qrcode/jquery.qrcode.js"></script> <script type="text/javascript" src="http://www.yoursite.com/qrcode/qrcode.js"></script> <div id="qrcodeCanvas"></div> <script> jQuery('#qrcodeCanvas').qrcode({ width: 140, height: 140, text : document.URL }); </script> <!-- End of QR Code --> http://www.bordersdown.net/content.php/486-Sorcery-Review-Sony-PS3 (see base of review text) Tested in 4.1.8, but should work in any version. This is my first offer of a mod, so hope I uploaded everything correctly. I'm subbed to this thread anyway. Download
qrcode.zip (7.6 KB, 25 downloads) |