⚠ 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 is an archived forum. ⚠

  •     

profile picture

Custom button action



ramiro.mejias
  • profile picture
  • Member

Posted 21 March 2018 - 12:11 PM

I created a custom button using add_action. This button call a function located in a new controller tha receives an id, but the other table shows no rows where the id is not found in the URL. When the id is in the URL, everything is OK.

 

I used thie code to manipulated the id:

 

if($ssid != NULL) {
   $crud->where('ss', $ssid);
}