gantry / gantry5

:rocket: Next Generation Template / Theme Framework
http://gantry.org
1.04k stars 204 forks source link

Remove 'custom' directory from the file picker sidebar #1128

Open newkind opened 8 years ago

newkind commented 8 years ago

We should remove the 'custom' directory from appearing in the file picker sidebar as it's redundant and can lead to multiple nested directories

w00fz commented 8 years ago

I don't see the custom directory in Joomla, is this Wordpress only?

newkind commented 8 years ago

Hmm I can't see it there right now so maybe it got removed already, however I can see some other Gantry 5 core directories that shouldn't be there for sure - @mahagr

interstellar theme gantry5 dev wordpress 2016-04-21 12-11-38

nikola3244 commented 8 years ago

My fix is not good, what if user actually has folder named "assets"? I tried to solve it wrong. Core folders should not be there in first place.

nikola3244 commented 8 years ago

I think this is better, works on latest CI (dev-7bb67201c) and WP (4.5.3).

By the way, these are the folders that are available in Joomla file picker: screenshot_2016-06-24_12-55-09 I think that assets and engines should not be shown.