Copied to clipboard

Flag this post as spam?

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


  • Harm-Jan Abbing 62 posts 102 karma points
    Mar 21, 2012 @ 14:41
    Harm-Jan Abbing
    0

    Missing css on specific documenttypes in backoffice

    I'm having a problem with a certain doctype not having css in an Umbraco 4.7.1.1 website. Property textfields are shown but without styling (like background gradient and borders).

    I've tried clearing ClientDependancy by changing version number and deleting temp/clientdependacy folder but it won't work. No errors come up in firebug.

    Only thing solving it is debug="true" in the web.config but this is not optimal.

    Any ideas..?

    Kind regards,
    Harm-Jan

  • Grant Thomas 291 posts 324 karma points
    Mar 21, 2012 @ 14:47
    Grant Thomas
    0

    And the CSS file is referenced in the template? Is the <link> element actually outputted as expected?

  • Harm-Jan Abbing 62 posts 102 karma points
    Mar 21, 2012 @ 15:31
    Harm-Jan Abbing
    0

    Looking at the source of the editContent.aspx with debug="true" this is the header:

    <head>
    <title>Edit content</title>
    <link rel="stylesheet" type="text/css" href="/umbraco_client/scrollingmenu/style.css?cdv=15" />
    <link rel="stylesheet" type="text/css" href="/umbraco_client/menuicon/style.css?cdv=15" />
    <link rel="stylesheet" type="text/css" href="/umbraco_client/tabview/style.css?cdv=15" />
    <link rel="stylesheet" type="text/css" href="/umbraco_client/DateTimePicker/datetimepicker.css?cdv=15" />
    <link rel="stylesheet" type="text/css" href="/umbraco_client/ui/default.css?cdv=15" />
    <link rel="stylesheet" type="text/css" href="/WebResource.axd?d=Dd6OWN91D42dcMJZ59HinshBqLksEV5LicNd-bQsNWAk8sNa7buQekhOL_AGJ6iktKtEl9uNbO8x8pVu7KeEHdrqGQyyKEyZkYmw0QJ7WlKJ_Esa14Zq6PlEwqf94RGoNd_4CLLfRh_F0SJIpumtqGN78Hkz_2XJkEh2x8cyJ9Y1&amp;amp;t=634669009507498330&amp;cdv=15" />
    <link rel="stylesheet" type="text/css" href="/umbraco_client/propertypane/style.css?cdv=15" />
    <link rel="stylesheet" type="text/css" href="/umbraco_client/modal/style.css?cdv=15" />
    <script type="text/javascript" src="/umbraco_client/Application/NamespaceManager.js?cdv=15"></script><script type="text/javascript" src="/umbraco_client/ui/jquery.js?cdv=15"></script><script type="text/javascript" src="/umbraco_client/ui/jqueryui.js?cdv=15"></script><script type="text/javascript" src="/umbraco_client/Application/jQuery/jquery.cookie.js?cdv=15"></script><script type="text/javascript" src="/umbraco_client/Application/UmbracoApplicationActions.js?cdv=15"></script><script type="text/javascript" src="/umbraco_client/Application/UmbracoUtils.js?cdv=15"></script><script type="text/javascript" src="/umbraco_client/Application/UmbracoClientManager.js?cdv=15"></script><script type="text/javascript" src="/umbraco_client/ui/default.js?cdv=15"></script><script type="text/javascript" src="/umbraco_client/Application/jQuery/jquery.hotkeys.js?cdv=15"></script><script type="text/javascript" src="/umbraco_client/modal/modal.js?cdv=15"></script><script type="text/javascript" src="/umbraco_client/DateTimePicker/umbDateTimePicker.js?cdv=15"></script><script type="text/javascript" src="/umbraco_client/tabview/javascript.js?cdv=15"></script><script type="text/javascript" src="/umbraco/js/umbracoCheckKeys.js?cdv=15"></script><script type="text/javascript" src="/umbraco_client/MaskedInput/jquery.maskedinput-1.3.min.js?cdv=15"></script><script type="text/javascript" src="/WebResource.axd?d=LE--9AN8Ic-uW0KAVulVNdLYLT0BjBjR0VaNHBDfo1VaTNECe478qyk2FSTgZPLXXoDeglf19qtB8XHIFo68s6T-k0dMW6NxEOEr7Bmkidpz_S_05qZPZB5Fp-z9D0Up_5QLiJbAS1kJsXc-rEJzO1a_MTiPOo_Bsi11Na2LKWSJMuyZIVn84d90j2LYXtO5ov2C88u0KAb084ckGdQAOA2&amp;amp;t=634669009507498330&amp;cdv=15"></script><script type="text/javascript" src="/umbraco_client/scrollingmenu/javascript.js?cdv=15"></script><script type="text/javascript" src="/umbraco_client/DateTimePicker/timepicker.js?cdv=15"></script>
    </head>

     

    With debug="false" it's:

    <head>
    <title>Edit content</title>
    <link rel="stylesheet" type="text/css" href="DependencyHandler.axd?s=L3VtYnJhY29fY2xpZW50L3Njcm9sbGluZ21lbnUvc3R5bGUuY3NzOy91bWJyYWNvX2NsaWVudC9tZW51aWNvbi9zdHlsZS5jc3M7L3VtYnJhY29fY2xpZW50L3RhYnZpZXcvc3R5bGUuY3NzOy91bWJyYWNvX2NsaWVudC9EYXRlVGltZVBpY2tlci9kYXRldGltZXBpY2tlci5jc3M7L3VtYnJhY29fY2xpZW50L3VpL2RlZmF1bHQuY3NzOy9XZWJSZXNvdXJjZS5heGQ%2fZD1EZDZPV045MUQ0MmRjTUpaNTlIaW5zaEJxTGtzRVY1TGljTmQtYlFzTldBazhzTmE3YnVRZWtoT0xfQUdKNmlrdEt0RWw5dU5iTzh4OHBWdTdLZUVIZHJxR1F5eUtFeVprWW13MFFKN1dsS0pfRXNhMTRacTZQbEV3cWY5NFJHb05kXzRDTExmUmhfRjBTSklwdW10cUdONzhIa3pfMlhKa0VoMng4Y3lKOVkxJmFtcDt0PTYzNDY2OTAwOTUwNzQ5ODMzMDsvdW1icmFjb19jbGllbnQvcHJvcGVydHlwYW5lL3N0eWxlLmNzczsvdW1icmFjb19jbGllbnQvbW9kYWwvc3R5bGUuY3NzOw%3d%3d&amp;t=Css&amp;cdv=15" />
    <script type="text/javascript" src="DependencyHandler.axd?s=L3VtYnJhY29fY2xpZW50L0FwcGxpY2F0aW9uL05hbWVzcGFjZU1hbmFnZXIuanM7L3VtYnJhY29fY2xpZW50L3VpL2pxdWVyeS5qczsvdW1icmFjb19jbGllbnQvdWkvanF1ZXJ5dWkuanM7L3VtYnJhY29fY2xpZW50L0FwcGxpY2F0aW9uL2pRdWVyeS9qcXVlcnkuY29va2llLmpzOy91bWJyYWNvX2NsaWVudC9BcHBsaWNhdGlvbi9VbWJyYWNvQXBwbGljYXRpb25BY3Rpb25zLmpzOy91bWJyYWNvX2NsaWVudC9BcHBsaWNhdGlvbi9VbWJyYWNvVXRpbHMuanM7L3VtYnJhY29fY2xpZW50L0FwcGxpY2F0aW9uL1VtYnJhY29DbGllbnRNYW5hZ2VyLmpzOy91bWJyYWNvX2NsaWVudC91aS9kZWZhdWx0LmpzOy91bWJyYWNvX2NsaWVudC9BcHBsaWNhdGlvbi9qUXVlcnkvanF1ZXJ5LmhvdGtleXMuanM7L3VtYnJhY29fY2xpZW50L21vZGFsL21vZGFsLmpzOy91bWJyYWNvX2NsaWVudC9EYXRlVGltZVBpY2tlci91bWJEYXRlVGltZVBpY2tlci5qczsvdW1icmFjb19jbGllbnQvdGFidmlldy9qYXZhc2NyaXB0LmpzOy91bWJyYWNvL2pzL3VtYnJhY29DaGVja0tleXMuanM7L3VtYnJhY29fY2xpZW50L01hc2tlZElucHV0L2pxdWVyeS5tYXNrZWRpbnB1dC0xLjMubWluLmpzOy9XZWJSZXNvdXJjZS5heGQ%2fZD1MRS0tOUFOOEljLXVXMEtBVnVsVk5kTFlMVDBCakJqUjBWYU5IQkRmbzFWYVRORUNlNDc4cXlrMkZTVGdaUExYWG9EZWdsZjE5cXRCOFhISUZvNjhzNlQtazBkTVc2TnhFT0VyN0Jta2lkcHpfU18wNXFaUFpCNUZwLXo5RDBVcF81UUxpSmJBUzFrSnNYYy1yRUp6TzFhX01UaVBPb19Cc2kxMU5hMkxLV1NKTXV5WklWbjg0ZDkwajJMWVh0TzVvdjJDODh1MEtBYjA4NGNrR2RRQU9BMiZhbXA7dD02MzQ2NjkwMDk1MDc0OTgzMzA7L3VtYnJhY29fY2xpZW50L3Njcm9sbGluZ21lbnUvamF2YXNjcmlwdC5qczsvdW1icmFjb19jbGllbnQvRGF0ZVRpbWVQaWNrZXIvdGltZXBpY2tlci5qczs%3d&amp;t=Javascript&amp;cdv=15"></script>
    </head>
     
  • Rodion Novoselov 694 posts 859 karma points
    Mar 22, 2012 @ 19:04
    Rodion Novoselov
    0

    Hi. Have you checked write permissions on the client dependency cache folder? Your issue looks like CDF cannot build the on-disk cache (what's skipped in the "debug" case).

  • Harm-Jan Abbing 62 posts 102 karma points
    Mar 23, 2012 @ 10:43
    Harm-Jan Abbing
    0

    I emptied the cache and reset permissions to \App_Data\TEMP\ClientDependency but still no luck, sadly.

  • Harm-Jan Abbing 62 posts 102 karma points
    Apr 10, 2012 @ 10:01
    Harm-Jan Abbing
    0

    *bump*

    This happens only on one specific doctype. The rest of the doctypes are fine.
    Very annoying..

Please Sign in or register to post replies

Write your reply to:

Draft