⚠ In case you've missed it we have migrated to our new website, with a brand new forum. For more details about the migration you can read our blog post for website migration. This forum is read-only and soon will be archived. ⚠


Allan Alvarez Ortiz

Member Since 16 Jul 2015
Offline Last Active Jul 27 2015 11:59 PM
-----

Topics I've Started

callback_insert not working

27 July 2015 - 11:32 PM

Hi i'm having a problem with grocery crud, i want to use the callback_insert to create some rules on the insert but its not working not even by doing nothing i mean setting the callback_insert like this:
 

$crud->callback_insert(array($this,'insert'));

and the funtion like this:

function insert($post_array) {
      return $this->db->insert('archivo',$post_array);
}

it keep giving me in google chrome console:
 

POST http://localhost/agenda/index.php/backend/archivo/insert 500 (Internal Server Error)

Bootstra theme custom search

25 July 2015 - 02:26 AM

Hi,  i have a question, i buy the bootstrap theme, and im using it right now, but i want to put a link anywhere away from the grocery crud page, and i need that for instance i have a table named 'name' with the link send a custom filter search you know what i mean? :S like for example the same function that this:
 
$("#search_text").val("Here should be the filter");
$("#search_field").val("");
$("#crud_search").trigger("click")
 
does on the flexigrid theme.
 
Hope you guys can help me :D