Search found 44 matches
- 21 Aug 2019, 07:59
- Forum: Laravel package
- Topic: Form action getting url instead of route and addData to view
- Replies: 9
- Views: 11228
Re: Form action getting url instead of route and addData to view
Sorry I can't understand. I will try to explain better what I want. I have a form. Every option of this form must execute a php function (that can be inside the process/addData functions) and display the new data without refreshing the page. I must NOT use JQuery. Can you show me an example form and...
- 20 Aug 2019, 15:13
- Forum: Laravel package
- Topic: Form action getting url instead of route and addData to view
- Replies: 9
- Views: 11228
Re: Form action getting url instead of route and addData to view
How can I understand if I'm sending data through form inside the "process" function?
- 20 Aug 2019, 11:48
- Forum: Laravel package
- Topic: Form action getting url instead of route and addData to view
- Replies: 9
- Views: 11228
Re: Form action getting url instead of route and addData to view
Is there a way to modify the view after submitting the form from the controller?
- 07 Aug 2019, 12:06
- Forum: Laravel package
- Topic: Form action getting url instead of route and addData to view
- Replies: 9
- Views: 11228
Re: Form action getting url instead of route and addData to view
I found the solution so I changed the form like this: <form method="POST" action="<?= route('changecar'); ?>"> <?= $this->csrf()->formfield(); ?> <select> <option value="3">Volvo</option> <option value="1">Saab</option> <option value="2">Mercedes</op...
- 07 Aug 2019, 10:09
- Forum: Laravel package
- Topic: Form action getting url instead of route and addData to view
- Replies: 9
- Views: 11228
Form action getting url instead of route and addData to view
Hi, I tried to create a form inside an existing template. I have the same form inside the welcome.blade.php template so I'm sure that the form works. I added the route in right page and everything else. Here is the example code of the form: <form method="POST" action="{{ route('change...
- 02 Aug 2019, 15:12
- Forum: Laravel package
- Topic: Check if admin is already logged in and question about session
- Replies: 2
- Views: 1393
Re: Check if admin is already logged in and question about session
I was creating the wrong type of middleware because I was trying to get the user before the response of the login. I had to create a middleware like this one: public function handle($request, Closure $next) { $response = $next($request); // Perform action return $response; }
- 02 Aug 2019, 08:55
- Forum: Laravel package
- Topic: Check if admin is already logged in and question about session
- Replies: 2
- Views: 1393
Check if admin is already logged in and question about session
Hi, I'm creating a global middleware and I need to know if an admin user is logged in or not. I tried Auth::check() but it always return false. How do you store the session? How can I retrieve the data of the admin user and the session? I'm using php 7.3, aimeos 2019.07.02 and laravel 5.8. Thanks
- 12 Jul 2019, 12:38
- Forum: Laravel package
- Topic: Create/modify product through API
- Replies: 7
- Views: 3027
Re: Create/modify product through API
Well, I have to create more API calls but how can I do that?
In the documentation I can't find how to create an API but only how to use them.
In the documentation I can't find how to create an API but only how to use them.
- 12 Jul 2019, 09:59
- Forum: Laravel package
- Topic: Create/modify product through API
- Replies: 7
- Views: 3027
Create/modify product through API
Hi,
How can I create/modify a product through API?
I need to create a POST and PUT api for the product. How can I do that?
How can I create/modify a product through API?
I need to create a POST and PUT api for the product. How can I do that?
Code: Select all
Enviroment:
Aimeos 2019.07.02
Laravel 5.8
Mac OS
- 05 Jul 2019, 09:27
- Forum: Laravel package
- Topic: [CLOSED] Replace template Aimeos 2019.07
- Replies: 0
- Views: 13414
[CLOSED] Replace template Aimeos 2019.07
Hi, I'm using Aimeos 2019.07 with Mac OS. I'm trying to replace a partial template ext/ai-client-html/client/html/templates/catalog/detail/body-standard.php In the old version, I created the same path in my extension: ext/my-ext/client/html/templates/catalog/detail/body-standard.php and that worked ...