Archive for August, 2008

Getting non-standard file extension to work with Adobe Dreamweaver

Friday, August 15th, 2008

Simple fix. I began working with Cake PHP today which uses non-standardized file extensions. Getting Dreamweaver to function as expected is simple.

1. Go to C:\Program Files\.. your Dreamweaver directory.
2. open your_dreamweaver_dir\configuration\DocumentTypes\MMDocumentTypes.xml
3. Search for php or your standard extension of choice and add the extension that you would like to the list example-> replace(winfileextension=”php,php3,php4,php5″) with (winfileextension=”thtml,php,php3,php4,php5″)

Voila!

Example of a WordPress Integration.

Friday, August 1st, 2008

Recently we took on a client to implement WordPress blog into their already existing website. The thumbnail on the left below is a photo of their previously existing website. The thumbnail on the right shows their new WordPress blog implementing into their already existing design. (click on the images below to see an expanded example):

The Customization and implementation of the blog took us about a days work in order to get the formatting perfect. One of the biggest concerns is getting the the formatting and colours consistent throughout all of WordPress’s inner pages.

In more WordPress news we successfully implemented the JavaScript lightbox 2.0 image viewer used with the thumbnails above which was an extremely simple process. In the header file for your WordPress theme you include the reference to your Lightbox 2.0 pack which can be found here:

Lightbox 2.0

And then when including the anchor tag to link your thumbnail to your larger screenshot image, you include a rel=”lightbox” parameter, and to get images into a set, you include a common ID. An example of this is:

<a rel=”lightbox[sosm]” href=”../images/blog_assets/sosm1.jpg”>

<a rel=”lightbox[sosm]” href=”../images/blog_assets/sosm2.jpg”>

Wow, that is enough excitement for today! Enjoy yourselves out there.

~R. Charmley