2

In the Panels UI, when you are editing a variant, you have the option to Export the variant, and the tooltip says "Export the variant into code to import into another page."

This is exactly what I would like to do, but where do I paste the code to import it? When I choose Add variant, I don't see an option to import, and I don't see an import option in the Page Manager UI (admin/structure/pages) either.

2 Answers 2

7

If you are not the super admin (user id = 1) on your drupal site.

You need to give the permission for "Use CTools importer" to be able to import a variant.

1
2

there should be an import button at the top of the page beside the Add Variant:

enter image description here

3
  • Hmmm... I have Disable, Add variant, and Reorder variants, but not Import variant. Is there some other dependency I need? Apr 28, 2015 at 16:14
  • All I have turned on is Panels, and Panel Nodes to see the import option..
    – Geoff
    Apr 28, 2015 at 16:17
  • I took a look at a couple of other sites of mine, one is a near vanilla test site, and they all contain the import variant, one with only Panels enabled. I would suspect something is overriding or interfering in your specific set-up
    – Geoff
    Apr 28, 2015 at 16:27

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.