Closed christher-lenander closed 2 years ago
That sounds like a useful feature.
What would be the expected behaviour when one or more of the fields are not defined?
Current possible options
I believe 3 is probably the best option as it provides the ability for the user to decide on which behaviour they prefer.
I agree that 3 is the best.
This features has been added in #22 , and will be included in the next release.
👍
That sounds like a useful feature.
What would be the expected behaviour when one or more of the fields are not defined?
Current possible options
- If any of the fields are missing a value dont apply slugification, this is the current behaviour for the reference field.
- We skip any fields that are not defined and use the remaining for the slugification.
- Leave it up to the user with a setting. default would be to skip slugification.
I believe 3 is probably the best option as it provides the ability for the user to decide on which behaviour they prefer.
how can i skip slugification.
When the slugs automatically generated by the slugging are empty, can the slugs actively entered by the user not be overwritten
If all fields are missing or some are and skip is not true then it should already do this.
I will need to investigate this further.
Add an option in the plugin config where you could add fields to put togheter for a slug. Maybe an array with fieldnames. The order of they are in the array should be how the compund slug is made.