javier94
Member
i have a form and i need copy the details url..
something like this..
https://qrmenudigital.com/index.php...spanol/es-crear-menu-entrantes/details/191/19
i have found to copy the form url doing like this
$query->insert('cartas_registro')
//->set('parent_id = ' . $newid)
->set('qr_1 = ' . $myDb->quote('{menu_dia_entrantes___qr_1}'))
->set('url_1 = ' . $myDb->quote('{menu_dia_entrantes___url_1}' . '{rowid}'))
if in set . url_1 i add the {rowid}' .. when i copy.. the url is like this
https://qrmenudigital.com/index.php/crear-idiomas/crear-espanol/es-crear-menu-entrantes/form/191/19
but i need to see the form in details view.. what i should add to the code instead rowid to see something like this???
https://qrmenudigital.com/index.php...spanol/es-crear-menu-entrantes/details/191/19
in the url_1 field element i have this code too.
$host= $_SERVER["HTTP_HOST"];
$url= $_SERVER["REQUEST_URI"];
return "https://" . $host . $url;
Any suggestion?
Thanks
Javier
something like this..
https://qrmenudigital.com/index.php...spanol/es-crear-menu-entrantes/details/191/19
i have found to copy the form url doing like this
$query->insert('cartas_registro')
//->set('parent_id = ' . $newid)
->set('qr_1 = ' . $myDb->quote('{menu_dia_entrantes___qr_1}'))
->set('url_1 = ' . $myDb->quote('{menu_dia_entrantes___url_1}' . '{rowid}'))
if in set . url_1 i add the {rowid}' .. when i copy.. the url is like this
https://qrmenudigital.com/index.php/crear-idiomas/crear-espanol/es-crear-menu-entrantes/form/191/19
but i need to see the form in details view.. what i should add to the code instead rowid to see something like this???
https://qrmenudigital.com/index.php...spanol/es-crear-menu-entrantes/details/191/19
in the url_1 field element i have this code too.
$host= $_SERVER["HTTP_HOST"];
$url= $_SERVER["REQUEST_URI"];
return "https://" . $host . $url;
Any suggestion?
Thanks
Javier
Last edited: