Fix for preprocessnode

  1. function archstl_preprocess_node(&$vars, $hook) {
  2.   // Add Read More link if node body field has
  3.   // See node.module modification (killed a kitten, I know...), approximately line 309.
  4.   if(is_numeric(stripos($vars['field_body'][0]['view'],''))) {
  5.     // dsm($vars);
  6.     $vars['content'];
  7.   }
  8. }

Submit Fix

Any tags you'd like to associate with your code, delimitered by commas (example: Views, CCK, Module, etc).
Select the syntax highlighting mode to use.