Theme CCK input forms

HowTo: Theme a CCK input form

So, as a non-developer, semi-technical, marketing/business type person, I set out to discover how to ‘theme’ my input forms. (All those developers and others that are better informed than I, please feel free to correct me where I am wrong!) I found there are at least two different ways to theme input forms:

  1. Using the Form API (creating new .module files programmed in php and using things like ‘hook_form_alter’)
  2. Creating tpl.php files

I have found that it is far easier to use the second method. You actually end up having to do a little more than create a custom tpl.php file - you have to modify template.php, which requires a little bit of PHP knowledge as well as work with stylesheets (either edit style.css or create a new one and link it to your theme - more on this later).

Possibly related posts (automatically generated)