Theme import via file not working


I haven’t had to use this in a while, but a need arose today. I tried on two different sites and am unable to import a theme file through the Themes page of the Admin Panel. When I click on the import button and open the file chooser, all the .dcstyle.json theme files listed are greyed out.

Not sure if anything here could be related:

Any thoughts?

(Simon Cossar) #2

If you file chooser has an Options button, click it, and then select All Files. That should let you upload the file.

(Jeff Atwood) #3

Is this a legit bug or is the UI unclear here?

(Simon Cossar) #4

It’s a bug, at least in Chrome and Firefox.

(Bart) #7

As a workaround, in OSX you can also drag the file onto the ‘Choose file’ button:

(Sam Saffron) #8

This is a weird mac issue. Let’s try this and see how we go:

(Kane York) #9

I remember trying to fix this with Data Explorer too… what’s the <input> look like for that?

(Sam Saffron) #10

I hacked this in accept='.dcstyle.json,application/json' it seems to be ok in my vm

(Kane York) #11


 return ".json,application/json,application/x-javascript,text/json" + (this.get('extension') ? "," + this.get('extension') : "");

I think that allowing .json is probably important.

(Sam Saffron) #12

This topic was automatically closed after 27 hours. New replies are no longer allowed.