I believe this may be a fairly common reported issues in projects with CSS 
and JS in SmartEdit or preview if they are created as pages. This is because 
the pages are rendered by ASP or ASPX pages and typically have. If you can 
link it as an asset. If not I can't think of a work around for MS v10 at 
this time.  Older versions you could append &script=1 in smartedit blocks.

If it is not working on the published side from Delivery Server (FKA 
LiveServer) you can set your HTTP headers in some versions of Delivery 
Server. I believe that the header was an option in v4 but don't quote me on 
that.

General setting headers sample you can try

<rde-dm:attribute mode="write" attribute="request:rdeResponseMimetype" 
op="set" value="text/css"/>
<rde-dm:attribute mode="write" attribute="response:Expires" op="set" 
value="[##].getDateHeaderValue(1440)"/>
<rde-dm:attribute mode="write" attribute="response:Date" op="set" 
value="[##].getDateHeaderValue(0)"/>
<rde-dm:attribute mode="write" attribute="response:Pragma" op="set" 
value=""/>
<rde-dm:attribute mode="write" attribute="response:Cache-Control" op="set" 
value=""/>


Always make sure it works if you are doing it from the file system to check 
browsers like Mark suggested.

-- 
You received this message because you are subscribed to the Google Groups 
"RedDot CMS Users" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/reddot-cms-users/-/bSC5CuIB8RgJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/reddot-cms-users?hl=en.

Reply via email to