Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue Archive: Page or Block #1062

Open
kevincrafts opened this issue Jun 13, 2024 · 2 comments
Open

Issue Archive: Page or Block #1062

kevincrafts opened this issue Jun 13, 2024 · 2 comments
Assignees
Labels
bug Something isn't working question Further information is requested

Comments

@kevincrafts
Copy link
Member

I have two pages with the same parent page but their automatic aliases are very different. You can see in the attached screenshots the pages are set to the same parent and both are using the automatic alias.

https://www.colorado.edu/demos/documentation/articles-and-issues/spring-issue
image

https://www.colorado.edu/demos/documentation/web-express-documentation/issue/archive
image

@kevincrafts kevincrafts added the bug Something isn't working label Jun 13, 2024
@patrickbrown-io patrickbrown-io self-assigned this Jun 13, 2024
@patrickbrown-io patrickbrown-io changed the title URL alias not making consistent paths Issue Archive: Page or Block Jun 25, 2024
@patrickbrown-io patrickbrown-io added the question Further information is requested label Jun 25, 2024
@patrickbrown-io
Copy link
Contributor

patrickbrown-io commented Jun 25, 2024

Here's the current URL patterns:
Issue Archive => /[site:name]/issue/archive
Issue => /[node:menu-link:parent:url:path]/[node:title]

Alias is set like this as the intent is to have 1 Issue Archive per site, if Issues exist. D7 did this with a custom module.

The URL here is set the way it is to facilitate linking to other blocks such as Latest Issues Block and Current Issue Block where if more than 4 Issues exist on a site, it should add a button linking to the Issue Archive default which will show all of a site's Issues.

So the real issue here is: How should we handle the Issue Archive if the intent is to create one and be done?

Problems with making this a block:

  • If this is made a block with customizeable URLS, linking to the Issue Archive from the other Issue blocks will not work without a module
  • Making this a block will not limit the Issue Archive, so content editors can still make more than 1.
  • Migration implications

Perhaps a Permissions fix?

@patrickbrown-io
Copy link
Contributor

Learned a bit making the Newsletter Archive. We might be able to do this as a View.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants