Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • sailesh 14 posts 45 karma points
    Jul 28, 2010 @ 17:57
    sailesh
    0

    stylesheet in sub-folder

    Hi,

    I created some stylesheet and placed it in the sub-folder of the /css directory.

    I cannot access the file via the umbraco admin interface (Settings->Stylesheet) however when I install a Blog4Umbraco template, it does exactly the same thing but its css files are available vis the admin interface.

    I did some digging around in the database and came across the table cmsStylesheet which seems to have the entries for the stylesheets inside the subfolder. I made a record pointing to my css. touched the web.config but still no luck.

    Any idea how to get the css listed?

    Thanks

    Sailesh

  • Aaron Powell 1708 posts 3044 karma points c-trib
    Jul 29, 2010 @ 00:38
    Aaron Powell
    0

    I don't think that subfolders are supported in the stylesheet tree, it expects them all to be in the root.

  • sailesh 14 posts 45 karma points
    Jul 29, 2010 @ 10:37
    sailesh
    0

    If you install Blog4Umbraco and download templates, it has its css in subfolders and is shown in the admin interface.

  • sailesh 14 posts 45 karma points
    Jul 29, 2010 @ 11:49
    sailesh
    1

    figured out how to do it.

    Unlike files, subfolders are not automatically detected by umbraco so for instance if you want to have a stylesheet in say subfolder called myfolder

    eg. /css/myfolder/style.css

    You will need to use the admin ui to create the file

    when you crate the new stylesheet give it the subfolder too i.e myfolder/style

     

  • Aaron Powell 1708 posts 3044 karma points c-trib
    Jul 29, 2010 @ 13:24
    Aaron Powell
    0

    My bad! Glad you found out how to do it :)

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies