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.

| improve this answer | |

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.