Subscribe To RSS Feed


Jeremy Dost’s SharpBlog

Just another Sharpdot weblog

Archive for March, 2009

Installing SQL Server Express 2008 with CTP

- Tuesday, March 31st, 2009 -

I had a horrible time figuring out how to install the CTP for SQL Server Express 2008. There were so many options that it felt more like I was installing a linux app. Anyways - for posterity sake - this post spelled it out very clearly with screenshots and everything. I hope it saves someone else the headaches I went through.

First note - I had vista ultimate but still had to install PowerShell which you can download from here. Grab the x86 version unless you have a 64 bit system.

And one other note - there were a ton of different installers but make sure you get the one on this page because the ‘with Tools’ part means that it includes the Management tool.

Tags: ,
Posted in Uncategorized | No Comments »

IE 8 is official and sounds the death knell for IE 6

- Thursday, March 19th, 2009 -

Download IE8 from here.

And developers info here.

According to the Readiness Toolkit page they’re looking out for us developers.

Internet Explorer 8 is the only modern browser that comes with extensive developer tools built right in, including visual layout and CSS support, script debuggers, script performance profiler, browser and document type rendering options, and much more. In addition, new features such as Web Slices and Accelerators give developers new ways to reach and maintain contact with their customers like never before.

Sounds great! We’ll see. I think i’ll stick with my developer tools that were NOT built by committees at Microsoft. Even more promising though is that this spells the end for IE 6 so maybe I’ll hear less moaning and groaning from Amber :) in the near future.

Tags:
Posted in Uncategorized | No Comments »

GPCP’s 10 Annual Auction Invitation

- Wednesday, March 18th, 2009 -

I just did this flash invite for the Grant Park Cooperative Preschool’s 10th Annual Auction.

The auction is March 28th - coming up very soon. If you’re in or around Atlanta come to the auction! It’s fun, there’s lots of great stuff to buy and it’s a great cause.

Check out the full details and buy your tickets on this page at the GPCP website.

And please spread the word. Send people to http://www.sharpdotinc.com/gpcpauction for the invite and http://www.gpcp.org/ for the details.

Posted in Uncategorized | No Comments »

FTP in Eclipse

- Wednesday, March 18th, 2009 -

Here’s details on how to add FTP support to eclipse. Worked for my aging 3.3.1.1 build. As a side note the eclipse site looks much nicer since i last visited and looks like they’re bundling the builds now in a way that’s much more ‘consumer’ friendly.

Tags:
Posted in Uncategorized | 3 Comments »

Update tool for Wordpress MU and allowable tags

- Tuesday, March 17th, 2009 -

We ran into problems setting up our services page becuase of some moderately advanced html code we were using. We were using definition lists with classes and ids on them - not all that advanced if you ask me. Anyways, after much digging and reading I came across a plugin that made it work part of the way. Apparently it does work in regular old WordPress but WordPress MU has some extra restrictions. Those restrictions do make sense when you consider it’s multi blog nature and the opportunity for abuse. Well, we’re running the whole deal here so no need for that but rather than just hack away at the core code, I added 2 hooks to the original plugin. Here’s what i did:

First off grab the latest tmve valid elements plugin http://www.engfers.com/plugins/tinymce-valid-elements/

Secondly install it by dropping it into the plugins directory (not mu-plugins) and activating it the blog that you need it in.

Then I added the code below to the bottom of the tinymce_valid_elements.php file. Here’s the 2 blocks of code:

function tmve_add_tags(&$content) {
$elements = tmve_get_element_map();
foreach ( $elements as $element => $attributes ) {
foreach ($attributes as $attrib ) {
if (isset($content[$element])){
$content[$element][$attrib] = array();
} else {
$content += array(
$element => array(
$attrib => array(),
)
);
}
}
}
return $content;
}

add_filter('edit_allowedposttags', 'tmve_add_tags');

The add_filter call makes wordpress run the function when you save the post which is needed in Wordpress MU. It’s a modification to the tmve_mce_valid_elements function.

Then I also added this:


function tmve_add_styles(&$content) {
$content[] = 'display';
return $content;
}

add_filter('safe_style_css', 'tmve_add_styles');

This hook made it possible to add the css display property into style attributes on my html. We needed this for the bottom part of our services page where we have some content blocks closed when the page loads.

One last thing is to configure it all. Click on Manage > TinyMCE Valid Elements and add the tags / elements you want to support.

Thanks again to David Engfer for the great plugin.

Lastly, I only used this on one blog so I believe you would need to activate and configure in each blog you want to use it in. Does anyone know the detail on that?

Posted in Uncategorized | 5 Comments »