Hide Author and post date from content

Okay in Drupal 6 to hide “Submitted by” author “on” a date and time you would go to the themes and specify on which content types that information should be displayed and on which not.

In Drupal 7 you can change these settings under Structure > Content types when you edit the content type you want to change.

Of cause for a more a more customized approach what to show and what not you have to work on template.php.

Hide Error Massages

As I started developing my new project in Drupal 7 I stumbled over a couple of Menu changes…

There are several changes (mostly for the better, I think) but for Drupal 6 users it can become quit frustrating to look for a functionality and not finding it where you expect it (happened several times for me already…)

Before I start with my first menu change tip an information for you: I use the Administration Menu module for better access to the admin area of Drupal. And it still is a release candidate so there are still some problems with the themes but otherwise it works fine for me.

On to the tip:

When you want to hide Error reports (showing up at the top of a page) from all users and just log them in the database for the administrators to see:

Got to Development > Logging and errors and choose > None.

Cron in Drupal

Okay so what is cron? Or what’s a cronjob?

Well if you search for it Wikipedia will tell you that cron is a job scheduler in operation systems other than Windows. Consequently a cronjob is a command or a script (basically a series of commands) with is scheduled to be executed at a given interval.

Now in Drupal cron is used for different tasks to maintain the system (search the Documentation for more information about cron).

The main thing you should know is: cron is very important for your search and other modules may need it to do what ever you want them to do (e.g. Rules can use cron to trigger some actions or the other way round, whatever you want to do…).

In Drupal 6 you have the choice between setting up cron with your hosting provider or using your computer or … using the module Poorman’s Cron (how to do one of the others? – search the Documentation). With module you can decide how often cron is run. When you use the module you will find the configuration on the page with the site information.

In Drupal 7 Poorman’s Cron was integrated into the core so you do not have to do anything else. You can find it under > Configuration > System > Cron.

Depending on how busy your site is/will be/ should be you can choose how often you need cron to run. Of cause you can also adapt your configuration. Up until now I didn’t have any problems with using an interval of 3 hours. But I didn’t have so big projects it may be different to you.

File troubles – sudendly deleted files

Problem: During installation of modules some files were deleted O.O – I had to set the files to not writeable to save them from harm.

I was totally clueless as to why my files were deleted (actually I still am…)

But I found a solution *yay me*

My folder was named wrong. Sadly I don’t know what it was called any more. *not so yay me*


Rename the folder.

If that doesn’t help:

Set files to read only.