Pick Language to Auto Translate:
AR | BG | CA | CS | DA | DE | EL | ES | FI | FR | HI | HR | ID | IT | IW | JA | KO | LV | LT | NO | NL | PL | PT | RO | RU | SK | SR | SL | SV | TL | UK | VI | ZH | ZT

CODBlock - a general purpose block to display HTML content

CODblock is designed to emulated Mambo Custom Module. For those that is unfamiliar with Mambo, this CODBlock is a general purpose block that you can use to display any HTML content that you want quickly without too much fuss.

One typical usage would be to show ads on your Drupal site, just create the block and enter your ad code.

That's it!

You can download it from here:

http://coaddonscms.googlecode.com/files/codblock01.zip

Can Drupal run on 000webhost?

The first question I ask myself when I look at 000webhost, a very popular free hosting provider, can Drupal be installed and run well on this free web host provider and the question is a BIG yes!

Like any free hosting provider they have limitation design to protect the service from being abuse. I wrote a two parts series on how to install Drupal on 000webhost.

The reason for two parts is once you get the file upload and ready to install, the procedure is the same like any Drupal install.

The first part is: http://docs.ongetc.com/index.php?q=content/how-install-drupal-000webhost

How to show item like forum on primary links menu?

In Drupal there is something call "primary and secondary links" on menus how would you add items to those menus links?

It is not too hard if you know what you are looking for!

The steps are very simple:

Click on "Administer" then click on "menus" then click on "primary links" and finally click on "add item".

On this screen you would enter the information to show on your primary link menus.

Here is an example for adding Forum to your "primary links" menus:

Cron.php error with 404

I have had my Drupal cron.php fail more frequently than it is running! After several months of troubleshooting and search for a possible solution and I think I found something that work for me.

There are lot of theories on what might cause the Drupal cron.php to fail but what I post here work!

http://drupal.ongetc.com/?q=content/how-fix-cronphp-fail-404-error

Drupal mutiple sites

There are lot of tutorial on how to use Drupal multiple sites feature but they are somewhat complicate to follow and understand so I create my own how to do Drupal multiple sites for my use but thought it might help others so I post those steps here in "How-to" book.

http://drupal.ongetc.com/?q=content/how-use-drupal-multiple-sites-feature

I hope you will find it useful!

Thanks

A blog entry in Drupal

Drupal has a nice blog module but it is not turn on by default. Once it is enable you can create a blog entry easily!

Please see my other post on the steps how to enable blog module in Drupal.

How to create blog in Drupal

Drupal has a build in blog module so the first thing you will need to do is to enable the blog module.

The steps to enable blog module is very easy:
. Click administrator
. Click module and look for "blog" and click on enable

Once the blog module is enable then you will see under "create content" will have a link for "blog entry" click on that to create a blog and just type away.

After you create the blog entry it will show under "Recent blog posts" if you have it enable in the "block"

How to create a block module?

"Hello world" is a very common practice for anyone want to gain a basic understanding of any new programming language, system, CMS etc.

This article is intent to just show a very basic coverage of how to create a basic Drupal block module.

Drupal module is a essentially a hook calling to Drupal hooks. There are many hooks and you can find out more about all Drupal hooks at api.drupal.org.

cron, the first thing must be done for your Drupal site

cron, the first thing must be done for your Drupal site

Why? You might ask?

Simple answer:
Running cron will keep your site operating optimally.

Long answer:
Cron a scheduler that automate system tasks.

For example:
. Rotate your log and statistical data.
. Do a number of behind-the-scenes cleanup functions like clearing the sessions table.
. Many modules (like RSS feed) also schedule tasks via cron, some modules may not behave as designed if cron does not run.

Drupal API

Syndicate content