Archive - 2006


December 22nd

Drupal 5: How to set up a simple basic site

Let's suppose we want to set up a simple Drupal site with a WYSIWYG editor, with the ability to include on-the-fly uploaded images in our posts.

What would the steps be, exactly, so as to avoid all the common pitfalls still so common in even relatively simple configurations?

Drupal 5.0.x (at this writing at rc1) is much simpler to install and configure than previous versions, but you still have to go through the following steps:

  1. Follow the basic directions in INSTALL.txt in the root directory of the tarball so as to obtain a virgin Drupal site.
  2. Create the first user by hitting "Create new account" under the left-hand side login dialog block.
  3. Make a user who will be the famous "user 1", a user with the name of "superuser" or some such: this user will not be used for day-to-day operations, for reasons of security. It will be used only this once, to do the first few steps outlined here, and then only to update the version and modules.
  4. Go to Administer > Site Building > Modules and enable the following modules:
    • Blog
    • Contact
    • Tracker
    • Upload

December 17th

Porteño DUG (Buenos Aires Drupal Users Group) First Meeting

Porteño DUG (Buenos Aires Drupal Users Group) atendeesPorteño DUG (Buenos Aires Drupal Users Group) atendees

(Photo taken by ... )

Last Friday Dec 15, we had a chance to meet face-to-face to talk about Drupal with people who really appreciate it and live in our city, to discuss plans for our new Buenos Aires Drupal User's Group, and to drink some great Quilmes beer!

December 8th

Moodle module for Drupal 5.0

This is in reference to the Moodle module for Drupal 4.7.4 . Basically, if you configure Moodle to authenticate users from an external database, and that database is the Drupal database, you can seamlessly invoke Moodle in an iframe with automatic login from Drupal.

I made some quick modifications to get this module working for Drupal 5.0 beta. This is a tarball of the module actually working.

I find that relative URL's for the (possibly local) moodle installation do not work, and require a full http://... URL.

I have attached the file to this entry. AS IS, folks, no guarantees; and I am hosting it as a temporary measure until better Drupal/Moodle integration is possible.

November 16th

Git and Cogito on Ubuntu

In Synaptic I installed cogito (and therefore git), and gitk (gui).

I'm going to follow the advice on the Git Cogito page:

If you want to start to use Git and are considering Cogito, the best way to go about it is to first learn Cogito, then pick up Git commands if you need to do something extraordinary.

For quick introduction to Cogito, follow the Git Crash Courses - they are presenting Cogito commands.

So I cd'd to my project dir and did:

cg init 

This is the equivalent in svn to both creating the repository (which is now local!!! although I can "push" my stuff to a centralized directory somewhere) and doing the initial import. I make the initial comment, save the file and exit).

Then I made a change in a binary document file, and did:

cg commit

Typed in "modifiqué sección 3.6 Ambientes del Usuario" and saved and exited. Then saw my changes: