sirvantos sirvantos
11
As soon as i moved project (based on official Nova upgrade guide) on Nova 3.18.0 (from 3.8.0) i have faced with js error TypeError: e.cards is undefined on Dashboard. my steps: coping nova 3.18.0 to project nova folder php artisan nova:publish php...
jjmu15 jjmu15
7
Hi all, I'm wondering if it is possible to log requests from a user (via an authenticated API request for example) using the actionable trait of Nova so I can see in the nova interface exactly who and when updated a resource? I looked in the Nova doc...
gianmarx gianmarx
5
there is a plug-in that manages to call a command from the web interface. I created a command with php make: command and I wanted to call it from the web interface only I was wondering if it was possible with laravel nova ?...
fullerton fullerton
5
So I'm attempting to add a Value metric that will sum the value of (quantity * price) in an order_lines table. I've tried things like public function calculate(NovaRequest $request) { return $this->sum($request, OrderLine::select(\...
Hi, I'm trying using Laraval Nova Trend Metric, but the output is wrong. Do you guys know why I get numbers like this 0.90k, 0.80k, 0.70k instead of 900, 800, 700 ? Database screenshots here: https://imgur.com/a/Xk9qPbq Nothing fancy added at all in...
MB replied
Solved
realhelmi realhelmi
1
Hey guys, I wanted to know where you are on the question of using Laravel Nova as base for an admin area vs. hand crafting stuff using something like Quasar. Personally I like Nova quite a bit but I'm not yet sure about the customization options. It...
Hi, I'm trying to translate some of the Nova application into my local language (danish). I found this page: https://nova.laravel.com/docs/3.0/customization/localization.html Tells me to create a copy of the lang file: php artisan nova:translate dk...
bernhardh bernhardh
0
Hello, is there a way, to use a nova BelongsTo field with the searchable method, but prepopulate / prefill the selectbox with the available options? I mean, lets say I in my article resource, I have a BelongsTo field with users: BelongsTo::make('User...
Fluber Fluber
0
Hello. I use this package: https://github.com/ziffmedia/nova-select-plus I need select the same values several times. How I can do it? I have a field: SelectPlus::make(__('Products'), 'products', \App\Nova\Product::class)->rules('required')...
gianmarx gianmarx
3
in my db table i have text field with a url: link : https://.... when I go to represent it with the Resource Nova I can get the field but it is not clickable, or so: Text::make('Link'), otherwise i found this solution but i don't know ho...
m615 m615
3
I have a User model and I've created an organization model. I User should have the ability to create a new Organization and edit the organization I've added an organization_id to my Users table so that once the Organization is created I can find it t...
ms1987 replied
Solved
gianmarx gianmarx
2
php artisan php artisan make:policy UserPolicy -m User Command "php" is not defined. i am trying to create a policy on Nova but i get this strange error...
sr57 replied
Solved
gianmarx gianmarx
2
how can i display but not modify some fields such as the api_token field in User ? I have the User resource like this: public function fields(Request $request) { return [ ID::make()->sortable(), Gravatar::make()->maxWidth(5...
GilG GilG
6
Hello, I cast the date fields as this in the eloquent model : protected $dates = [ 'created_at' => 'datetime:Y-m-d H:i:s', 'updated_at' => 'datetime:Y-m-d H:i:s', 'deleted_at' => 'datetime:Y-m-d H:i:s', 'bille...
iamoat iamoat
0
I am trying to create a Resource Tool that can display in a create form. It looks like this is not doable in default Nova. Somehow I noticed that the "CreateForm.vue" includes "custom-create-header" tag . I would like to know what...
Viatori Viatori
5
Hi, I'm using laravel nova. I added model observer. Like that when resource is created, updated etc... observer can call other methods. created event and deleted event are called great. but updated event is not called. Do you know why ? here : https:...
gianmarx gianmarx
5
I have a 1: n relationship between the Language table and the Users Schema::create('users', function (Blueprint $table) { $table->id(); $table->string('name'); $table->string('email')->unique(); $table-...
gianmarx gianmarx
0
i installed this package on nova for translations : https://github.com/spatie/nova-translatable just that it shows me for example the articles in one language see them in all languages? https://drive.google.com/file/d/1eYSYbooxesgs3n-x7mE9KXqUNBYHK4p...
gianmarx gianmarx
9
I have two tables User and Article how can I show a certain user only his articles? and not the articles of other users?...
ergezcaner ergezcaner
3
I've uploaded my site to hosting today. I did my redirect with a simple htaccess file. I can add resources, but I can't view pictures. .htaccess file RewriteEngine on # serve existing files in the /public folder as if they were in / RewriteCond %{DO...
xmarkclx xmarkclx
2
Is it possible to have multicolumn layout with Laravel Nova. Kind of like this: imgur com/a/ux8pdGl...
User1980 User1980
4
Hello, When I use Vue I like to see certain fields when I select others. I would like to know if Nova as an easy way of doing this (built within the framework). ie: Select button A and B if I select A show text field C If I select B show text field D...
chriss39 chriss39
6
I have a simple quantity field, price field and I can't figure out how to calculate a total field where I will hide it on the creating and updating. When I create a record I would like to take say quantity of 10 and price of 5 and total would be sav...
Reached Reached
1
Hi guys, I found a way to redirect straight to a resource when visiting my Nova dashboard, however ideally I would want to completely hide the Dashboard link in the sidebar, has anyone found a way to do this? Thanks!...
Romas D. Romas D.
1
For some reason, I need dynamically add columns in the fields method. This is not only dynamic columns but also contains computed fields. This is very simplified version of what I'm trying to do inside fields(): $additional_fields = []; Product::vis...
gianmarx gianmarx
7
i installed this package on laravel nova https://github.com/u12206050/switch-locale. after following the instructions to the letter I get the following error as soon as I load the following code into the provider: public function tools() { retur...
anditsung anditsung
3
i have post model with belongsto user some of the user is not active how to show only active user on belongsto?...
medlab medlab
0
As the title suggests im trying to remove the sidebar navigation from a tool i have made. The tool is a wallboard that we want to display on a tv, and i was just wondering if there was a simple way of removing the sidebar only for one tool and not ev...
yousails yousails
4
When I installed nova, open http://app.test/nova/login, this error was arise....
gianmarx gianmarx
1
I created a 1 to n relationship between User and Article. Model User: public function articles() { return $this->hasMany(Article::class); } Model Article public function articles() { return $this->hasMany(Article::class); } in Resourc...
gianmarx gianmarx
0
ho creato questo middleware Set Language: public function handle(Request $request, Closure $next) { \App::setLocale($request->language); URL::defaults(['language' => $request->language]); $request->route()->forgetParam...
gianmarx gianmarx
3
I have installed the package composer require spatie/nova-translatable then following what is written in the documentation I entered: \Spatie\NovaTranslatable\Translatable::defaultLocales(['en', 'fr']); in AppServiceProvider as follows: <?php n...
Solvando Solvando
2
Is that possible to customize items buttons in Nova? This: https://imgur.com/a/OFp8NfB...
Boubou Boubou
2
Hello, Is there any updated courses for Nova please? I read some articles that between 2018 and 2020 a lot of changes happened: https://laracasts.com/series/laravel-nova-mastery When you install it, can you actually customize the registration and log...
bernhardh bernhardh
6
Let's say, I want to replace the nova/ressources/js/components/Form/FieldWrapper.vue with a custom one (add some CSS classes or add additional HTML), how to do this, without making changes to the /nova directory (to be able to update nova)? The useca...
Create a New Discussion Button