There are two ways to create content types in Drupal. The first is using hook_node_info in your module. When using this method, this only creates a content type with a title and a body (providing you implement the hook_form() function.)
While wanting to watch Hulu on the computer connected to my TV I ran into the issue where every 5 minutes the TV would go into sleep mode. I was not able to find anything in KDE to prevent this from happening.
I did find a command that would allow you to set this option until XOrg was restarted.
# xset q
This will get you information about the keyboard, pointer, screen saver, colors, font path, and DPMS (which is what we want)
I know you can take a screen shot on an iPhone by holding down the only two buttons, which got me thinking "I should be able to do that on Android phones too." So doing some googling for a few minutes, the only thing that I was able to find was connecting phone to a computer and firing up Eclipse and doing it through the SDK/IDE, downloading a special App and again connecting it to your computer, or installing a 3rd party app.
I have found a way to initially show no results when a view loads, but if I want to display a specific value if nothing is found, that's a different story. One instance that you would want to do something like this is when you're making a distributor or representative locator. In this case, if no results are found, then you want to display the corporate office's contact information.
I am assuming you have selected the fields you want to display, filtered how you wanted, and exposed what filters you want the user to use.
The first step is to setup the interface with an IP and a netmask:
# ifconfig eht0 192.168.1.25 netmask 255.255.255.0 up
Next we need to tell where we want to route the information to:
# route add default gw 192.168.1.1 eth0
The above command is saying that we want a default gateway on interface eth0 to be 192.168.1.1 which is a router.
In order to increase security on a webserver, especially on a shared host, using suExec and FastCGI to execute a PHP script as a normal user will add a level of security. For example, we have a vhost configured already:
I always for get how to creat a database, user, and granting privileges to the new user for that database:
Below are some notes on how to use git from day to day.
$ git config --global user.name "<your name>"
When creating a domain in Plesk, PHP safe_mode is enabled by default. To change the default behavor do the following as the admin:
I had to add the SKU to the checkout of Ubercart, to do that, I had to do the following: