Fixing bugs and configuring Drupal

keywords:

Had a few problems with Drupal. The blog it link was producing html text in the form window which had broken hyperlink tags. Little edit of the blog.module took care of that.

Also had to modify user.module and change the user login block as it was pushing out my side menu because of the way it was formatted. Seems to me to be a lot of legacy formatting in the Drupal core which would be better left to CSS definitions in the theme. For example, right now, the blog post links on the main page are using a different style than the story submission links, even though I definied the node titles with the same css definition.

As for cron to activate cron.php so Drupal would update, I ended up

  • entering crontab -e at the command line as root
  • editing the file in vim with a version of the following for each drupal site on the server:
    00 * * * * /home/www/drupal/scripts/cron-lynx.sh
  • then exiting with :wq
  • then editing cron-lynx.sh to provide the url for website.

Works great now, thanks to this drupal.org comment post.

****

just modified admin.php to make the fonts smaller. now i get more information on the page, less scrolling :)