Coredump

Work, play, and everything in-between.

Archive for the ‘drupal’ tag

Drupal modules loaded in CMS

without comments

Using the following modules in my Drupal CMS implementation:

  • Archive
  • Attachment
  • BasicEvent
  • Event
  • Excerpt
  • Feedback
  • Filemanager
  • Flexinode
  • Forward
  • Help
  • Image
  • Img_assist
  • Menu
  • Node
  • Nodewords
  • Notify
  • Page
  • Path
  • Pathauto
  • Print
  • RSVP
  • Search
  • Service_links
  • Similar
  • Simplenews
  • Sitemenu
  • Taxonomy
  • Taxonomy_access
  • TinyMCE
  • WatchdogNotify

Up next:

  1. Themeing the front_page. I’ve created a PHP snippet to list and beautify recent news items.
  2. Clean up the code. The HTML source is a mess! Will have to dig deeper into that.
  3. Integrate with Gallery (there’s a Drupal module for this) and MediaWiki (if possible). I wil be needing these apps if I want to make my life easier.
  4. Migrate from the old CMS. Now this will be a pain. Would have to do this manually as the tables are way, way different. Ugh!

Written by Ian Dexter

December 20th, 2005 at 5:11 pm

Posted in Work

Tagged with , , ,

CMS installation

without comments

  • Drupal installation on opapa.
    • Created Drupal database:
      mysql -u root -p
      > CREATE DATABASE drupal;
      > GRANT ALL PRIVILEGES ON drupal.* TO iandexter IDENTIFIED \\
         BY 'password';
      > FLUSH PRIVILEGES;
      > q
    • Decompressed Drupal package on /var/www/html/
    • Load database schema for Drupal:
      cd /var/www/html/drupal-4.6.0
      mysql -u iandexter -p drupal 
    • Edited configuration in sites/default/settings.php:
      $db_url = "mysql://iandexter:password@localhost/drupal";
      $base_url = "http://cms.openacademy.ph/"
      
    • Created files directory:
      sudo mkdir files
      sudo chmod 664 files/
      
    • Edited httpd.conf:
      <VirtualHost *>
        ServerName cms.openacademy.ph
        DocumentRoot "/var/www/html/drupal-4.6.0"
      </VirtualHost>
      <Directory "/var/www/html/drupal-4.6.0">
        Options Indexes
        AllowOverride All
      </Directory>
      
    • Created cron task:
      su - -c "crontab -e"
      0 * * * * wget -O - q http://cms.openacademy.ph/cron.php
      
    • Opened installation in browser, created first account, and logged in.
  • Configuring Drupal:
    • Added roles:
      • Administrator
      • Editor
      • Author
    • Enabled modules.
  • Added DNS entry (CNAME) at domains.ph.

Written by Ian Dexter

April 25th, 2005 at 7:30 am

Posted in Work

Tagged with , ,