Subjects 2.0 Installation Guide

Subjects module installation for MD Pro 1.x or PostNuke 0.71x - 0.72x

Before you go through the installation process please read all the installation documentation.

Subjects module is compliant to pnAPI standards and supports standards for PostNuke modules installation/upgrade/delete procedure.

I. Fresh installation

  1. Unzip and extract this file to the root directory of your MD Pro or PostNuke site.
    All the files should go in the correct place and shouldn't be modified.
    Everything except includes/search/subjects.php goes into the modules directory.
  2. Do [Administration]-->[Modules]-->[Regenerate]-->[Initialize]-->[Activate]
  3. CHMOD /modules/subjects/pages directory 777 if you want store content on disc
  4. See [Administration]-->[subjects]-->[Documentation]
  5. If you want store files on disc (not in DB) you can use *ew_filemanager* module instead of FTP. You can get it here

II. Upgrade from previous versions lower than 2.0

  1. Backup your data first!
  2. Remember that your /modules/Subjects/pages directory may already have content and be sure not to unintentionally remove this directory if there are any pages or subject images!
    Backup your /modules/Subjects/pages directory if it exists.
  3. Deactivate and selete Subjects block if it exists
  4. Go to phpMyAdmin and execute the following query:

    #-------------------cut here----------------------------- UPDATE PREFIX_modules SET pn_name='subjects', pn_displayname='subjects', pn_directory='subjects' WHERE pn_name='Subjects'; #-------------------cut here-----------------------------
    where PREFIX => your prefix for PostNuke tables
  5. Delete *ALL* Subjects files (see previous Subjects' module distro)
    Usually:
    /modules/Subjects/
    /includes/blocks/subjects.php
    /includes/language/blocks/xxx/subjects.php
    /includes/search/subjects.php
  6. Unzip and extract this file to your root directory of your PostNuke site. All the files should go in the correct place and shouldn't be modified. Everything except includes/search/subjects.php goes into the modules directory.
  7. Make [Administration]-->[Modules]-->[Regenerate]-->[Upgrade]-->[Activate]
  8. CHMOD /modules/subjects/pages directory 777 if you want store content on disc
  9. See [Administration]-->[subjects]-->[Documentation]