» Fig Leaf Software Home

We've Got You Covered.

Thursday, October 1, 2009

Helpful Hint: Modifying the HEAD section of a page in CommonSpot

In your .HEAD file, modify the contents of the HEADSTRUCT variable.

Modifying the DOCTYPE declaration:

<cfset headstruct.doctypetag = '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">'>
<cfset headstruct.copyrightcontents = "Content Copyright #year(now())# Fig Leaf Software. All rights reserved">

Modifying the <link> tags to output for SCREEN only:
<cfset headstruct.styletags = replace(headstruct.styletags,"<link ", "<link media=""Screen"" ","ALL")>

No comments:

Post a Comment

About Us

Fig Leaf Software is an award-winning team of imaginative designers, innovative developers, experienced instructors, and insightful strategists.

For over 20 years, we’ve helped a diverse range of clients...

Read More

Contact Us


Fig Leaf Software

1400 16th Street NW
Suite 450
Washington, DC 20036