-
-
Notifications
You must be signed in to change notification settings - Fork 41
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
Update docs to registering options #54
Comments
Took me a while but I finally got to it. Thank you very much for the report. |
How can we access this page information in a controller?, I need to use a select field to set the currency in the system. |
You can use the Page facade: https://whitecube.github.io/nova-page/#/?id=useful-facade-methods More specifically the |
2 similar comments
You can use the Page facade: https://whitecube.github.io/nova-page/#/?id=useful-facade-methods More specifically the |
You can use the Page facade: https://whitecube.github.io/nova-page/#/?id=useful-facade-methods More specifically the |
Thanks I tried to use it but it shows an error: "Class 'Page' not found" |
use \Page;
// or
use Whitecube\NovaPage\NovaPageFacade as Page; |
From AppServiceProvider
$pages->registerOption('general', GeneralOptions::class);
don't works$pages->register('option', 'general', GeneralOptions::class);
it worksThe text was updated successfully, but these errors were encountered: