laravel-nova-csv-import icon indicating copy to clipboard operation
laravel-nova-csv-import copied to clipboard

Not seeing anything after following the instructions of installing and registering inside the NovaServiceProvider

Open essamtariq123 opened this issue 3 years ago • 6 comments

Hi, I have installed the package and followed the instructions on registering inside the tools on NovaServiceProvider.

I cant see the import button on any of my resources even when I add

public static $canImportResource = true;

I am using Laravel Nova 4. Thanks

essamtariq123 avatar Feb 22 '23 13:02 essamtariq123

@essamtariq123 It doesn't appear on your resources, it appears in the navigation as a whole separate section of your Nova admin

simonhamp avatar Mar 05 '23 20:03 simonhamp

@essamtariq123 any luck finding it?

simonhamp avatar Apr 18 '23 11:04 simonhamp

Same issue here, i cant find anything after following the steps

jgodstime avatar Apr 30 '23 09:04 jgodstime

@jgodstime please share a screenshot of your Nova navigation and the code you've used to register the tool

simonhamp avatar May 01 '23 13:05 simonhamp

I had the same issue. For me it was because I customized Nova's menu. As mentioned in Nova's doc

If you have customized Nova's main sidebar menu, a link to your tool will not automatically display in Nova's sidebar. You will need to manually define your tool's menu inside your custom Nova::mainMenu callback.

So in the Nova::mainMenu callback I added

MenuSection::make('CSV Import')
    ->path('/csv-import')
    ->icon('upload'),

and it solved it :)

liliced avatar May 16 '23 08:05 liliced

Nice one @liliced! I will add this to the readme

@essamtariq123 @jgodstime have either/both of you also customised the Nova menu in this way? Could this fix also work for you?

simonhamp avatar May 16 '23 10:05 simonhamp