kirby-autoid icon indicating copy to clipboard operation
kirby-autoid copied to clipboard

support for entries in structure fields

Open jensfranke opened this issue 9 years ago • 4 comments

Are there plans to add auto ids to the entires of a structure field? Or do you have any hints for me?

And I think you can replace your function fieldExists (https://github.com/helllicht/kirby-autoid/blob/master/autoid.php#L112) with this one from kirby: http://getkirby.com/docs/cheatsheet/field-methods/exists

Thanks in advance

jensfranke avatar Jan 15 '16 13:01 jensfranke

Agreed, this would be very useful in a structure field.

calebgrove avatar Mar 08 '16 00:03 calebgrove

Hi,

Sorry to reopen the issue, but anyone has an idea how to assign/generate an unique ID to a structure field entry ? @calebgrove, you pointed out this link but there is no answer or clue there...

Thank you !

antoine1000 avatar Jan 01 '18 23:01 antoine1000

Hello @antoine1000! Github put that link there because I referenced this issue on an issue in one of my repos (where having this feature in Auto-ID would be really nice). Unfortunately, it doesn't contain a fix or anything that would be helpful getting this issue closed.

calebgrove avatar Jan 02 '18 16:01 calebgrove

Hi @calebgrove ,

Thanks for your answer. Texnixe, a member of the kirby forum, provides a solution for this after I asked the other day. You can see his solution here!

antoine1000 avatar Jan 02 '18 23:01 antoine1000