Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
essamtariq123 opened this issue Feb 22, 2023 · 6 comments

Comments

@essamtariq123
Copy link

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

@simonhamp
Copy link
Owner

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

@simonhamp
Copy link
Owner

@essamtariq123 any luck finding it?

@jgodstime
Copy link

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

@simonhamp
Copy link
Owner

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

@liliced
Copy link

liliced commented May 16, 2023

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 :)

@simonhamp
Copy link
Owner

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants