09-19-2016 01:46 AM
i want to add an QR Code with the SSID and User Password to an print Template.
I have found this link and try to add it - without any success.
ubademo.net/guest/public/qr_demo/ios.mobileconfig" ); jQuery('#qrcode_android').qrcode("WIFI:T:WPA;S:0_h arry_ssid;P:QRClearPass;;"); </script> User Account HTML <h2>iOS</h2> <div id="qrcode_ios"></div> <h2>Android</h2> <div id="qrcode_android"></div>
Has anyone an idea how to get this running?
Solved! Go to Solution.
10-04-2016 01:40 PM
Hey there -- I wrote that article. I guess this is what fame feels like :P
What exact issue are you having? From looking at your code snippet above, your path is wrong for your jQuery plugin include.
Assuming you uploaded it in the PUBLIC folder in Content Manager:
CPGuest > Config > Content Manager > Public folder > Upload > jquery.qrcode.min.js file
Then your include should be:
What is your exact issue?
10-04-2016 02:00 PM
P.S. Try this:
I created a new print template
CPGuest > Config > Receipts > Templates > Create New (make sure it's 1 account per page or anything but plaintext)
Iadded some of the QR code from that Arubapedia article, and made sure to use the proper variables that are on the legend on that page, for example:
And made sure the DIV I wanted to manipulate with the jQuery was present:
10-04-2016 11:56 PM - edited 10-05-2016 12:26 AM
thanks for your help. My Problem was that the QR Code wasn´t generated. I have change the div id to div class and now it is working.
Do you have a hint for me how to put in the username and password in the QR Code to autologin the user
The User should scan this code, auto connect to the WIFI 0_harry_ssid and then auto login with there username and password provided by Clearpass guest.
Thanks for your help