I’m working with the voyager admin panel and when I do the BREAD on my table then I try to edit anything it gives me this error Call to undefined method AppModelsPosts::getTranslationsOf() (View: /Users/bee/Desktop/beeT/vendor/tcg/voyager/resources/views/posts/edit-add.blade.php) I can’t figure out what’s the problem exactly this is my posts.php model <?php namespace AppModels; use IlluminateDatabaseEloquentFactoriesHasFactory; use IlluminateDatabaseEloquentModel; class ..
Category : voyager
I’m using voyager admin panel for my website. I have more than 3000 products. How Can I add duplicate/clone a product button in voyager admin panel? Sourc..
I am still sort of a newbie with Laravel, and I want to install the Voyager admin panel in an existing Laravel app that is not too far along yet in development. The GitHub for Voyager is here: Voyager Laravel Admin The CLI is: [email protected] PortalRads % composer require tcg/voyager Using version ^1.4 for tcg/voyager ..
I have a question regarding Voyager Laravel Admin (BREAD). I have a relation ship (ads – belongsTo -> game). And the ads have many types, and the types have also a game parameter. In Voyager it works, i can select a type for the ads. But i want only the types displayed, that are from ..

I was working on a migration in my project and instead of running php artisan migrate I ran php artisan migrate:fresh and this then cleared all my tables and the data in them. Now my DB has all blank tables but now I am running into an issue when I am trying to seed it ..
I am a beginner in Laravel and working on a Laravel Voyager admin panel and I have a BREAD table to store user’s addresses. There are three dropdowns where user needs to choose their country, followed by state and city. When user selects a certain country, the options for the second dropdown will be restricted. ..

I am trying to create a select option with the text "NA" with a value of "" in the select option however if the value is set to ” it doesnt render ( as evidenced in the image below, the NA option is missing. Why is that? $dataType->addRows[$key]->display_name == "Service Provider") <select id="service_provider_ID" class = ..
When I try to install voyager on laravel 8 with composer: composer require tcg/voyager It starts installing, but then flashes error message: Install of tcg/voyager failed Installation failed, reverting ./composer.json and ./composer.lock to their original content. [RuntimeException] Failed to clone https://github.com/the-control-group/voyager.git, git was not found, check that it is installed and in your PATH env. ..
I am working on a laravel project and trying to duplicate a record in mysql db. after replication I want to set a field value to null(appointment_status). everything is working except the new record’s value (appointment_status) is the same as the original record even tho I set it to null. $newAppointment = $appointment->replicate(); //push to ..
I am using voyager admin panel in my laravel app. And there are two models: Design Post I created a relationship through the voyager admin panel, the built in "Create a relationship" button. The relationship is as follows: class Design extends Model { public function posts() { return $this->hasMany(Post::class); } } class Post extends Model ..