Hi ppl,

I really need some help for templating content type edit page. Right now i have content profile for user registration; but the user can also edit his/her profile details so i need to template the page. I have tried using node-xxx-edit.tpl.php but it would seem its for D5.

Is there a way to template it?

Cheerz,
michael

Comments

mndonx’s picture

Hi michael - For form templates, you have to tell Drupal about your form tpl file. Here's a tutorial on using doing that:

http://trellon.com/content/blog/theming-user-register-form-d6

However, this article fails to mention you need to put this at the end of the template:

<?php print drupal_render($form); ?>

That will render all the available variables and ensure that form actually submits.

Otherwise, I think that tutorial should get you started.

Hope that helps -
Amanda