February 8, 2010 – 7:53 pm
I’ve come up with some habits that I’ve developed from building themes for Wordpress over the years. One, is to start with a nearly blank style sheet. I also like to hook in several JavaScript libraries and CSS frameworks from the start to take advantage of things like JQuery, Blueprint’s CSS reset and Superfish menus.
I’ve [...]
November 9, 2009 – 8:31 pm
About Blueprint
Blueprint is a CSS framework, which aims to cut down on your development time. It gives you a solid foundation to build your project on top of, with an easy-to-use grid, sensible typography, useful plugins, and even a stylesheet for printing.
.container
18
19
20
21
22
/* A container should group all your columns. */
.container {
width: 950px;
margin: 0 auto;
}
container is [...]
July 22, 2009 – 7:23 pm
When I started to dig in to investigate using the Security Component of CakePHP, I was a bit daunted. It took me quite a while to get my head around ACL after all. Then I found this article. Here’s the crux:
The Security component will create a hash based on the form fields produced by our [...]
May 22, 2009 – 7:54 am
As someone who is not formally trained as a programmer, I often understand concepts long before actually putting them into practice. Don’t Repeat Yourself (DRY) seems simple enough. Of course I don’t want to repeat myself while programming. Who wants to dig through lines of code to find a litte snippet of logic you once [...]
March 22, 2009 – 9:30 am
Every now and then I want to view my help files in pretty, formatted HTML instead of plain text in a text editor or terminal window. Right now I’m working on setting up some Access Control Lists (ACL) in the CakePHP Console. ACL is a powerful, yet sometimes hard-to-grasp concept. I always figure that if [...]
December 16, 2008 – 12:09 pm
I recently spent an entire weekend trying to troubleshoot why Internet Explorer 6 kept wrapping the rightmost DIV in my design to the bottom of the page when no other browser did. In my case, I was using the Blueprint CSS framework that creates twenty-four 30 pixel columns, each with a 10 pixel right margin [...]
December 10, 2008 – 5:52 pm
UPDATE (7/22/2009)
requestionAction may not be the best solution. Read this.
At my day job, I’m working on an application to keep track of specimens for our lab. A specimen is sent to the lab, then divided into aliquots which are put into boxes and stored in freezers. The previous sentence ought to give you some idea [...]
November 26, 2008 – 1:55 pm
Updated 12/3/2008
The other day I wrote about getting the Blueprint CSS framework into your Wordpress theme. If you’re developing in CakePHP, it’s even easier to link multiple style sheets and JavaScript libraries to your layout file.
<?php
$css = array(‘blueprint/screen’, ‘blueprint/ie’, ’style’);
$jslibraries = array(‘prototype’, ’scriptaculous’, ‘jquery’);
echo $html->css(‘blueprint/print’, ’stylesheet’, ‘media=”print”‘);
echo $html->css($css, ’stylesheet’, ‘media=”screen, projection”’);
echo $javascript->link($jslibraries);
?>
Let’s take these one [...]
November 25, 2008 – 9:38 pm
I recently found a great article about upgrading Wordpress from the command line. If you’re familiar with a command line interface at all, it’s by far the simplest way to upgrade your Wordpress install.
You can apply the same method to upgrading your Wordpress plugins.
Log in to your web server and cd to the Wordpress plugins [...]
November 23, 2008 – 9:07 am
If you’re familiar with the Blueprint CSS framework, you already know it can make your life a lot easier. So how do you get it into your Wordpress theme? Luckily, Wordpress is designed to make your life easier too.
I’m assuming your know the basics of Wordpress Theme Development. That is, at the very least you [...]