Issue Feature Under Review Orphaned

#107069Enhance slug generation for non-browsable doctypes (Folders and Spacers)

Anonymous 07/10/25, 14:29 updated 04/21/26, 11:23

Description

*Current Behavior:*
Folders and Spacers can block slugs that would be useful for regular pages.
For example: When you create a Folder called “Blog” to organize your blog entries, the system generates the slug /blog for this folder. This means you cannot have a regular page with the /blog slug without manual adjustments, even though the Folder itself is not directly accessible in the frontend.

*Expected Behavior:*
Non-browsable doctypes like Folders (SysFolder) and Spacers should have a modified slug pattern that doesn’t conflict with regular pages.

*Proposed Solution:*
Add a suffix to the slugs of non-browsable doctypes:
- For Folders: append (e.g., /blog-storage ) “storage“
For Spacers: append (e.g., /section-spacer ) “-spacer”

This would:
1. Make the slug immediately identifiable by its purpose
2. Free up the “clean” slug for use by regular pages
3. Eliminate the need for manual slug adjustments when both a folder and a regular page need similar names

I will create a patch for this

Reviews 1

History 410