QR Code Generator using URL Address
3 posts by 2 authors in: Forums > CMS Builder: Plugins & Add-ons
Last Post: September 22, 2011 (RSS)
By nmsinc - September 22, 2011
I need to add a QR utilizing a web address to a detail page with the same URL as the detail page. This way if the page is printed for record keeping a user can use his/her SP scanner to quickly locate the record. I’m having problems coding the URL address.[/#000000]
[/#000000]
This is what I have so far and I know the Address URL code is incorrect – any ideas?[/#000000]
[/#000000]
<?php[/#000000]
echo qrCode(array([/#000000]
'type' => 'url',[/#000000]
'url' => '($claims_submissionRecord['_link'])'[/#000000]
));[/#000000]
?>[/#000000]
[/#000000]
This is what I have so far and I know the Address URL code is incorrect – any ideas?[/#000000]
[/#000000]
<?php[/#000000]
echo qrCode(array([/#000000]
'type' => 'url',[/#000000]
'url' => '($claims_submissionRecord['_link'])'[/#000000]
));[/#000000]
?>[/#000000]
nmsinc
Re: [nmsinc] QR Code Generator using URL Address
By Jason - September 22, 2011
Hi,
The issue could be that the _link pseudo field doesn't return an entire web address. You can hard code in your web address like this:
Hope this helps
The issue could be that the _link pseudo field doesn't return an entire web address. You can hard code in your web address like this:
<?php
echo qrCode(array(
'type' => 'url',
'url' => "http://www.myWebSite.com/".$claims_submissionRecord['_link'],
));
?>
Hope this helps
---------------------------------------------------
Jason Sauchuk - Project Manager
interactivetools.com
Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/
Jason Sauchuk - Project Manager
interactivetools.com
Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/
Re: [Jason] QR Code Generator using URL Address
By nmsinc - September 22, 2011
Hi Jason,
That was the problem, now works great!
Thanks!
That was the problem, now works great!
Thanks!
nmsinc