2

There is a default "add/edit node" panel inside the Pages content.

When I use it, it utilize the its variant for both add and edit forms.

I would need to differentiate between both of these two instead of having a common panel for both of them.

Do you have any solutions?

(My Drupal version is 7.x)

  • Please describe what you have tried first. The question as it is now does not comply with this site's purpose. drupal.stackexchange.com/help/on-topic – Neograph734 Oct 13 '14 at 10:10
  • Ok, the question is already answered. But I will make it complete! – Ehsan Oct 13 '14 at 12:50
2

On the node/edit panel, create two variants, "add" and "edit."

Make sure the add variant is first. Then add a selection rule for the add variant:

String: URL path node/add/*

All paths not meeting this condition will be sent to the edit variant, which should give you the effect you want.

  • Thank you, your solution works. I just edited the question with a bit more details for other readers to understand more about the question. – Ehsan Oct 13 '14 at 12:53
  • Ok, if this answer works for you, please accept it by checking the checkbox. If it is incomplete, update the question to let us know what more you need to know. – Patrick Kenny Oct 13 '14 at 13:08

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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