GROUP_CONCAT()

My latest project has turned out to be quite challenging. A lot of select queries within select queries between tables that are not related or share any similar information. Also trying to control the results when records get grouped together has been very interesting.

GROUP_CONCAT is a great way of grouping records and not lose variables that you’ll need later. For example; I have a table where magazines share the same title but some can be gifted and some can’t. By using GROUP_CONCAT I can keep track of how many magazines can be gifted.

select *, GROUP_CONCAT(Gift) as gGift from Campaigns group by Magazine

The result I get from gGift will be the combined values from all the magazines that have the same Magazine name.

 

December 2011

We’ve been having some issues with one of our wordpress website lately. I made 3 versions, quit similar, and 1 of them just keeps hanging the website. The only differences between the 3 websites is a couple of plugins. A few of them use a lot of javascripts and I’m not sure if all of them are needed all the time. The do recommend that you combine all the javascripts and stylesheets into 1 file but that’s something that just doesn’t work very well with wordpress. Time to do some research!

iPad and Ipod

Testing wordpress iPad application. Pretty nifty!

Taxonomy.php checking values against meta_query

I’m using the taxonomy structure to display my categories called ‘departments’ in my WordPress project but I wanted to use some of the meta values from the custom post type ‘products’ to show my results.

Multiple meta_value queries

After a few days of trying to figure out how to use more advanced WordPress queries I finally got it working. I wanted to sort posts between a start date, an end date and if a post was featured or not. More options will be added as the project progresses.

Did some more research on the taxonomy structure in WordPress, and it looks really impressive. I’ve been trying to make a frontpage and a taxonomy page with the help of the meta_query and the tax_query functionality but both seem not to play very well with the date format.

I’ll be working on a new project this week for Crazy88media.com, a good old fashion website that uses data-feeds for the content. Looking forward to working on it!

I’ve been making a lot of websites in WordPress lately. My deadlines have been putting some pressure on me so I’ve not really been able to do my research as I’d like to. A quiet weekend coming up, so time for me to look into taxonomies in WordPress.

Devstyle 2003

Comic site

I’ve taken the comic site offline. Don’t worry though, I’ll be putting it back online in a few weeks. I just need to rework the main design due to server upgrades.

Devstyle.org

Finished most of the changes to the portfolio site, not looking too bad if I have to say so myself.