craft-relabel icon indicating copy to clipboard operation
craft-relabel copied to clipboard

Not working with assets

Open JayBox325 opened this issue 6 years ago • 4 comments

Loving the plugin, so thanks for creating it.

However, I've set up a field called "Description" but wanted to use it and relabel it to "Caption" for use on images.

Please see the screenshots below to illustrate it's not updating the field title in the Assets section.

screenshot 2019-02-13 at 20 50 35 screenshot 2019-02-13 at 20 50 23

Cheers

JayBox325 avatar Feb 13 '19 20:02 JayBox325

Thanks for your feedback. Can you make sure you use the correct volume? Are there any errors in your browser console? I'm asking this because I tried to reproduce your error but I wasn't able to. I made sure Relabel also works with assets because it's the same behavior like every other HUD in Craft CMS.

When you have another relations field and edit an element in the HUD does it work there? Maybe some other plugins are interfering?

Sorry for all those questions but I want to solve the issue. It just works as expected for me

Anubarak avatar Feb 14 '19 04:02 Anubarak

In testing, all the assets uploaded before I added the new relabelled field still had the original field label. Whereas once I uploaded a new asset, they all updated the have the new label.

JayBox325 avatar Feb 14 '19 10:02 JayBox325

Do you need to upload an asset every time or was it enough to upload it once and the issue is solved now?

Anubarak avatar Feb 14 '19 16:02 Anubarak

A single upload seems to have fetched the new label. I'll try and replicate it on my next project to see if it's a common problem. Cheers

JayBox325 avatar Feb 14 '19 23:02 JayBox325