ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Remove File Upload Button?

August 01, 2008 7:55am

Subscribe [5]
  • #1 / Aug 01, 2008 7:55am

    kevincannon

    22 posts

    Anyone know if there’s a way to do this? I’ve searched through the forums, and though I’m sure it’s probably in a post somewhere, I haven’t found anything.

    Any ideas?

    - Kevin

  • #2 / Aug 01, 2008 8:26am

    exmonkey

    93 posts

    I did a search for “remove file upload button” and got to this: http://ellislab.com/forums/viewthread/37840/

  • #3 / Aug 01, 2008 8:29am

    kevincannon

    22 posts

    Yea, I found that extension too, but as far as I can tell, it doesn’t let you remove the File Upload Button, merely put a label beside it unfortunately.

  • #4 / Aug 01, 2008 8:35am

    exmonkey

    93 posts

    I just installed it, followed the instructions and removed the upload button. It was very straight forward.

    Publish: Text for upload button. (Try “Upload File: “; leave blank to hide button.)

    BTW Thanks for this post, I’d not have found this extension without reading your question 😊

  • #5 / Aug 01, 2008 9:28am

    kevincannon

    22 posts

    Ahh thanks. I misunderstood this line in the documentation so didn’t install it.

      * I didn’t make the File Upload box itself disappear for two reasons. 1) It would have looked unbalanced, and 2) it was too hard.

    Thanks for your help. I’ve now installed the extension and taken out all the buttons other than the save button. The whole page is a lot clearer now.

    I’ve been very impressed at how easy it’s been to make the EE admin side clean for end-users and I’d say EE 2 will be even better.

  • #6 / Aug 01, 2008 9:33am

    exmonkey

    93 posts

    let’s hope 😊

  • #7 / Sep 20, 2008 1:41pm

    spacewalk

    106 posts

    Anyone know if there’s a way to do this?

    The simplest and least intrusive way to remove the “Upload File” button in the Control Panel Publish page is with CSS. Assuming you’re using the “Default” control panel theme…

    1) Open the following file in a text editor (if you’re on a Mac, get Coda!):

    path_to_your_ee_site/themes/cp_themes/default/default.css

    2) Scroll to the very bottom of that (very long) file, and add this:

    div.uploadBox a { /* hide the stock file upload button */
        display: none;
    }

    3) Yes, you will have to make a note of this for the next time you upgrade EE. But you’d have to make a note of anything you did to get rid of this button.

    4) Unfortunately, this method can’t be used to get rid of the Quick Save button on the Publish page (at least in 1.6.4) because that button does not have a unique class applied to it. The three input buttons of the form (Preview, Quick Save, Submit) are all styled identically, so a similar CSS selector would hide all three of them.

  • #8 / Apr 19, 2009 7:08pm

    Wes Baker

    343 posts

    Does anyone know of a way to disable the button for some Weblogs and not others? I have one particular weblog that needs this functionality, but the rest shouldn’t have it.

  • #9 / May 05, 2009 9:17am

    Brandon C.

    43 posts

    Wes, I think the only real way to do that would be to disable the upload box globally and then enable the File extension on a per-weblog basis.

    If you do find a way though, let me know - would be a great feature.

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases