What's New With 4.1.0
ContentBox v4.1.0 is a minor release sporting a focus on stability from our 4.0.0 release and some great new improvements. Let's explore this release:
This is a minor release, so a simple
box update contentbox
will get you upgraded to this release.ContentBox has been upgraded to work with ColdBox 5.1.x
All content editors have the following new events being announced:
- Editor Navigation Tab Area
- These events fire after the final tab in a content editor, usually so you can add your own tabs
cbadmin_pageEditorInBody
cbadmin_ContentStoreEditorNav
cbadmin_entryEditorNav
- Editor Navigation Body Area
- These events fire after the final tab content panel, usually so you can add your own tab panels
cbadmin_pageEditorNavContent
cbadmin_contentStoreEditorNavContent
cbadmin_entryEditorNavContent
If you are building custom ContentBox modules that attach menus to the admin menu, then this update is for you. All remove and add methods for menus now will not throw up if you reference a non-existent menu or sub menu. Cleanup is now easier since you can remove at your heart's content without worrying of getting an exception.
The service layer for content objects has been updated with many new arguments and methods. As always, check out the API Docs (https://apidocs.ortussolutions.com/contentbox/4.1.0/index.html) for further insight.
findPublishedContent()
- Added a
sortOrder
argument
search()
parent
argument can now be an entity or an entity ID- New
slugPrefix
argument which you can use to root a search on a specific content hierarchy. Ex:slugPrefix = "products"
will search for all content underproducts/*
findPublishedContent()
parent
argument can now be an entity or an entity ID- New
slugPrefix
argument which you can use to root a search on a specific content hierarchy. Ex:slugPrefix = "products"
will search for all content underproducts/*
search()
- Added a
sortOrder
argument
- [CONTENTBOX-1019] - bug when creating new content, it fired a publishd nagging when saving and not publishing
- [CONTENTBOX-1020] - Permission Groups / Permissions relationship doesn't cascade and errors when removing permissions or authors
- [CONTENTBOX-1024] - Don't display alert as "Your content is published already" for non published pages.
- [CONTENTBOX-1030] - Don't show fbPreferences.listFolder is undefined in PRC error while using media manager
- [CONTENTBOX-1038] - checks for ip and username banning so login does not break with multiple entries
- [CONTENTBOX-1040] - Can't cast Object type [Struct] to a value of type [boolean] when deleting admin modules
- [CONTENTBOX-1058] - Throwing error while adding the existing name in Permission, Permission Group, Categories and Roles
- [CONTENTBOX-1059] - Need to change the Icon while assigning permissions for Roles and Permission Groups
- [CONTENTBOX-1064] - CommentForm widget previews not working and no way to default it to the currently executing page.
- [CONTENTBOX-1041] - New editor nav interceptors: cbadmin_pageEditorInBody, cbadmin_ContentStoreEditorNav,cbadmin_entryEditorNav
- [CONTENTBOX-1051] - New Editor Content Interceptors: cbadmin_pageEditorNavContent, cbadmin_contentStoreEditorNavContent, cbadmin_entryEditorNavContent
- [CONTENTBOX-1056] - Content Services hiearchical search via the slugPrefix argument on all search methods
- [CONTENTBOX-981] - Remove upload capabilities for widgets, modules and themes due to high security risks
- [CONTENTBOX-1032] - Missing alert message on media manager when trying to download a file but none selected
- [CONTENTBOX-1049] - Update the UI module to use the content service when displaying pages to allow for custom page types
Last modified 4yr ago