September 2006
4 posts
Stepping
So I needed to save multiple instances of the same model. I thought I’d seen this somewhere else recently but I couldn’t find anyone who had all the information. My Model has a $hasMany as follows: var $hasMany = array( 'Step' => array( 'className' => 'Step', 'order' => 'Step.ordernum ASC', 'dependent' => 'true' ) ); We’ll call the model the above code appears in “Staircase”....
Sep 25th
QTVR Coming
I added support for pan, tilt, node, fov, moviename, and backgroundcolor to wlk_qt, my quicktime management and embed plugin for textpattern. Here’s the new properties and some info on them: bgcolor – can be set to a hex value or a simple color name, e.g. “red” or “5a5a5a”. If not set, does not get written to page. Does not get written to page if the value is not a hex value or one of the...
Sep 17th
Ah ha! (It works now)
I got around to cleaning up my SiteFrame class the other night. I use it every day and love it, but it was becoming more and more apparent to me that it needed some cleaning. A few things didn’t work as they should and some of the instructions on use in the index.php page included in all of the downloadable versions of this plugin were slightly off. I also used this as a moment to bring...
Sep 12th
Reasons for XHTML
The World Wide Web Consortium states four reason in their introduction to XHTML 1.0 that are there to explain the benefits for moving the XHTML XHTML documents are XML conforming. As such, they are readily viewed, edited, and validated with standard XML tools. XHTML documents can be written to operate as well or better than they did before in existing HTML 4-conforming user agents as well as in...
Sep 10th