Welcome to Drupial! I will be providing tutorials on drupal and other areas of web development. Coming Soon!!!

Read Maximum PC For free

A tip I just thought I would share with everyone. Maximum pc releases their issues as a convienent downloadable pdf as soon as their next issue hits the stands.

Just go to http://www.maximumpc.com and click on the pdf link at the top of the page.

Create ringtones for free

i thought i would share two simple tools I use to create ringtones.

The first is a free sound editing program called wavepad which i use to select the portion of the song that I would like to use as a ringtone. It has a very simple to use xp-like interface.
Download here
http://wavepad.en.softonic.com/download

PHP Coalesce

This little function has proven very useful to me. If you are familiar with the SQL coalesce function you would know that it takes the first non null argument. This can be useful for variable setting and such.

The javascript interpretation would be
var myVar = var1 || var2 || '0';

Which would take the first non null variable. And if var1 and var2 are both null it sets it to 0. Well I need this same functionality in php multiple times and I found a little function which does it very well.

Yahoo user interface - Add drag/drop behavior to YUI tree

My mission was to create a tree where nodes can be dragged and dropped from branch to branch.

This is based off of code from sonjayatandon.com which you can find here

I was surprised to find out the the yui library didn't have this by default because most features I have needed was already done for me. I need this for a clients project that I was working on.

Drupial - Create RSS feed with all content / Create page with all content

I had a problem where I wanted the main syndicate link to provide all content that had been published to this site however the syndicate only lists items that has been published to the front page.

So after a little research I went into the node module and found the node_feed function and found this query.

$result = db_query_range(db_rewrite_sql('SELECT n.nid, n.created FROM {node} n WHERE n.promote = 1 AND n.status = 1 ORDER BY n.created DESC'), 0, variable_get('feed_default_items', 10));

Drupial - Installing drupal in a subfolder

Welcome to my first ever drupial. What is a drupial you say well it is a catch phrase on the words drupal and tutorial. Mostly these will apply to drupal tutorials but they can also fall in the form of any web based or programming tutorial that I find useful.

With that said lets get on the way. I have recently installed drupal but I wanted an easy way to switch from drupal5 to drupal6 with a clean install so the only way I could think of is installing drupal in a subfolder and having it show up as the root folder.

Finding a web host - MMHosting Review

My recent quest was to find a web host for a variety of projects that I plan on doing. I am going to talk about the results of my findings and what I ended up going with.

So first my requirements:
1. I need to be able to host a number of domains possibly up to 30. (I plan on doing websites for a variety of businesses and hosting them.)

2. I need to be able to have an equal number of databases or possibly even more for testing or other purposes.

3. I wanted to have a variety of software already available for install with easy setup.

Lifehacker

Syndicate content