U4-231 - Wish: Stylesheet Folders

Created by Sebastiaan Janssen 16 Aug 2012, 06:52:29 Updated by Jeremy Pyne 02 Mar 2016, 21:32:50

Is duplicated by: U4-201

Is duplicated by: U4-4161

Relates to: U4-4161

This request is fairly self explanatory. It would be great to be able create and manage folders to split up CSS files. Essentially the same folder system that the Scripts section uses would be excellent.

The most obvious application for this is multi-site installations, where each site has it's own set of CSS files. Also, it would be great to put stylesheets that support script libraries in their own folder (i.e. jquery lightbox).

''Originally created on CodePlex by [Qube|http://www.codeplex.com/site/users/view/Qube]'' on 9/13/2010 7:48:41 AM [Codeplex ID: 28851 - Codeplex Votes: 3]

Comments

Simon Dingley 16 Oct 2012, 10:58:18

I've started working on a fork of the Umbraco source to attempt to address this, updates will be published to http://umbraco.codeplex.com/SourceControl/network/forks/ProNotion/BugfixU4231


Douglas Robar 18 Jul 2013, 11:02:51

Right now (v6.1.2), folders under the /css folder on the filesystem are not displayed in the umbraco backoffice. And, if I create a new css file called "foo/bar" the css file is displayed as "foo/bar" in the back office and the path to the css file is "~/css/foo/bar.css".

Further, once you create a "foo/bar" css file you can't delete it from the back office. The error in the speech bubble is: "Could not find a part of the path 'c:\inetpub\training.6.1.2\css\foo\bar.css"

The Styles tree should support folders with correct display of hierarchy in the tree that matches the filesystem. Just as the Script tree works.


Douglas Robar 18 Jul 2013, 11:04:24

One more thing... though the css file claims to be "~/css/foo/bar.css" no folder (foo) nor file (bar.css) is created.


Jeremy Pyne 02 Mar 2016, 21:32:50

This mostly works in 7.*

Exciting folder/css files wil list and work as expected. You can create new files/css folders by simply including /'s in the create dialog. For some reason save doesn't always seam to work/do anything. Some cases it works as expected, other times nothing happens.


Priority: Normal

Type: Feature (request)

State: Submitted

Assignee:

Difficulty: Normal

Category:

Backwards Compatible: True

Fix Submitted:

Affected versions:

Due in version:

Sprint:

Story Points:

Cycle: