digitalpoint
Well-known member
It would be nice if we could change the default attachment icon and text when using the
Not everything as generic as "Attach files". In my use case, a user is only allowed to upload images, so wording it "Upload images" instead of "Attach files" causes less confusion for end-users (they also aren't really "attachments" for what I'm using them for). I've done it by replicating the macros, but it would be nice if we could pass button and icon selection in with $attachmentData (the constraints).
Just an idea...

upload_block
macro. As it stands, you need to replicate upload_block
, upload_link
and upload_link_from_data
macros just to change the icon attribute on the button and add a button attribute (which will be used as the text).Not everything as generic as "Attach files". In my use case, a user is only allowed to upload images, so wording it "Upload images" instead of "Attach files" causes less confusion for end-users (they also aren't really "attachments" for what I'm using them for). I've done it by replicating the macros, but it would be nice if we could pass button and icon selection in with $attachmentData (the constraints).
Just an idea...

Upvote
4