-
Notifications
You must be signed in to change notification settings - Fork 51
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
Feature request: an ability to use the same collection with different patterns #60
Comments
Hey @AlexDede Thank you for the feature request. How do you want to use the multiple patterns for a single collection type?
|
Hey @boazpoolman Thank you for the reply.
In my case I only need this for multi collection type. But I think that in some cases single collection type can be used for a few URLs on a site too (use different parts of data from single collection type).
In my case I need each pattern for each collection entry and I think it will be enough for first version of this feature. In the future maybe it is possible to add an ability to select patterns to the block on a screenshot below. |
So if I understand correctly; you would end up with multiple URLs in the sitemap which will go to the same page? Like: Which all correspond to the same entry (id: 1) in Strapi. Why would you want that? |
Not exactly. In our case all this pages will be related to the same product but will show different parts of information related to this product. For example: /products/1 -> some general information about the product with id=1 (like name, image, description, etc.) But all this part of data will be saved in the same collection in Strapi with the same entry with id = 1. |
Ah allright, I get it. Let me think about this for a little. |
We also need this feature in our project, we need multiple URL bundles for one collection type. is there an update on this? or any other solution we could use? If you could give me a general idea of how it works or where to start, I'd be happy to give it a try and make a PR if it works. |
Hey @boazpoolman. We too need this.
I had a pop at getting this working myself in a fork, but not having any React experience is really holding me back, and it all seems tighly coupled based on ContentTypes, making it very hard to have URL bundles be an array rather than a key-value based object where the key is the ContentType. If you could point me in the right direction, I'd love to give it another go, but at this moment, the plugin doesn't meet our requirements. |
I hate to be a nag, but are there any updates on this? |
For our interest: Is this a feature you would pay for? We can then maybe give this priority on our roadmap. |
That would then be something I'd have to pay out of my own pocket, which I'm willing to do, but it's not going to be hundreds of dollars. |
@Namstel Hi, I have created a ticket for our scrum board so that this issue gets a higher priority. We are busy with a project related with Strapi so that the issue/bug process will be a lot faster in the future. We are also still expanding and maintaining our plugins. You will hear from us as soon as we have something ready for this issue, I hope to have informed you sufficiently. |
I have an use case where I have a complex content type. And based on different columns I can have listing pages or single item pages. Let's say
So I have all items in the city, single item or items in the city limited by param. Depending of combination each page can have its own unique content. I'd even suggest that we do not have multiple sitemaps for same content type but rather multiple sitemaps based on custom filters. Same map can include one or several content types. e.g. separate map for products and product images can be generated from same content type. All maps together can work as composite sitemap. At some point it can get to complex Feeds generator plugin. my json suggestion
for now the workaround is to either hook into plugin or decompose entity into different content types |
Hi, is there an update on this? We need this feature on our project. Best wishes. |
Hi @egekaanisik @Namstel and others, sorry if we are a little late in updating you with the current status.. If you have other small wishes (not out of scope) that could be taken into account during the development of this feature, we would love to hear from you! Regards, PluginPal |
Thanks for informing. I saw that there is a pull request for filtering entries based on custom filters. Adding multiple entries based on filters can bu useful. For example, we have a field for Link of a product and some attributes for specs. Some pages should be added based on if the value is null or not. Example usage: |
Feature request
Summary
Can you add an ability to specify a few patterns for the same collection?
For example I have collection
products
and I want to have a few patterns for it. For example:/products/[id]
/products/[id]/another-slug-1
/products/[id]/another-slug-2
Why is it needed?
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Suggested solution(s)
There are 2 options for that:
- Allow to use the same collection a few times for URL bundles (I think this is more preferable way)
The text was updated successfully, but these errors were encountered: