21277 Posts in 5728 Topics by 2599 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 285 Views |
-
Decorating Image - extra cms fields

27 May 2012 at 6:20am
I want to add some extra fields to Image class - mainly for translations.
I guess it shouldn't be done by using updateCMSFields() function. It didn't work for me.
-
Re: Decorating Image - extra cms fields

27 May 2012 at 12:18pm
updateCMSFields should work on any DataObject subclass (this includes Image). Make sure you've applied the decorator the image. Try apply your decorator to File and see if updateCMSFields works then.
-
Re: Decorating Image - extra cms fields

31 May 2012 at 5:26am
Thanks.
It works on File class, and it should be enough for translating purposes.
Unfortunatelly, it still doesn't work for Image class.
| 285 Views | ||
|
Page:
1
|
Go to Top |


