Subscribe To RSS Feed


Mike D's SharpBlog

Just another Sharpdot weblog

Zend Framework (zf): Multi-Step Form with dynamic Elements

- Monday, July 26th, 2010 -

Coming Soon: Tutorial on how to make a multi-page form and also how to use dynamic elements on the form.

Zend FrameWork: Join Query Not working

- Sunday, July 25th, 2010 -

While creating a SQL query in ZF I kept getting an error with my joins. I was able to fiz this using the code below.

$fooTable = new DbTable_Foo();
$select = $fooTable ->select(Zend_Db_Table::SELECT_WITH_FROM_PART);
$select->setIntegrityCheck(false) //Set integrity check is what did the trick for [...]

Zend Studio: How to fix Code Completion, when it stops working

- Sunday, July 25th, 2010 -

I have ran into an issue/bug with zend studio/eclipse IDE, every once an a while code completion will stop working. I have not been able to pin down what exactly causes the problem, but here is my fix.
Delete the following file in the Zend Studio workspace:
Zend/workspaces/<your workspace name>/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.dltk.ui.prefs

Magento: Upgrading to 1.4

- Wednesday, June 9th, 2010 -

This is my upgrading Magento to Version 1.4 journey.
Here is how I decided to go about it.

Backup the database!!
Clear all cache and disable caching
Move code into a SVN Branch (assuming you use source controll, if you don’t you should!)
Remove Old Core Magento Code (just leave community and local modules, keep my theme folder)
Download Full Release [...]

Drupal: Adding Nodes Programaticly using drupal_execute()

- Friday, June 4th, 2010 -

I recently had to migrate data into Drupal. To do this I decided to just run drupal_execute(), to create the nodes. I ran into a few quirks and thought I would share my trials with the world.
My first issue was, How do I get the new node id that was created by drupal_execute(). Well It [...]

Drupal: Wysiwyg TinyMce not working in IE

- Wednesday, April 21st, 2010 -

I recently was developing a Drupal Ver6 site and when doing functionality testing noticed that the TinyMce Editor was not working in IE. The editor buttons would not display. After hours of bug hunting and goggling I finally figured out the problem. IE apparently limits how many css includes you can have, so to resolve [...]

Drupal: Forms, and Form Templates, Contact Form Template

- Wednesday, April 14th, 2010 -

I found this great video about adding a template to the drupal contact form and wanted to make sure I did not forget where I found it. It also has good general information about working with forms.

Eclipse: Setting up FTP in Eclipse Galileo

- Wednesday, April 7th, 2010 -

The method I used to get FTP in Eclipse was to install Aptana Studio and Use the FTP client that came with it.

Once you get Aptana Installed you will need to open the Aptana Web perspective (Window -> Open Perspective-> Other -> Aptana Web).
Once you have the perspective open you should see a tab [...]

Drupal: Complex View Layout, Getting Down and Dirty!

- Tuesday, April 6th, 2010 -

Drupal provides a ton of great functionality, but every now and then you get a designer, Amber , who just try’s to come up with a design for a Drupal site that challenges your knowledge of the system. Well thanks to the challenge I have found a nice bit of functionality to allow [...]

Magento: Import Multiple Images or Remove Images durring Batch Import

- Tuesday, March 2nd, 2010 -

This article will detail how to adjust the Magento Batch Import (Dataflow) to allow uploading multiple gallery images, and also how to add a way to remove all images during Import/Update.
These are the accompaning files: (Please reference this file if you have any quetion about the code examples below. The WYSIWYG editor was messing things [...]