Hi, I'm new (very VERY new) to this, and just installed Drupal today. are the extra modules i downloaded to my hard drive installed in the same manner as the regular site? do I need to create individuals files for each module in my public file? (I'm using opensourcehost) Do i need to create a mysql database, etc., for each additional module? Do you know of any easy-to-understand instructions online? I keep only coming up with partial instructions. Thanks!

Comments

sepeck’s picture

http://drupal.org/node/279
look at the comments.

In brief
under modules directory, create a new subdirectory with the same name as the module. Extract all the downloaded files for that module there.

Follow the readme or install file.
If there is a sql/mysql files, chances are you will need to add to your existing database

Download load dba.module.
If you need to add sql files you can open and copy the text to the execute script tab and add it there.

-sp

-Steven Peck
---------
Test site, always start with a test site.
Drupal Best Practices Guide

iraszl’s picture

1. Download the new module.

2. Put the whole directory into http://yoursite/modules/

3. Open the install and readme files and follow the instructions.
Some of them will require you to add new tables to your database. Almost all modules have a file with an extenson .mysql that you will need to use to update your drupal database, so that your new module can store and read data. I can tell you how it works on OS X.

4. Go to your site administration/modules and enable your new module.

5. Go to the settings of your new module and set it up.

6. Enjoy.

7. Start from step 1. with a new module.

8. If you don't need a module anymore, you don't need to delete it, you can just disable it in the administration/modules.

---
http://creativebits.org

Tpyo’s picture

Everything looked good until I went into the Admin / Mod

They aren't showing up, yet I can see by using phpMyAdmin that the table have been added.

This is my fisst Mod, is there something else i need to turn on?

thanks

adamore’s picture

Did you copy your module files to your module folder and import your table files? Are you using Open Source Hosting?

Alice

firstvoder’s picture

im not familiar with databases so if anyone cares to answer, please keep it simple...

with respect to point 3. and adding new tables to your database.

now, i want to install a module and in the readme file says "run the .mysql script". how do i run the .mysql script?

i have uploaded the "dba" module and wanna learn how to use it. there is a "run script" field. do i just have to copy the "nmoderation.mysql" file and paste it into the "run script" of the dba module (there are no "{}" in the script - do i have to add them manually)?

normally, i dont mind playing around and trying things, but it says something about undoable "execution"... so i thought asking first is better than executing first and asking later ;)

thx.

firstvoder’s picture

yaya...talking to myself again.

here is a good explanation on this important issue on how to add modules: http://drupal.org/node/12461

iraszl’s picture

Oh! Make sure you only use modules that support your drupal installation version number. Otherwise you might end up with a mess. :)

adamore’s picture

Thank you guys so so much. I've made progress finally! I have another question. I got so far as to add the module files, but now I'm tripping up at the tables. I'm getting a bunch of errors on my site because I don't know how to make the tables. When I do go into php admin to make the tables, I keep getting line errors (blogalice.com), for example:

#1064 - You have an error in your SQL syntax. Check the manual that
corresponds to your MySQL server version for the right syntax to use near ')'
at line 1

I know nothing about programming. I am a newer than newbie, just learning the ropes, and trying to put everything together. I know nothing about fields, syntax, etc. I've been trying to name the tables as the readme/install files suggest, but I'm snafuing it somehow.

Thanks again. Any advice would help.

iraszl’s picture

Don't mess with the tables in php myadmin. You need to use the command line that will fill up the table with the infor given in the modules .mysql file. The command starts with "mysql...". Find it in the readme/install files that come with the module.

I don't know how this command should be executed on your system, but in Mac OS X local installation you just open the Terminal application and type in the command.

Why don't you give us some more details, like what system are your on and which module are you trying to install.
---
http://creativebits.org

adamore’s picture

I've uploaded the mysql files. But in the instructions, the htmlarea file claims that a table for htmlarea.mysql should be available. There's no such file in the folder. Is there something else I should be doing? (I apologize for the idiot questions. Perhaps when I become more adept, I'll creat a step by step setup for morons such as myself on my blog!)

chrisada’s picture

There is nothing wrong with using phpmyadmin to create necessary tables for modules (or Drupal itself). If anything, I think there is a higher chance of screwing up with the command line. (And not everybody has access to that)

To create tables for any module, go to your drupal database in phpmyadmin, then go to SQL, choose (browse to) the .sql files that come with the module and click ok. (you will need to have the .sql on your com, not your server, so you can browse to it)

adamore’s picture

I'm using Windows and I've installed all the modules and imported the tables (there's no mysql file in my htmlarea folder, which has me perplexed), all which was very easy using Opensourcehost--I'm just blind to the obvious. I had problems with the im and sidecontent--kept getting error messages. So I scrapped them for now. But the htlmarea is vital because I'm just learning html slowly. Perhaps I'll re-download it and see if that helps.

adamore’s picture

It just didn't have the ".mysql" that all the other table files I imported had. However, now that I've added it to my module and imported the table, the error message is gone but it's still not showing up when I go to edit blocks on my site. Arrgh. I need a beer.

PeppInfo’s picture

I did all was said in the above threat....But the modules are not showing up in the Administer >> modules....

I had my beer.......So that can't be the problem.....

What to do? Anybody has the solution to this?

CMS is the way to go...

sepeck’s picture

Please start a new thread in the support forums with a more detailed account of what you are trying to accomplish and what you did. Drupal version and module version would be good to. From your question and the variations in the thread it is hard to determine what your issue may actually be.

We are also trying to clear out comments in the handbook (slow process though :) )
-sp
---------
Test site...always start with a test site.
Drupal Best Practices Guide

-Steven Peck
---------
Test site, always start with a test site.
Drupal Best Practices Guide