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)

2
  • 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 Oct 13, 2014 at 10:10
  • Ok, the question is already answered. But I will make it complete!
    – Ehsan
    Oct 13, 2014 at 12:50

1 Answer 1

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.

0

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.