Jump to content


fapth

Member Since 24 Sep 2016
Offline Last Active Jan 10 2018 10:13 AM
-----

Posts I've Made

In Topic: looking for example of "Add a custom action control"

10 January 2018 - 10:16 AM

your controller function can do what u want and put u back to list by redirect('crud_controller/').

 

its like

 

class User extends CI_CONTROLLER

 

function __construct(){

 

}

public function redir($id){

//do something here

redirect('crud_controller');

}

}


In Topic: looking for example of "Add a custom action control"

09 January 2018 - 10:52 AM

yes this is how i used it:

$crud->add_action('open', '', 'controller/redir','glyphicon glyphicon-eye-open');

its calling my controller/redir with id like this /controller/redir/3

 

im not getting what you want to do.


In Topic: looking for example of "Add a custom action control"

05 January 2018 - 01:57 PM

void add_action( string $label, string $image_url , string $link_url , string $css_class , mixed $url_callback)

 

 

the code its ganerating is a new side. on click on this button its load a new side in Codeigniter! So : $link_url = "Controller/Method"  is the same like anchor('controler/method')

 

I hope i could help you


In Topic: set_relation_n_n is bugged when 5. parameter is a array

05 January 2018 - 10:39 AM

okay found my self, after postet it an reread it.

 

there shouldnt be any whitespaces in "Lizenznehmer, licenses_to_user, users, license_id, users_id, username,priority"

 

ME <- dump

 

Thx


In Topic: Issues with Bootstrap Theme

19 April 2017 - 12:37 PM

Okay i fixed it... i dont know what was the problem, but i copied grocery crud folder again in to my workspace...