bnomei / kirby3-autoid

Automatic unique ID for Pages, Files and Structures including performant helpers to retrieve them. Bonus: Tiny-URL.
https://forum.getkirby.com/t/kirby3-autoid-plugin/23572
MIT License
80 stars 8 forks source link

Support custom field name instead of `autoid` #45

Closed afbora closed 3 years ago

afbora commented 4 years ago

I would expect it to support different field name when type: autoid is used, like that:

 uuid:
    type: autoid
bnomei commented 4 years ago

the custom field was created to skip creating non-translatable, disabled fields over and over again.

agreed its possible in code to make the name of the field optional. but it that would make consistent documentation of plugin very hard and i expect it to be used very rarely.

so i will not do that (for now). if anyone needs it please upvote and explain why.