Modules, adding updating removing

After the module developers or contributors do all the hard work,
the rest Is pretty basic stuff, but still I had questions about it when I started.
  -----All contributed modules are in the    sites/all/modules   folder---
Most modules have a readme file in the folder, It's a good idea to have a look. Best to go look around on the module page (drupal.org/project/-module-name-) for good info. have a quick read in the issue que for the module. After your satisfied it will do the task, get-it install-it run it.
To Add a new module:.........

  •   Download module from   Drupal.org/project/name_of_module  or project name
  •   Unpack it on your local machine and Upload the folder and it's contents to   sites/all/modules
  •   ONE MORE TIME.. all modules go in mysite.com/sites/all/modules  NOT mysite.com/modules
  •   The      mysite.com/modules     folder is for Drupal Core Modules Only.
  •   Login to your site Goto    Site building >> Modules >> List    and enable the new module.
  •   Then Goto:  Site Configuration >> name-of-module   to set the new module up the way u want.
  •   Last Goto:   User management >> Permissions    and set the permissions the way u want them.


Check the status of your modules and themes:

  • Goto:    Reports >> Available updates     and have a look.
  • You can check the release notes on an update to see if you want it now or maybe wait till it reaches maturity. Some updates are for security purposes and should be updated asap.
  • Download the new release right from the Available updates page to your local machine.

 


Updating a Module:

  • Goto: Reports >> Available updates   Click the download link next to the module for the correct updated version. Save it to your computer.
  • Goto: Site building >> Modules >> List   and disable the module to be updated. This may not be necessary in all cases, just a precaution. I upgrade modules all the time without disabling them.
  • Unzip, unpack or untar the new module file on your computer, have a quick look at the readme file...
  • Go FTP to   sites/all/modules  and delete the module folder that you are updating. This way all old unused files will be gone and the upload date will be correct on the server list.
  • Upload the new module folder that will take it's place. to sites/all/modules
  • Shut down FTP and Login to your site-- Goto Site building >> Modules >> List and turn it back on, if you disabled it.
  • You can visit the Reports >> Available updates  page and sometimes hit refresh on your browser to see the new version in the list.
  • The Drupal way is to put the site off-line during updates to stop database activity.
    Site configuration > Site maintenance         While your there add a little message for your visitors.
  • Run "Updates"  [left end of admin menu]  When you run updates, the database will recieve the new changes, if there are any,   icon > Run updates      and follow along, it realy is painless most of the time.
  • Put the site back on-line after your done.   Site configuration >> Site maintenance
  • If anything doesn't seem right.. flush caches and run cron...   icon >> Clear caches  -and-   icon >> Run cron  ( icon is on the far Left side of the admin_menu)
  • If a module has more functions, it may also have more permissions.      User management > Permissions
  • And it may have more settings to look at too      Site configuration >> name-of-module


Remove a Module:

  • Goto: Site building > Modules > List   and disable the module to be removed.
  • Click the tab at the top of the Module List Page labeled Uninstall, see if your module to be removed is in the list. If it is...YAHOO --check it and remove it... all done.   That will pull all info from the database for that module.
  • Go FTP to sites/all/modules     and delete the module folder.
  • If the module was NOT in the uninstall list, you may have to remove the tables from the database manually using phpmyadmin through your web host control panel.

 

Back to Top

 Back to Top