twopiers - 3 weeks ago

Hi, I have a simple file field in my module called 'Image', nothing fancy. I want to add some help text in the Admin area that gives some simple instructions regarding allowed file types, preferred image dimensions, etc. Can I do this? If so, do I do this as part of the field definition or part of the assignment definition?


ryanthompson - 3 weeks ago

That is what the instructions translations key is for. warning is another that might be helpful.

Via CP there are fields for this on both fields and assignments but for custom addons just define them in your field.php translation file and it'll get picked up automatically by default:

twopiers - 3 weeks ago

Perfect. Thanks Ryan!