Where are stylesheets typically stored in Sitecore 6.2
I'm taking over the day to day maintenance of a sitecore 6.2 installation for a corporate website. The vendor that originally designed and constructed it are no longer available to contact for information. Also, no documentation has been written on how it was designed or constructed.
My asp.net skills are good and I do have some understanding and exposure to Sitecore and will be attending training soon but in the meantime can anyone give me some ideas as to where a vendor would put the stylesheets that control the design and layout of a Sit开发者_开发技巧ecore website.
There's no specific location, its up to the developer. Sitecore is a CMS that needs to be integrated into a custom solution. Part of that custom solution gives the developer the option to put the CSS wherever he/she wants. Best idea: right-click, view source and look for the path(s) to CSS files.
To help you better understand the basics of presentation architecture, take a look at a Very Simple Web Site documents on the Sitecore Developer Network. Also review the Fundamental Concepts document.
Essentially, you can have your style sheets wherever you want (i.e. CSS folder), but you'll usually find reference to style sheets in a Sitecore Layout. Often, developers will use a presentation component to retrieve the file reference from a field that stores the CSS file path in a Sitecore Item. A Sitecore Layout is an item of type layout in the content tree and an .ASPX file.
Make sure you know how Sitecore references media stored in the media library for CSS. Also look for forum posts on how to handle CSS references for Rich Text Fields.
Depending on your deployment systems architecture, there are other considerations for working with style sheets. One is publishing. If you publish from an authoring environment to a live website environment, you’ll want to make sure you copy your CSS files and any other file system references (like media NOT in the media library). This can be accomplished through the staging module. If your using Sitecore CMS 6.3, there are newer approaches.
精彩评论