Web Design

How to Set Up MySQL Workbench on a MAMP Server

My main reason for using MySQL Workbench, at least for now, is for the really cool Data Modeling tools. It a bit of a pain to MySQL Workbench up for MAMP, though. To set mySQL workbench up for MAMP, I found the following to work after scouring the internet and finding this simple to the… Read more How to Set Up MySQL Workbench on a MAMP Server

How to Export a Large MySQL Table on MAMP to a CSV File

You many need to export a data base table that is larger than phpMyAdmin’s maximum allowed size (in the export table tab). An easy way to do this by using the terminal. I have provided a simple example below for MAMP users like me. This information is based on a blog post I found on… Read more How to Export a Large MySQL Table on MAMP to a CSV File

DRUPAL 7: List of 50 States, Pipe Separated, for CCK Select Field

Sometimes, when using the “Add a new field” feature of the CCK module (URL: /admin/structure/types/manage/some-content-type/fields ), you may want to make a select element with a drop down of the 50 states of the US. To mkae life a little easier, here is a pipe separated list of the 50 states of the US. All… Read more DRUPAL 7: List of 50 States, Pipe Separated, for CCK Select Field

Drupal 7: How To Create a Views View from Within a Module (default view)

The whole idea in making a module is to make it, well ‘modular’, right? The person who is going to install the module should not have to create and configure a view. Chances are they would not get it just right anyway (you know, with all the exact settings the module depends upon). This is… Read more Drupal 7: How To Create a Views View from Within a Module (default view)

Drupal 7: How to Make a Drupal Theme Function in a Module

This is intended as a simple reminder for all of those out there who find making a drupal theme a bit confusing at times. There are three main steps that all work together. 1) hook_theme which adds an array of callbacks and their arguments to the theme registry. You need to put this in your… Read more Drupal 7: How to Make a Drupal Theme Function in a Module

HTML5: How to Make a datalist for a Form Field Input Element

Isn’t it nice when web developers make it easy for end users to fill out a form? One way to make for a pleasant user experience is to offer suggestions on a form’s input field. HTML5 now has a cool feature that makes this easier for the developers too! The HTML5 datalist element provides an… Read more HTML5: How to Make a datalist for a Form Field Input Element