2011 Posts in 1436 Topics by 620 members
|Go to End|
23 April 2014 at 11:15pm
Is there any way to remove the "(saves into /...)" message when creating an UploadField?
I could add a "display: none" in the CSS for the label class, but it seems wasteful.
The message doesn't do any actual harm, but I just KNOW it's going to confuse users. How can I get rid of it?
6 August 2014 at 4:13am
You should just be able to use the setCanPreviewFolder method. As an example:
// Set image upload
$field = UploadField::create('Images', 'Upload Images');
You can more info at the docs: http://doc.silverstripe.com/framework/en/reference/uploadfield
|Go to Top|