4

I am trying to override the user edit page in Drupal7 using Panels. I checked the selection rule as user being edited are one of authenticated and administrator.

However, when I try to add a context to it and select the context User being edited, it asks me:

Enter the name or UID of a node

(A user edit form)

What do I write in here, any suggestions? Am I on the correct track or do I have to add any other context or relationship as well?

I also tried giving different path and ID but then I get some kind of ajax error.

Ps: Below is my screen shot, what do I enter in the first field?

enter image description here

0

1 Answer 1

3

user_edit panel default context is the current edited user. Why do you need to add an additional context with a user?

If you need to access to user values you can use the default context. For example you can use %user:uid in order to load the user ID which is being edited.

1
  • i thought so...but then i am not getting username, password and picture as forms to be edited, i am just being able to display them...on the other hand, my custom fields which i added in account settings are coming under forms and i am able to edit them
    – why
    Feb 25, 2013 at 6:51

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.