Skip to content

Releases: dewsign/nova-pages

BelongsTo SingularLabel issue

20 Jan 11:37

Choose a tag to compare

Nova v2.9.0 changed how the label on BelongsTo and HasMany fields work, now always using the singularLabel rather than the name. This release adds the ->singularLabel('Parent') to the Page Nova resource.

Featured Video

19 Nov 13:03

Choose a tag to compare

  • Option to disable featured images
  • New optional featured video field

Add inactive page access functionality.

14 Nov 14:40

Choose a tag to compare

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

13 Nov 10:55

Choose a tag to compare

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

21 Oct 09:29

Choose a tag to compare

Page model HomepageSlug function

13 Sep 10:29

Choose a tag to compare

Add a function to the Page model that returns the slug that should be used for the homepage.

Fix slug field bug

01 Jul 15:37

Choose a tag to compare

The slug field had stopped auto filling when setting page title. This release fixes that annoying little bug!

Sub Domain Folder Mapping

10 May 08:05

Choose a tag to compare

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

23 Apr 16:07
5a5c43f

Choose a tag to compare

Validation to ensure that a page cannot be assigned itself as it's own parent

v1.1.11

18 Mar 10:02

Choose a tag to compare

When the homepageSlug is accessed we will now automatically redirect to / to avoid the homepage being accessible on multiple URLs.