I have two questions:
1. Is there any documentation describing a sample site with the steps in volved with defining the Blocks, Nodes, Navigation, Taxonomy etc. . I think this would be helpful to newbies like myself. So that I can properly build a new site. I thought it would be good to get familiar with Drupal before I actually built my site.

2. In attempting to install the Events.Module I simply copied the Tar file to a new directory on my server, extracted its contents and moved the events.module to the modules directory. It sort of worked except for some ugly mysql errors. But as there are no install directions I believe that the other files that were extracted also have to be installed somewhere (why else would they be there)?
It could also be that I have no events defined.

PLease point me to the proper docs if possible or offer some suggestions.

Thanks

Stevek

Comments

heather’s picture

i'm assuming you downloaded this from: http://drupal.org/project/event

there is a file called INSTALL (with no file extension) when you extract the events module. this is pretty much the same with all modules. your computer may be hiding it from you, since there is no extension? It's just a text file.

as with other modules, it directs you to create the tables in the database, using -in this case- the events.mysql file. (you can use a tool like PHPMyAdmin, if your host has this.) after that, you upload the files to the modules direvtory- and drupal recognizes them so you can configure them in the admin area of drupal.

this below was in the INSTALL file, for events 4.5, it was dated 13 nov 03 (the events module itself was dated 24 dec 04)


Readme
------

This is a simple module to keep track of events and show them to users.
Send comments to kjartan@drupal.org.

Requirements
------------

This module requires Drupal 4.3 or higher.

Installation
------------

1. Create the SQL tables. This depends a little on your system, but the
   most common method is:
     mysql -u username -ppassword drupal < event.mysql

2. Place the event module with all its files under modules/event.

3. Enable the module in admin >> site configuration >> modules 
   and set the module settings to your liking in 
   admin >> site configuration >> modules >> event.

4. Optionally add custom fields by editing the function in
   the fields.inc source code file. If you want to add fields
   that have an extra entry in the database, you need to add those
   entries to the event table.

Author
------

Kjartan Mannes <kjartan@drupal.org>


NOTE: event.module requires PHP 4.2 or higher.

To work around this add this to event.module:

if (!function_exists('array_fill')) {
    require_once('array_fill.func.php');
}
and the array_fill.func.php file:
<?php
// For PHP version < 4.2.0 missing the array_fill function,
// I provide here an alternative. -Philippe

function array_fill($iStart, $iLen, $vValue) {
     $aResult = array();
     for ($iCount = $iStart; $iCount < $iLen + $iStart; $iCount++) {
         $aResult[$iCount] = $vValue;
     }
     return $aResult;
}
?> 
SJKLEIN’s picture

Kjartan, I think I screwed up installation of the events module. I installed the directory under modules but prior to installing it under modules i had copied it to public_html. I am now getting errors indicating that the system is looking for the various routines in the modules directory. Ithought the modules directory was just for modules? Do they belong in the modules dir or in a subdirectory off of modules called event?

I get the error even if I tell the admin system to not use the module.

P.S. I also dropped the event table in mysql and added the one in the new version. I am using 4.6

Thanks,
stevek

ramdak5000@www.drupal.org’s picture

Try the user guides at Bryght (http://support.bryght.com/). They run a hosting service based on Drupal. The guides are very good for newbies.