Create your own Crud plugin.

Create your own Crud plugin.

Laraship QuestionsCategory: Modules CustomizationsCreate your own Crud plugin.
Gelber Orlando Moran Silva asked 1 month 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

1 Answers
laraship Staff answered 1 month ago
The DataTable Data source is determined by the the query function under the datatTable class inside DatatTables folder.
Gelber Orlando Moran Silva
replied 4 weeks 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,

Gelber Orlando Moran Silva
replied 4 weeks 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

Staff replied 4 weeks ago

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

Gelber Orlando Moran Silva
replied 4 weeks 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

70% OFF

No Minimum, No Exceptions