

how set_crud_url_path and use of delete
#1
Posted 24 November 2016 - 07:07 PM
#2
Posted 24 November 2016 - 07:22 PM
$state = $crud->getState();
if($state == 'list')
{
redirect('your_controller/elencoUtenti');
}
#3
Posted 25 November 2016 - 08:10 AM
no, but yor solution seems nice :-D
Reading from the doc ...
set_crud_url_path - void set_crud_url_path(string $crud_url_path [, string $list_url_path ])
I think you can try to give the second parameter for the list url path.
After this i'm going to try, if have news i'll bring here
#4
Posted 25 November 2016 - 08:19 AM
It looks good. The second parameter control the go back to list button, so you can always go back to your datatables list wiev.
One example of use i found is in http://www.grocerycr...-model-solved/.
Have a nice week ;-)
Also tagged with one or more of these keywords: set_crud_url_path, delete
Support →
Grocery CRUD Enterprise →
Image is not get deleted from the serverStarted by PHP Developer, 15 Mar 2018 ![]() |
|
![]() |
||
Support →
Grocery CRUD Enterprise →
How to redirect after insert / update / delete ?Started by darkstalker, 06 Jan 2018 ![]() |
|
![]() |
||
Support →
I have a question →
Error js bootstrap theme delete modalStarted by Paulo Rodriguez, 01 Jan 2017 ![]() |
|
![]() |
||
Support →
I have a question →
How To Delete the Foreign Key Constraints in the DatabaseStarted by Venkatesh Waran, 04 Dec 2014 ![]() |
|
![]() |
||
Support →
I have a question →
as I can update a table after deleting a record in another?Started by Juan Carlos, 29 Oct 2014 ![]() |
|
![]() |
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users