Create your own Crud plugin.

Laraship QuestionsCategory: Modules CustomizationsCreate your own Crud plugin.
Gelber Orlando Moran Silva asked 4 years ago
Hi, I need help with Create Your Own Plugin. I receive errors when creating a crud, can you help me how to make a crud. I am new to laraship and if I know of laravel, but to adapt to the modules it is difficult for me, in cases such as: making queries, to delete and edit. for example if I make a query from BasrControllerĀ 
 public function index() { $users = DB::table(\'users\')->get(); return view(\'bars.index\', [\'users\' => $users]); }
  and I list this table, I attach image  
Can you help me with more information ..Thank you
Attachments
1 Answers
laraship Staff answered 4 years ago
Hello, The DataTable Data source is determined by the the query function under the datatTable class inside DatatTables folder.
Gelber Orlando Moran Silva replied 4 years ago

it means I can’t do it from my own plugin, as I did my exercise

You can help me how to make these queries from DatatTables.

some exercises or more information,
please

Gelber Orlando Moran Silva replied 4 years ago

You can help me by sending a basic Crud made of Foo to analyze it in detail
since the other modules are complex, I would like to analyze a basic one thank you very much

laraship Staff replied 4 years ago

Hello.
There is already Crud Page “Bar” with the basic structure, isn’t it working for you ?

Gelber Orlando Moran Silva replied 4 years ago

It does not work. I had modified it, but now it works thanks to a copy I had.

another question please, how much would you have to modify to create a “Bars_2” for the same FOO