sosContent


Version: 2.1.1
Category:
Scripts
ColdFusion
Requirements:
Seller:
Price:
-
System:
Rating:
4.8
License:

Description - sosContent



The concept to this CFC is to manage the buffered content of a web PaGE call. You have your standard body section of the page and then you have things like title, keywords, description, perhaps a header logo image and then the JavaScript and CSS of course. This cfc will also make sure what order your JS files are inserted and check to make sure things like adding jQuery.js only happens once. This is part of the SOS framework but we refactored the Logic so others could use it also. (And if you are curious... this does mean SOS v5 is getting closer to the next beta release.)2.1.1 Update - Modified addContent method to support positional adding (valid options include `first`, or numeric position)- There are some template methods specific to SOS- There are also some simple content methods we use for SES Type functionality for description, title and keywords.2.0.1 Update - Modified getHeadContent method to add a line after css includes rather than before. Previously if you had css and javascript includes, the first js include was on the same line as the last css include. All includes are now on their own lines.



More in ColdFusion-sosContent

Methods Adding Update Modified Options Include `first`