Skip to content

Use the same section name more than once #1029

@angrybrad

Description

@angrybrad

Created by: Mark Reeves (mjr@clearbold.com) on 2015/09/30 12:42:44 +0000
Votes at time of UserVoice import: 5


When creating a Section, I understand why Handle needs to be unique, but there are use cases for using the same value for Name for multiple Sections.

If I create a Channel that contains Issues of a periodical, that is the correct name for that channel. In our site, each publication is an Issue, collectively they are Issues. (This is coming from the client.)

I also want to have a Single section named Issues that allows the client to edit the content that appears at the top of a page that lists all of the issues found in the Issues channel. The title of this page is Issues; The section name should match.

While I could just rely on issues/index.html in the templates dir to drive this page, I want to make a portion of it editable, and I want to stick with the convention that non-Structure or Channel pages are edited as Singles.

Thus I should be able to have a channel named Issues, and a single named Issues. I'm happy to use a handle such as issuesPage for the latter. They reside in different areas in the control panel, and are logically separated, so they should be able to use the same name.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementimprovements to existing features

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions