Copied to clipboard

Flag this post as spam?

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


  • lukasz 1 post 21 karma points
    Feb 26, 2010 @ 22:49
    lukasz
    0

    UMBRACO 4.0 not saving changes to external .css file , it is not reading it either

    Hi guys

    I really need your help. This is very strange behavior. I will try to explain the issue I have very clear:

     Settings --> Stylesheets --> textStyles

    and

    external stylesheet : textStyles.css

     • If there is already existing class in ‘textStyles’ under media in UMBRACO , and also it is saved within textStyles.css document under CSS folder of the site, then I am not able to change its properties within UMBRACO. If I would like to change it I would have to do that directly within a file of textStyles.css. Any changes to existing class in the textStyles.css will show the changes properly in UMBRACO. However, if there is no class, and I would like the new one within testStyles.css, and save the file, that would not show up in UMBRACO under textStyles section.

     • If there is already existing class in ‘textStyles’ under media in UMBRACO, and the class is not already saved within textStyles.css document under CSS folder of the site, I am able to change and save its properties, however it will not apply the changes to content, since it will actually save it within UMBRACO (it’s visible there), but not within textStyles.css file My observation:

    • The stylesheet file is correctly imported and read by the web page, since I can make adjustments any adjustments within a textStyles.css of existing class and I am able to see the changes on the web page

    • This one should help you a lot: I create a new class within textStyles.css. I reload the nodes of textStyles. The new created class is not visible by UMBRACO, however when I go the a web page and see the HTML of it (within UMBRACO) , I am able to use that new class by typing it in. I repeat that one more time because it is important, it will lead you to solution. Let’s say I create new class named ‘.box’ within textStyles.css. Then I go to UMBRACO , reload the nodes of textStyles section of ‘Stylesheets’. The new class named .box is not visible in UMBRACO. Then let’s say I go to the ‘content’ section of UMBRACO, and I want to apply the new class. I highlight the section of the web page content and the use drop down menu of ‘Styles’. Obviously there is no such a style. Then I click ‘Edit HTML source’ and type the new class directly as ‘some text’. Guess what, it works …

     • PERMISSION- I would consider it, however two weeks ago I was able to create my own classes with no problem at all. Unless something changed. And actually I am administrator, so I should have full access and control of UMBRACO

    THE PROBLEM THAT I HAVE: I am not able to write anything to textStyles.css from within UMBRACO, and I am able to read correctly everything that is in textStyles.css (even though I am able to use all classes, not all will be visible in UMBRACO (not the one that I typed directly into textStles.css)). There is got to be a connection problem between UMBRACO and textStyles.css. How those two are linked. I do not know the structure of UMBRACO … yet.

    Do you guys know the way how the data from UMBRACO textStyles section is transferred (saved) (or I should say should be transferred) to the textStyles.css? this is the problem. It is not saving the information to the file, and it should. The UMBRACO also is not able to read that file. What could cause that? The answer to that question will solve the problem.

    Appreciate every bit of ideas,

    thx

  • Rik Helsen 670 posts 873 karma points
    Apr 13, 2010 @ 13:47
    Rik Helsen
    0

    sounds like the user of your application pool doesn't have enough permissions on the files, possibly you copied a new file over it that only you as logged in user are owner of (and not the IIS application pool user?)

     

     

  • 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