vincent15000

Member Since 7 Months Ago

Experience Points
8,350
Total
Experience

1,650 experience to go until the next level!

In case you were wondering, you earn Laracasts experience when you:

  • Complete a lesson — 100pts
  • Create a forum thread — 50pts
  • Reply to a thread — 10pts
  • Leave a reply that is liked — 50pts
  • Receive a "Best Reply" award — 500pts
Lessons Completed
14
Lessons
Completed
Best Reply Awards
3
Best Reply
Awards
  • start your engines Created with Sketch.

    Start Your Engines

    Earned once you have completed your first Laracasts lesson.

  • first-thousand Created with Sketch.

    First Thousand

    Earned once you have earned your first 1000 experience points.

  • 1-year Created with Sketch.

    One Year Member

    Earned when you have been with Laracasts for 1 year.

  • 2-years Created with Sketch.

    Two Year Member

    Earned when you have been with Laracasts for 2 years.

  • 3-years Created with Sketch.

    Three Year Member

    Earned when you have been with Laracasts for 3 years.

  • 4-years Created with Sketch.

    Four Year Member

    Earned when you have been with Laracasts for 4 years.

  • 5-years Created with Sketch.

    Five Year Member

    Earned when you have been with Laracasts for 5 years.

  • school-in-session Created with Sketch.

    School In Session

    Earned when at least one Laracasts series has been fully completed.

  • welcome-newcomer Created with Sketch.

    Welcome To The Community

    Earned after your first post on the Laracasts forum.

  • full-time-student Created with Sketch.

    Full Time Learner

    Earned once 100 Laracasts lessons have been completed.

  • pay-it-forward Created with Sketch.

    Pay It Forward

    Earned once you receive your first "Best Reply" award on the Laracasts forum.

  • subscriber Created with Sketch.

    Subscriber

    Earned if you are a paying Laracasts subscriber.

  • lifer Created with Sketch.

    Lifer

    Earned if you have a lifetime subscription to Laracasts.

  • evangelist Created with Sketch.

    Laracasts Evangelist

    Earned if you share a link to Laracasts on social media. Please email [email protected] with your username and post URL to be awarded this badge.

  • chatty-cathy Created with Sketch.

    Chatty Cathy

    Earned once you have achieved 500 forum replies.

  • lara-veteran Created with Sketch.

    Laracasts Veteran

    Earned once your experience points passes 100,000.

  • 10k-strong Created with Sketch.

    Ten Thousand Strong

    Earned once your experience points hits 10,000.

  • lara-master Created with Sketch.

    Laracasts Master

    Earned once 1000 Laracasts lessons have been completed.

  • laracasts-tutor Created with Sketch.

    Laracasts Tutor

    Earned once your "Best Reply" award count is 100 or more.

  • laracasts-sensei Created with Sketch.

    Laracasts Sensei

    Earned once your experience points passes 1 million.

  • top-50 Created with Sketch.

    Top 50

    Earned once your experience points ranks in the top 50 of all Laracasts users.

  • Community Pillar

    Earned once your experience points ranks in the top 10 of all Laracasts users.

Level 2
8,350 XP
Jan
20
1 day ago
Activity icon

Awarded Best Reply on Livewire And Policy Not Working ... ?

I just find the error ... Sure I MUST be tired ... I applied the policy on the Energie model and I verified on the Categorie model. Hurry up => to bed !!! ;)

Activity icon

Replied to Livewire And Policy Not Working ... ?

I just find the error ... Sure I MUST be tired ... I applied the policy on the Energie model and I verified on the Categorie model. Hurry up => to bed !!! ;)

Activity icon

Started a new Conversation Livewire And Policy Not Working ... ?

Hello,

I need to allow or deny access to some methods in my Livewire component. I have already added a post about this problem, but I have tagged it resolved by clicking on the bad button (not resolved yet). So I write it again here ;).

Here is a part of my component code.

use Illuminate\Foundation\Auth\Access\AuthorizesRequests;

class CaracteristiqueComponent extends Component
{

    use AuthorizesRequests;

    ...

    public function create()
    {
        $this->authorize('create', 'App\Models\Energie');
        $this->resetFields();
    }

}

And here is a part of my policy code.

class EnergiePolicy
{
    use HandlesAuthorization;

    ...

    public function create(User $user)
    {
        return $user->isAdmin;
    }

    ...

}

And of course it is declared in AuthServiceProvider.

If I write return $false; instead of return $user->isAdmin;, the user is anyway able to create a new Energie recording.

What's wrong in my code ?

Thanks for your help.

Vincent

Jan
19
2 days ago
Activity icon

Replied to App\Model::latest()->get() Returns Empty Collection

Hey,

I think you have to use it like this.

DB::table('courses')->latest()->get();
Activity icon

Replied to Livewire And $this->authorize() Doesn't Work ... Why ?

Yes I have bound it. But it doesn't work.

class AuthServiceProvider extends ServiceProvider
{
    /**
     * The policy mappings for the application.
     *
     * @var array
     */
    protected $policies = [
        'App\Models\Energie' => 'App\Policies\EnergiePolicy',
    ];

    /**
     * Register any authentication / authorization services.
     *
     * @return void
     */
    public function boot()
    {
        $this->registerPolicies();

        //
    }
}
Activity icon

Started a new Conversation Livewire And $this->authorize() Doesn't Work ... Why ?

Hello,

I need to allow access to some methods in my Livewire component.

Here is a part of my component code.

use Illuminate\Foundation\Auth\Access\AuthorizesRequests;

class CaracteristiqueComponent extends Component
{

    use AuthorizesRequests;

    ...

    public function create()
    {
        $this->authorize('create', 'App\Models\Energy');
        $this->resetFields();
    }

}

And here is a part of my policy code.


class EnergiePolicy
{
    use HandlesAuthorization;

    ...

    public function create(User $user)
    {
        return $user->isAdmin;
    }

    ...

}

If I write return $false; instead of return $user->isAdmin;, the user is anyway able to create a new Energy recording.

What's wrong in my code ?

Thanks for your help.

Vincent

Jan
13
1 week ago
Activity icon

Replied to Problems With Upload / This Driver Does Not Support Creating Temporary URLs.

Hello I have also added the mime type to preview_mimes but this doesn't solve the problem for me.

What did you do exactly ?

Activity icon

Replied to Dynamic Validating Image Format With Livewire : Problem ?

ikInit() is a method I have created to initiate ImageKit. It work's fine.

I have seen on the web that temporaryUrl() only works with images and throws an exception if you try to use it with another type of file.

But I thought that the validation would have worked.

Activity icon

Started a new Conversation Dynamic Validating Image Format With Livewire : Problem ?

Hello,

I want to upload some images, but only images. I use a livewire component.

I have a validation code. But it seems it isn't working as I want it to do. I get an exception error : This driver does not support creating temporary URLs as soon as I try to upload some file which is not an image, but I would like the validation code working and show the error message in the view.

Who would have an idea to help me ? ;)

Here is a part of the code of the livewire controller.

protected $messages = [
    'photos.image' => 'Les fichiers à téléverser doivent être des images.',
    'photos.max' => 'Chaque image doit faire une taille inférieure ou égale à 25 MB.',
];

public function updatedPhotos()
{
    $this->validate(
        [
            'photos.*' => 'image|max:25600',
        ],
        $this->messages,
    );
}

public function upload()
{
    $ik = $this->ikInit();
    if ($this->photos)
    {
        $this->validate(
            [
                'photos.*' => 'image|max:25600',
            ],
            $this->messages,
        );
        foreach ($this->photos as $photo)
        {
            $response = $ik->uploadFiles([
                "file" => $photo->readStream(),
                "fileName" => $photo->getFilename(),
                "useUniqueFileName" => true,
                "folder" => $this->mev_id
            ]);
            if ($response->err === null)
            {
                $this->store($response->success);
            }
        }
        $this->emit('photos_saved');
        $this->photos = null;
    }
}

And here is the code of my livewire view.

<div>

    <div class="container text-center">
        <div wire:loading>
            <div class="lds-ellipsis"><div></div><div></div><div></div><div></div></div>
        </div>
        <div class="row no-gutters">
            @if ($photos)
                @foreach ($photos as $photo)
                    <div class="col-sm text-center mb-3">
                        <img class="nyd-miniature" src="{{ $photo->temporaryUrl() }}"/>
                    </div>
                @endforeach
            @endif
        </div>
    </div>

    <form wire:submit.prevent="upload" class="mt-3">
        <div class="custom-file">
            <input type="file" wire:model="photos" multiple class="custom-file-input">
            <label class="custom-file-label" for="customFile">Choisir une ou plusieurs photos</label>
            @error('photos') <span class="text-danger">{{ $message }}</span> @enderror
        </div>
        <button type="submit" class="btn btn-block btn-primary mt-3">Enregistrer</button>
    </form>

</div>

Thanks a lot for your answers ;).

Vincent

Jan
08
1 week ago
Activity icon

Replied to Query With Where() And OrWhere() ... "and Where" ?

Thank you very much. It works very well ;).

Activity icon

Started a new Conversation Query With Where() And OrWhere() ... "and Where" ?

Hello,

I want that the three conditions are evaluated together.

            ->when($this->filtre_statut_mev != 0, function ($query) {
                $query->where('mevs.statut', $this->filtre_statut_mev);
            })
            ->when($this->filtre_statut_vente != '', function ($query) {
                $query->where('ventes.statut', $this->filtre_statut_vente);
            })
            ->when($this->recherche != '', function ($query) {
                $query->where('velos.marque', 'like', '%'.$this->recherche.'%')
                    ->orWhere('velos.modele', 'like', '%'.$this->recherche.'%')
                    ->orWhere('velos.annee', 'like', '%'.$this->recherche.'%')
                    ->orWhere('clients.nom', 'like', '%'.$this->recherche.'%')
                    ->orWhere('clients.prenom', 'like', '%'.$this->recherche.'%');
            })

The first two ones are well evaluated when $this->recherche is empty. But as soon as it is not empty, the first two conditions aren't evaluated, until it becomes empty again.

Why ? I have tested without the four ->orWhere() lines and all is ok. But I have to evaluate this for lines too with ->orWhere().

How is it possible to do that ?

Thanks for your answer ;).

Vincent

Activity icon

Replied to Is It Possible To Sort On An Append Field ?

Thank you very much ;).

Activity icon

Started a new Conversation Is It Possible To Sort On An Append Field ?

Hello guys,

Is it possible to sort on an append field ?

protected $appends = ['complete_name'];
...
MyModel::orderBy('complete_name')->get();

I have tried with no success.

Thanks for your help ;).

Vincent

Dec
25
3 weeks ago
Activity icon

Awarded Best Reply on Problem To Save A Config Param Into A Variable

I wouldn't have written any code today ... I have found the solution ...

The problem wasn't about the code itself => I forgot to write some parameters in the config file.

Activity icon

Replied to Problem To Save A Config Param Into A Variable

I wouldn't have written any code today ... I have found the solution ...

The problem wasn't about the code itself => I forgot to write some parameters in the config file.

Activity icon

Awarded Best Reply on Collection Update Et Dynamic Render

I have found the solution ;).

Activity icon

Replied to Collection Update Et Dynamic Render

I have found the solution ;).

Activity icon

Replied to Problem To Save A Config Param Into A Variable

I progress, but I don't have the solution yet.

I have tried this.

// It doesn't work
$this->classe = 'App\Models\'.config('caracteristiques.'.$this->caracteristique.'.modele);
$this->list = $this->classe::all();

And this ...

// It works fine
$this->classe = 'App\Models\'.'Energie';
$this->list = $this->classe::all();

If you know why, I am interested in having the solution ;).

Activity icon

Replied to Problem To Save A Config Param Into A Variable

I want to add something ... I have tried to access directly to the value like this.

$attributs = config('caracteristiques.'.$this->caracteristique.'.table);

No problem to access the value within the mount() method, the variable has the right value.

But out of the mount() method, the variable is null.

Activity icon

Started a new Conversation Problem To Save A Config Param Into A Variable

Hello,

Merry Christmas to each one ;).

If you could help me, it would be nice ... There is a strange behavior of my code. What's wrong with it ?

// My config file
"caracteristiques" => [
        'energie' => [
            'table' => 'energies',
            'modele' => 'Energie',
            'singulier' => 'énergie',
            'pluriel' => 'énergies',
        ],
],
// My code in the mount method of a livewire component
$attributs = config('caracteristiques.'.$this->caracteristique); // line 1
// line 2
$this->table = $attributs['table']; // line 3

If I do on line 2 a dd($attributs) or a dd($attributs['table']), it works fine => the dd() shows me the right value.

But if I have the code like this one just over (only lines 1 and 3), I get this error.

Trying to access array offset on value of type null

Why ?

I don't understand.

Thanks for your help ;).

Vincent

Dec
23
4 weeks ago
Activity icon

Replied to Blank Page Instead Of Livewire Component Refreshes => What's Wrong With My Code ?

Oh yes you helped me very much ;).

Thanks a lot !!! ;) ;) ;)

Activity icon

Replied to Blank Page Instead Of Livewire Component Refreshes => What's Wrong With My Code ?

Ok ... that's strange for me because I'm used to protect all my routes with some middlewares.

But my togglePublish is a public method.

Well ... I'm not so good in security ;). The beginning of this project was done by another developer and I have to continue it for the client. I have confidence in the middlewares but I am skeptical with livewire.

You told me about using a policy. Is it exactly like with a standard controller ? I did never use any Gate I have coded myself, but I have already tested the policies.

Activity icon

Replied to Blank Page Instead Of Livewire Component Refreshes => What's Wrong With My Code ?

What do you mean saying that the page is protected ?

Actually the page is carateristique.blade.php and in this page I have several livewire components like my energy livewire component.

And this page is accessible via CaracteristiqueController which return to the caracteristique.blade.php view.

And the CaracteristiqueController is protected with the Admin middleware like in the extract of my web.php file below.

Route::group(['middleware' => ['auth', 'Admin']], function() {
    Route::prefix('admin')->group(function()
    {
        Route::get('caracteristiques', [CaracteristiqueController::class, 'index']);
    });
});

Is it enough to have the togglePublish, add, delete, ... methods protected ?

Activity icon

Replied to Blank Page Instead Of Livewire Component Refreshes => What's Wrong With My Code ?

On the same form, I have to be able to add or delete some energies.

And this page is accessible only for an admin user.

Activity icon

Replied to Blank Page Instead Of Livewire Component Refreshes => What's Wrong With My Code ?

Oh that's it ;) ... thank you very much.

But I have now another problem ... my togglePublish is not any more protected via the middleware.

Is it possible to protect the access to the togglePublish method with my Admin middleware ?

Activity icon

Replied to Blank Page Instead Of Livewire Component Refreshes => What's Wrong With My Code ?

I just tested this.

@foreach ($energies as $energie)
    <tr>
        <td class="align-middle">{{ $energie->nom }}</td>
        <td class="text-center align-middle">
            @if (isset($energie->published))
                    <button wire:click="togglePublish({{ $energie }})" class="btn btn-xs {{ $energie->published == true ? 'btn-primary' : 'btn-danger' }}"><i class="fa fa-check-circle fa-lg"></i></button>
            @endif
        </td>
        <td>
            <a class="btn btn-xs btn-outline-success">Modifier</a>
            <a class="btn btn-xs btn-outline-danger">Supprimer</a>
        </td>
    </tr>
@endforeach

It works fine with wire:click, but not when I use a form.

So my new question is : how is it possible to have wire:submit work as it works with wire.click ?

Activity icon

Replied to Blank Page Instead Of Livewire Component Refreshes => What's Wrong With My Code ?

Oh yes thank you this was a first error.

There should be another error because I have the same problem again.

Activity icon

Replied to Blank Page Instead Of Livewire Component Refreshes => What's Wrong With My Code ?

There is no javascript error and I have @livewireScripts and @livewireStyles in my main layout.

I get a blank page for the same reason I could get a blank page when I work with a standard controller if I want for example to update a model without setting any return redirect()->route(); --- well ... it seams to be similar, but I do not understand why the code refreshes the entire page and not only the livewire component ---.

Activity icon

Replied to Blank Page Instead Of Livewire Component Refreshes => What's Wrong With My Code ?

Oh you wanted the full view ...

Ok ... here is it ;) => full view of the component.

No javascript error.

<div>
    <div class="mb-2">
        Liste des {{ $energies->count() }} énergie(s)
    </div>
    <div class="table-responsive">
        <table class="tableau table table-striped table-bordered table-hover" data-filter=#filter>
            <thead>
            <tr>
                <th class="text-left">Nom</th>
                <th class="text-left">Publié</th>
                <th>Actions</th>
            </tr>
            </thead>
            <tbody>
                @foreach ($energies as $energie)
                    <tr>
                        <td class="align-middle">{{ $energie->nom }}</td>
                        <td class="text-center align-middle">
                            @if (isset($energie->published))
                                <form method="POST" action="{{ route('energie_toggle_publish', ['energie' => $energie]) }}">
                                    @csrf
                                    <button wire:submit.prevent="togglePublish({{ $energie }})" class="btn btn-xs {{ $energie->published == true ? 'btn-primary' : 'btn-danger' }}"><i class="fa fa-check-circle fa-lg"></i></button>
                                </form>
                            @endif
                        </td>
                        <td>
                            <a class="btn btn-xs btn-outline-success">Modifier</a>
                            <a class="btn btn-xs btn-outline-danger">Supprimer</a>
                        </td>
                    </tr>
                @endforeach
            </tbody>
        </table>
    </div>
</div>
Activity icon

Replied to Blank Page Instead Of Livewire Component Refreshes => What's Wrong With My Code ?

I just noticed thath I have a POST action in the form and a wire:submit.prevent in the button.

I have to change one.

Sorry I didn't want to click on best answer ... the post has no solution yet ;).

Activity icon

Replied to Blank Page Instead Of Livewire Component Refreshes => What's Wrong With My Code ?

That's not the full code.

Here more complete.

@foreach ($energies as $energie)
    <tr>
        <td class="align-middle">{{ $energie->nom }}</td>
        <td class="text-center align-middle">
            @if (isset($energie->published))
                <form method="POST" action="{{ route('energie_toggle_publish', ['energie' => $energie]) }}">
                    @csrf
                    <button wire:submit.prevent="togglePublish({{ $energie }})" class="btn btn-xs {{ $energie->published == true ? 'btn-primary' : 'btn-danger' }}"><i class="fa fa-check-circle fa-lg"></i></button>
                </form>
            @endif
        </td>
        <td>
            <a class="btn btn-xs btn-outline-success">Modifier</a>
            <a class="btn btn-xs btn-outline-danger">Supprimer</a>
        </td>
    </tr>
@endforeach

Activity icon

Started a new Conversation Blank Page Instead Of Livewire Component Refreshes => What's Wrong With My Code ?

Hello,

I get a blank page instead of livewire component refreshes. So what's wrong with my code ? If you could help me, it would be wonderful.

Here is my code

// Controller
Route::put('energies/{energie}/togglePublish', [EnergieComponent::class, 'togglePublish'])->name('energie_toggle_publish');

// Component
public $energies;

public function mount()
{
    $this->energies = Energie::orderBy('nom')->get();
}

public function render()
{
    return view('livewire.energie', ['energies' => $this->energies]);
}

public function togglePublish(Energie $energie)
{
    $energie->published = ! $energie->published;
    $energie->update();
    $energies = Energie::orderBy('nom')->get();
}

// View
<form method="POST" action="{{ route('energie_toggle_publish', ['energie' => $energie]) }}">
    @csrf
    @method('PUT')
    <button wire:submit.prevent="togglePublish({{ $energie }})" class="btn btn-xs {{ $energie->published == true ? 'btn-primary' : 'btn-danger' }}"><i class="fa fa-check-circle fa-lg"></i></button>
</form>

Thanks for your help ;).

Vincent

Activity icon

Replied to Refresh A Component When Updating Database

Is it possible to emit an event from a controller (out of a livewire component) ?

Activity icon

Started a new Conversation Collection Update Et Dynamic Render

Hello,

I discover Livewire, it seems not difficult. But I'm trying to do something I don't find the solution.

I have a several lists of categories and I want to show them in a table. Each table show a list of attributes of the category in a tab. When I click on another tab, it shows another list of attributes for another category.

In a tab I have a button to show a modal window to add a new attribute. And in the table I have a button to delete an attribute.

What I want to do is : when I add a new attribute or delete an existing attribute, only the list of this category render again (not the other lists in the other tabs).

For this, I have created a livewire component (php artisan make:livewire Category).

I have tried several solutions, no one is good.

How can I do this ?

Thanks for your help.

Vincent

Dec
18
1 month ago
Activity icon

Replied to Routes With {id} Or {user} While Migrating ?

Well ... what's strange is that with the 5.8 laravel version, it worked fine. Why ?

Dec
17
1 month ago
Activity icon

Started a new Conversation Routes With {id} Or {user} While Migrating ?

Hello,

I'm migrating a project from 5.8 to 8.x laravel version.

I have a problem with several routes that where written by the first developer of the app. These routes worked fine with the old laravel version, but does not work with the 6.x version (first step migration to 8.x).

In the views there is : route('user.show', ['id' => $user->id]) that I have to change to route('user.show', ['user' => $user->id]) to be working with the 6.x version.

There are similar changes to do in the views and the controllers with many models when calling routes.

I have started to change all routes in every view and controller. But it is very long to do and it's possible I forget some changes.

Is there an easy way to do this without changing all the routes and still using model binding in the controllers ?

I wonder I already have the answer : no ... I just hope I have it wrong ;).

Thanks for your help.

Vincent

Activity icon

Started a new Conversation Laravel Migration - String Primary Key ?

Hello,

I am working on a project started by another developer. First of all I have to migrate from 5.8 to 8.x.

I have a question about the migration 5.8 => 6.x.

I have some tables on which the primary key is of type : char(36) (MariaDB) / $table->uuid('id'); in the migration file.

According to this topic :

https://laravel.com/docs/6.x/upgrade#eloquent-primary-key-type

Is char(36) considered as a string ? Is it necessary to declare $keyType in the models ?

Thanks for your answer.

Vincent

Dec
02
1 month ago
Activity icon

Replied to Refresh A Component When Updating Database

In my blade file, I include the component like this.

@livewire('ingredients', ['recipe', $recipe])

And the ingredients.blade.php has a loop through $recipe->products as $product ... (hum ... a recipe has several products called ingredients, the ingredients table is the pivot table).

When I delete an ingredient, it doesn't refesh only the ingredients component.

I have tried to use wire:click to submit the form but I now think that it doesn't work like this.

I try something tomorrow.

Thant you ;).

Activity icon

Started a new Conversation Refresh A Component When Updating Database

Hello,

I discover Livewire and I don't understand all I have read. I'm working on a personal project : an app to manage recipes.

I'm trying to set a Livewire component : Ingredients, which shows the list of the ingredients of a recipe. On the recipe page, there are three main blocks : recipe identity, ingredients and steps.

When adding, deleting or updating an ingredient, is it possible to refresh only the ingredients block ? I don't have found the solution for hours. I'd like to do something similar to what I can do with a jQuery ajax.post() function for example and dynamically load the result in the ingredients block.

Thank you for your answer.

Vincent

Activity icon

Started a new Conversation Livewire And POST, PUT, DELETE ?

Hello,

I discover Livewire and it seems to be strange for me.

Is it possible to use Livewire and the POST, PUT or DELETE method with wire:click ?

Thank you for your answer.

Vincent

Dec
01
1 month ago
Activity icon

Replied to How To Store Multiple Identical Select Fields ?

Oh thank you very much. I didn't know it was possible. That's exactly what I need. ;)

Activity icon

Replied to How To Store Multiple Identical Select Fields ?

Yes that's it. Here is a screen capture of the form.

https://drive.google.com/file/d/1t8clBrBgtjWSzvwd7mfam7NI5ZYjNxeD/view?usp=sharing

Doing this with a database transaction is not a problem for me. What I don't know how to do is the form. Do I have to retrieve the data with jQuery to make an array or is there a simpler way ?

Well perhaps a better question : how can I do my form in order to be able to retrieve an array of ingredients ?

Activity icon

Replied to How To Store Multiple Identical Select Fields ?

Sure I can. Here it is.

Recipe
- description
- portions_number
- preparation_time
- standing_time
- cooking_time

Product
- name

Ingredient
- recipe_id
- product_id
- quantity
- unit_id

There is no problem to show the recipe and its ingredients.

The problem is to create a new recipe with all its ingredients with one unique form.

Activity icon

Started a new Conversation How To Store Multiple Identical Select Fields ?

Hello,

I'm working on a personal project : an app to save recipes. I have two tables : recipes and ingredients, one recipe have many ingredients.

I want to have only one form with the fields for the recipe and the fields for the ingredients. So I have a button to add a new ingredient (jQuery, clone of a row containing three fields : quantity, unit, product name in the form). The product name is a select field. There will be one, two, three or more ingredients, and then one, two, three or more quantity fields, unit fields and product name fields.

Is it possible to retrieve all fields through a simple way ? The perfect case would be an array with the ingredients. How is it possible ?

Thanks a lot for your help.

Vincent

Nov
30
1 month ago
Activity icon

Replied to Blade And Blinking On Page Refresh

46x28px

I will put the website on the server and then I post the address here so you can see ;).

Activity icon

Replied to Blade And Blinking On Page Refresh

I tried with a smaller image, but it doesn't change the behaviour of blinking.

Perhaps it's due to Bulma.

That's a mystery ...

Activity icon

Replied to Blade And Blinking On Page Refresh

I let you see something with a website I've done for my son. That's not the website on which I have the problem.

https://www.nathan-erhart.fr/

When you click on Réalisation and then on any other menu on the top, you have a logo on the left. And when you click on another menu, the logo don't seem to be reloaded (but it is !).

On my personal projet, when the logo reloads, it generates a problem with the position of the menu which is pushed to the right when the logo loads and inserts itself on the left.

Activity icon

Replied to Blade And Blinking On Page Refresh

I try it and I tell you if it works.