3

User Account Picture with custom tpl

http://drupal.org

I was successful in overriding my user account edit page and creating a custom tpl, but I'm having issues breaking it down so that I can customize it. I was able to use devel and grab the text fields to take them out of their fieldsets like 'username', 'email', 'password'...ect. But, i can't seem to grab the user picture and separate it.

If i put this in my tpl, it prints the whole picture fieldset.

<?php print drupal_render($form['picture']) ?>

If i put just these in, it prints the 'delete picture' checkbox and the 'upload picture' textfield

<?php print drupal_render($form['picture']['picture_delete']) ?>
<?php print drupal_render($form['picture']['picture_upload']) ?>

Does anyone know how i can also print the user picture too (without the fieldset)? The devel module doesn't seem to give me anything that would help - but then again i'm pretty new with it.
Thanks.

Read »
Created by Dplanet 2 years 41 weeks ago
Category: Theming   Tags:

PSD to Drupal Theme

Drupal Development

Module Development

Get an Estimate

Tags for User Account Picture with custom tpl

Recent comments