Releases: dewsign/nova-pages
BelongsTo SingularLabel issue
Featured Video
- Option to disable featured images
- New optional featured video field
Add inactive page access functionality.
In conjunction with the maxfactor/support update to enable control over access for inactive models.
Please refer to the maxfactor/support documentation for a full explanation of this.
Added HTML language functionality
You are able to change what html lang type the page will be on creation. You can enable this functionality by setting the enableLanguageSelection config value to true.
To implement this into your markup, we suggest adding this to your layouts.default view:
<html lang="{{ array_get($page ?? [], 'language', app()->getLocale()) }}">There is a defaultLanguage config variable that you are free to customise to suit your application. This package comes with en-GB set as the default language.
Laravel 6 compatibility
v1.3.0 1.3.0
Page model HomepageSlug function
Add a function to the Page model that returns the slug that should be used for the homepage.
Fix slug field bug
The slug field had stopped auto filling when setting page title. This release fixes that annoying little bug!
Sub Domain Folder Mapping
You can now correctly map any first level page (e.g. /careers) to a sub-domain, careers.mydomain.com and this package will automatically redirect to the correct full url when using the correct route domain.pages.show or when a page is access on the root domain.
If you are using Domain Maps already it is important to note that you will need to ensure that any non-page routes in your app go to the the correct domain name. We recommend always routing to full URLs rather than relative path.
If you are not using the domain map already, this should be fully backwards compatible and not affect existing installations.
v1.1.12: Merge pull request #17 from dewsign/fix-self-assigned-parent
Validation to ensure that a page cannot be assigned itself as it's own parent