Google SoC 2007
Edit: I have been contacted by Drupal and I have revised my proposal, the new version can be found here Edit: The latest revision.
| Header File | Percentage of Pages |
| HEADER.HTML | 84% |
| HEADER_BRIEF.HTML | 2% |
| HEADER_BRIEF_JBC.HTML | 10% |
| HEADER_BRIEF_TML.HTML | 3% |
| HEADER_VCU.HTML | 1% |
| HEADER_ILL.HTML | 0% |
| HEADERSSL.HTML | 0% |
<cfdirectory action="list"
directory="#ExpandPath(".")#\"
name="qGetLastdateModified"
filter="#ListLast(CGI.SCRIPT_NAME, "/")#">
<cfif qGetLastdateModified.recordCount>
<cfoutput>Updated: #DateFormat(qGetLastdateModified.dateLastModified, "mm/dd/ yyyy")#</cfoutput>
</cfif>
Sadly this did not work, rather nothing happened and I assumed that it was just a busted snippet of code. After consulting liveDocs I decided to take apart the code and see what went wrong where. The main issue was in the line: directory="#ExpandPath(".")#\"notice the "\" at the end of the line. This code was meant for a windows system. After replacing it with a "/" the last modified date was returned as "11/13/2006". Now off to livedocs again to figure out how to use DateFormat. In the end the result for the "updated" was: <cfdirectory action="list"
directory="#ExpandPath(".")#/"
name="qGetLastdateModified"
filter="#ListLast(CGI.SCRIPT_NAME, "/")#">
<cfif qGetLastdateModified.recordCount>
<cfoutput>Updated: #DateFormat(qGetLastdateModified.dateLastModified, "mmmm dd, yyyy")#</cfoutput>
</cfif>
a:link{ color: #000;}
When working with the new events template I found that the above code would not work. After a few tests nothing seemed to change the color of the links. I found to change the color I needed to specify the id of the div where the link resides. So my code ended up looking like:
#maincol a{ color: #000;}
#maincol a:visted{ color: #000;}
#maincol a:hover{ color: #999;}
#maincol a:active{ color: #000;}
#footer a{ color: #000;}
#footer a:visited{ color: #000;}
#footer a:hover{ color: #999;}
#footer a:active{ color: #000;}
Continue reading "The lump of clay begins to take form..." »
Continue reading "Development.html meet "find and replace"" »
A Code excerpt
With multiple lines
P text
Pre text