Main
Index
Search
Posts
Who's
Online
Log
In

Home: Products: CMS Builder: Plugins & Add-ons:
QR Code Generator using URL Address

 

 


nmsinc
User

Sep 22, 2011, 11:50 AM

Post #1 of 3 (228 views)
Shortcut
QR Code Generator using URL Address Can't Post

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.



This is what I have so far and I know the Address URL code is incorrect – any ideas?



<?php

echo qrCode(array(

'type' => 'url',

'url' => '($claims_submissionRecord['_link'])'

));

?>


Jason
Staff / Moderator


Sep 22, 2011, 12:10 PM

Post #2 of 3 (225 views)
Shortcut
Re: [nmsinc] QR Code Generator using URL Address [In reply to] Can't Post

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:


Code
<?php 

echo qrCode(array(

'type' => 'url',

'url' => "http://www.myWebSite.com/".$claims_submissionRecord['_link'],

));

?>


Hope this helps
---------------------------------------------------
Jason Sauchuk - Programmer 
interactivetools.com

Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/ 


nmsinc
User

Sep 22, 2011, 12:26 PM

Post #3 of 3 (224 views)
Shortcut
Re: [Jason] QR Code Generator using URL Address [In reply to] Can't Post

Hi Jason,

That was the problem, now works great!

Thanks!