Hi all,
How would I go about extending the item attachments feature to insert more fields for each attachment?
I'm guessing (hoping!) its along the same lines as - getk2.org/extend/extensions/date/item/90-example-k2-plugin-for-developers - but not sure on the name of the attachments section (<params group="item-video"> used when adding fields to the media tab - should it be <params group="item-attachments">? Not sure where to find this out from and don't want to break the site)
And also if there are any extra areas to change as you can have more than one attachment compared to just the one video link as per the example above.
Need to add an image, whether the file requires registration and a description for each attachment.
Any help appreciated!
Thanks,
Sam
How would I go about extending the item attachments feature to insert more fields for each attachment?
I'm guessing (hoping!) its along the same lines as - getk2.org/extend/extensions/date/item/90-example-k2-plugin-for-developers - but not sure on the name of the attachments section (<params group="item-video"> used when adding fields to the media tab - should it be <params group="item-attachments">? Not sure where to find this out from and don't want to break the site)
And also if there are any extra areas to change as you can have more than one attachment compared to just the one video link as per the example above.
Need to add an image, whether the file requires registration and a description for each attachment.
Any help appreciated!
Thanks,
Sam