This works for a different theme I tried, so I am guessing this fails in acquia_marina because of something to do with the theme. I created a new cck type called 'test' and attempted to override the input/edit screen for this node type by following an example. Here is the code I created:
in template.php:

<?php
function acquia_marina_theme () {
  return array ('test_node_form' => array(
       'arguments' => array('form' => NULL),
       'template' => 'test-node-form',
      ),
   );
}

function acquia_marina_preprocess_test_node_form(&$vars) {
  $vars['whole_form'] = drupal_render($vars['form']);
}
?>

in test-node-form.tpl.php:

<div class="test-node-form">
        <?php
                echo "%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%";
                print ($whole_form);
        ?>
</div>

I never see this version of the form in acquia_marina, I only see the original default form.
Could someone explain how to create a different theme for the input/edit screen for a cck type using this theme?
thank you!

Comments

jwolf’s picture

Status: Active » Closed (won't fix)
51ucars’s picture

I want to know too.

In my case , I try to override the login page.