• strict warning: Non-static method view::load() should not be called statically in /home/dalegowski/drupal_multisite/sites/all/modules/views/views.module on line 879.
  • strict warning: Declaration of views_handler_filter::options_validate() should be compatible with views_handler::options_validate($form, &$form_state) in /home/dalegowski/drupal_multisite/sites/all/modules/views/handlers/views_handler_filter.inc on line 589.
  • strict warning: Declaration of views_handler_filter::options_submit() should be compatible with views_handler::options_submit($form, &$form_state) in /home/dalegowski/drupal_multisite/sites/all/modules/views/handlers/views_handler_filter.inc on line 589.
  • strict warning: Declaration of views_handler_filter_user_name::value_submit() should be compatible with views_handler_filter_in_operator::value_submit($form, &$form_state) in /home/dalegowski/drupal_multisite/sites/all/modules/views/modules/user/views_handler_filter_user_name.inc on line 144.
  • strict warning: Declaration of views_handler_filter_user_name::value_validate() should be compatible with views_handler_filter::value_validate($form, &$form_state) in /home/dalegowski/drupal_multisite/sites/all/modules/views/modules/user/views_handler_filter_user_name.inc on line 144.
  • strict warning: Declaration of CRM_Core_DAO::factory() should be compatible with DB_DataObject::factory($table = '') in /home/dalegowski/drupal_multisite/sites/all/modules/civicrm/CRM/Core/DAO.php on line 45.
  • strict warning: Non-static method PEAR_ErrorStack::singleton() should not be called statically in /home/dalegowski/drupal_multisite/sites/all/modules/civicrm/packages/PEAR/ErrorStack.php on line 983.
  • strict warning: Declaration of CRM_Core_Error::singleton() should be compatible with & PEAR_ErrorStack::singleton($package, $msgCallback = false, $contextCallback = false, $throwPEAR_Error = false, $stackClass = 'PEAR_Error...') in /home/dalegowski/drupal_multisite/sites/all/modules/civicrm/CRM/Core/Error.php on line 45.
  • strict warning: Non-static method PEAR_ErrorStack::singleton() should not be called statically in /home/dalegowski/drupal_multisite/sites/all/modules/civicrm/CRM/Core/Error.php on line 496.
  • strict warning: Non-static method CRM_Utils_File::createDir() should not be called statically, assuming $this from incompatible context in /home/dalegowski/drupal_multisite/sites/all/modules/civicrm/CRM/Core/Config.php on line 233.
  • strict warning: Non-static method CRM_Core_DAO::init() should not be called statically, assuming $this from incompatible context in /home/dalegowski/drupal_multisite/sites/all/modules/civicrm/CRM/Core/Config.php on line 304.
  • strict warning: Non-static method PEAR::getStaticProperty() should not be called statically, assuming $this from incompatible context in /home/dalegowski/drupal_multisite/sites/all/modules/civicrm/CRM/Core/DAO.php on line 96.
  • strict warning: Non-static method CRM_Core_DAO::setFactory() should not be called statically, assuming $this from incompatible context in /home/dalegowski/drupal_multisite/sites/all/modules/civicrm/CRM/Core/Config.php on line 308.
  • strict warning: Non-static method Log::singleton() should not be called statically, assuming $this from incompatible context in /home/dalegowski/drupal_multisite/sites/all/modules/civicrm/CRM/Core/Config.php on line 289.
  • strict warning: Non-static method Log::factory() should not be called statically, assuming $this from incompatible context in /home/dalegowski/drupal_multisite/sites/all/modules/civicrm/packages/Log.php on line 220.
  • strict warning: Non-static method Log::_classExists() should not be called statically, assuming $this from incompatible context in /home/dalegowski/drupal_multisite/sites/all/modules/civicrm/packages/Log.php on line 162.
  • strict warning: Non-static method Log::_classExists() should not be called statically, assuming $this from incompatible context in /home/dalegowski/drupal_multisite/sites/all/modules/civicrm/packages/Log.php on line 167.
  • strict warning: Non-static method PEAR::setErrorHandling() should not be called statically in /home/dalegowski/drupal_multisite/sites/all/modules/civicrm/CRM/Core/Error.php on line 475.
  • strict warning: Non-static method PEAR::getStaticProperty() should not be called statically, assuming $this from incompatible context in /home/dalegowski/drupal_multisite/sites/all/modules/civicrm/packages/DB/DataObject.php on line 4148.
  • strict warning: Non-static method PEAR::getStaticProperty() should not be called statically, assuming $this from incompatible context in /home/dalegowski/drupal_multisite/sites/all/modules/civicrm/packages/DB/DataObject.php on line 2256.
  • strict warning: Non-static method DB::connect() should not be called statically, assuming $this from incompatible context in /home/dalegowski/drupal_multisite/sites/all/modules/civicrm/packages/DB/DataObject.php on line 2261.
  • strict warning: Non-static method DB::parseDSN() should not be called statically, assuming $this from incompatible context in /home/dalegowski/drupal_multisite/sites/all/modules/civicrm/packages/DB.php on line 520.
  • strict warning: Non-static method DB::isError() should not be called statically, assuming $this from incompatible context in /home/dalegowski/drupal_multisite/sites/all/modules/civicrm/packages/DB.php on line 557.
  • strict warning: Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /home/dalegowski/drupal_multisite/sites/all/modules/civicrm/packages/DB/DataObject.php on line 2152.
  • strict warning: Non-static method DB::isManip() should not be called statically, assuming $this from incompatible context in /home/dalegowski/drupal_multisite/sites/all/modules/civicrm/packages/DB/common.php on line 2195.
  • strict warning: Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /home/dalegowski/drupal_multisite/sites/all/modules/civicrm/packages/DB/DataObject.php on line 2283.
  • strict warning: Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /home/dalegowski/drupal_multisite/sites/all/modules/civicrm/packages/DB/DataObject.php on line 2152.
  • strict warning: Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /home/dalegowski/drupal_multisite/sites/all/modules/civicrm/packages/DB/DataObject.php on line 2152.
  • strict warning: Non-static method DB::isManip() should not be called statically, assuming $this from incompatible context in /home/dalegowski/drupal_multisite/sites/all/modules/civicrm/packages/DB/common.php on line 2195.
  • strict warning: Non-static method DB::isError() should not be called statically, assuming $this from incompatible context in /home/dalegowski/drupal_multisite/sites/all/modules/civicrm/packages/DB/common.php on line 1217.
  • strict warning: Non-static method CRM_Utils_File::createDir() should not be called statically, assuming $this from incompatible context in /home/dalegowski/drupal_multisite/sites/all/modules/civicrm/CRM/Core/Config.php on line 372.
  • strict warning: Non-static method CRM_Utils_File::createDir() should not be called statically, assuming $this from incompatible context in /home/dalegowski/drupal_multisite/sites/all/modules/civicrm/CRM/Core/Config.php on line 372.
  • strict warning: Non-static method CRM_Utils_File::createDir() should not be called statically, assuming $this from incompatible context in /home/dalegowski/drupal_multisite/sites/all/modules/civicrm/CRM/Core/Config.php on line 376.
  • strict warning: Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /home/dalegowski/drupal_multisite/sites/all/modules/civicrm/packages/DB/DataObject.php on line 2152.
  • strict warning: Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /home/dalegowski/drupal_multisite/sites/all/modules/civicrm/packages/DB/DataObject.php on line 2152.
  • strict warning: Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /home/dalegowski/drupal_multisite/sites/all/modules/civicrm/packages/DB/DataObject.php on line 2152.
  • strict warning: Non-static method DB::isManip() should not be called statically, assuming $this from incompatible context in /home/dalegowski/drupal_multisite/sites/all/modules/civicrm/packages/DB/common.php on line 2195.
  • strict warning: Non-static method DB::isError() should not be called statically, assuming $this from incompatible context in /home/dalegowski/drupal_multisite/sites/all/modules/civicrm/packages/DB/common.php on line 1217.
  • strict warning: Non-static method view::load() should not be called statically in /home/dalegowski/drupal_multisite/sites/all/modules/views/views.module on line 879.
  • strict warning: Declaration of views_handler_filter_boolean_operator::value_validate() should be compatible with views_handler_filter::value_validate($form, &$form_state) in /home/dalegowski/drupal_multisite/sites/all/modules/views/handlers/views_handler_filter_boolean_operator.inc on line 149.
  • strict warning: Declaration of views_handler_filter_term_node_tid::value_validate() should be compatible with views_handler_filter::value_validate($form, &$form_state) in /home/dalegowski/drupal_multisite/sites/all/modules/views/modules/taxonomy/views_handler_filter_term_node_tid.inc on line 303.
  • strict warning: Declaration of views_plugin_style_default::options() should be compatible with views_object::options() in /home/dalegowski/drupal_multisite/sites/all/modules/views/plugins/views_plugin_style_default.inc on line 25.
  • strict warning: Declaration of views_plugin_row::options_validate() should be compatible with views_plugin::options_validate(&$form, &$form_state) in /home/dalegowski/drupal_multisite/sites/all/modules/views/plugins/views_plugin_row.inc on line 135.
  • strict warning: Declaration of views_plugin_row::options_submit() should be compatible with views_plugin::options_submit(&$form, &$form_state) in /home/dalegowski/drupal_multisite/sites/all/modules/views/plugins/views_plugin_row.inc on line 135.
  • strict warning: Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /home/dalegowski/drupal_multisite/sites/all/modules/civicrm/packages/DB/DataObject.php on line 2152.
  • strict warning: Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /home/dalegowski/drupal_multisite/sites/all/modules/civicrm/packages/DB/DataObject.php on line 2152.
  • strict warning: Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /home/dalegowski/drupal_multisite/sites/all/modules/civicrm/packages/DB/DataObject.php on line 2152.
  • strict warning: Non-static method DB::isManip() should not be called statically, assuming $this from incompatible context in /home/dalegowski/drupal_multisite/sites/all/modules/civicrm/packages/DB/common.php on line 2195.
  • strict warning: Non-static method DB::isError() should not be called statically, assuming $this from incompatible context in /home/dalegowski/drupal_multisite/sites/all/modules/civicrm/packages/DB/common.php on line 1217.
  • warning: Creating default object from empty value in /home/dalegowski/drupal_multisite/sites/all/modules/mailhandler/mailhandler.module on line 116.

Welcome to IVCATi

What is IVCATi? The acronym stands for Illinois Valley Community Access to Technology and Information. This is what we do. We operate out of the Illinois Valley in Josephine County, Southern Oregon. We provide access to technology in the form of affordable websites and consulting on many technology topics.

If you have a website project or are seeking advice on your technology needs, feel free to contact us.

IVCATi Blog

Highest Recorded Temperature in Moscow, Fires Rage

Amanda Walker for SKY News has reported here that in Moscow "temperatures have reached 38C, the highest in Moscow since records began 130 years ago ... Peat and forest fires were started by the hottest weather in decades."

Properly update content in nodes with node_save($node)

I was using drupal_write_record to update the values for some CCK fields in the database, but this is not working out right at all. When the values are updated, the node seems to be confused about what's going on. They change in the specific cck field record like I've instructed with drupal_write_record, however, the node is then just weird, not showing any value for the field in question, and then filling in the un-altered, original value when editing the node. Meanwhile, the numbers in the cck field record become increasingly messed up as my code is run.

Can't make your node-whatever.tpl.php work?

Done everything right but your node-my-content-type.tpl.php file is just not being invoked? For some reason the Drupal documentation is not so very upfront about this little fact:

Updating records in Drupal: drupal_write_record

Well, I don't know how to do this just yet, but it would sure save me a headache for now. It's very nice how so much of Drupal 6 relies on the database table schemas. This makes working with tables more abstract and less prone to error.

Here is what I have figured out so far. In the code below I'm instructing the computer to make a change to the field field_posters_value in the table content_type_watercolor of the node with nid 2 to 0. It's a mouth full, but it's such a slick function, it deserves to be used widely.

<?php

$change = array('field_posters_value' => 0,

Color Zen tabs to match your layout

You can customize the Zen Classic tabs to match the color of your website background color.  The Zen theme for Druapl provides an excellent framework in which to style websites.  In this case, we will use tabs.css, tab background images, a Zen sub-theme, and the Gimp to create colored tabs that match the theme of your Drupal site.

You should be familiar with subtheming for Zen and the Gimp to perform these tasks.