Topic: Module Download from a New Theme
I'm posting this in the General forum because I'm not sure which direction it will go yet... I found a small problem with downloading modules when running a new theme the other day. It's pretty trivial I suppose, but it is irritating and for a user who's not experienced in LS it would be a big game breaker.
Since the sites listed in the Module Installer with a fresh setup don't have the latest versions, I've been using http://www.shellfront.org/modules/ to get them. Since ShellFront is hosted using a Linux box (pretty obvious if you look at the way the modules are ordered: upper-case letters take preference over lower-case), and since it looks like the Module Installer puts through all download requests in lower-case, a request for 'xhotspot-0.1.2.zip' will fail to download the file called 'xHotspot-0.1.2.zip'. Linux is, after all, case sensitive by default.
Currently, to get any of these modules installed, they must be downloaded manually, and then either selected by their .ZIP file when trying to install, or simply extracted to the modules folder directly. Even for users accustomed to LS, I'm pretty sure this would get quite irritating.
So, I propose one of two solutions..
- First idea is to rename the files themselves to all lower case, which would greatly simplify the module download process and won't break any previous versions of LS.
- Second idea is to update the Module Installer to send request through with the module name in the same case as it was typed in the theme's RC files, which could be quite nice for greater module control further down the line, but won't do anything to help people with the current Installer.
What do you guys think...?