Closed rheritahiana closed 3 years ago
Hi all, i finally achieved waht i wanted by changing the line with "$URLByInvNumber" in the file /inc/qrcode.class.php with tsis one:
$URLByInvNumber = 'URL = ' . $CFG_GLPI['url_base'] . '/front/computer.form.php?id='. $items_id;
Now the ling generated leads me directly to the url of the computer.
I have the same error in 9.5 and installed the plugin in marketplace and version 2.5
However it works on genericObject
Thank you @rheritahiana
helped me solve a problem with the url.
a doubt, by chance you can generate the label with the name of the equipment underneath and the Qrcode has only the URL ?
@ddurieux
I have the same error in 9.5 and installed the plugin in marketplace and version 2.5
However it works on genericObject
$URLByInvNumber = 'URL = ' . $CFG_GLPI['url_base'] . '/front/'. $itemtype . '.form.php?id='. $items_id;
I have the same error in 9.5 and installed the plugin in marketplace and version 2.5 However it works on genericObject
$URLByInvNumber = 'URL = ' . $CFG_GLPI['url_base'] . '/front/'. $itemtype . '.form.php?id='. $items_id;
for Linux, case must be respected:
$URLByInvNumber = 'URL = ' . $CFG_GLPI['url_base'] . '/front/'. strtolower($itemtype) . '.form.php?id=' . $items_id;
Fixed by #78
I am using glpi on version 9.4.5 with barcode plugins version 2.4.1 Everything seems to be working fine except from the url generated. il always point to computer of id=1. I am trying to check the file checkItembyInv.php to understand. it figures out that tsis code is always redirecting to '1' instead of redirectind to computer's Id.