0

I am using Views-7.x-3. I have a master view and many content panes views under it. Recently I have a requirement in which I have to create attachment for one of the content pane view. When I clicked on adding an attachment it cloned the all the formats, fields, filter criteria etc from the master display, which I do not want as I want to have same copy of the my content pane view as an attachment which has many addition fields, context filter as well.

My query: Is there any way to clone desired view as attachment rather re-creating same fields again?

1 Answer 1

0

It is possible to clone a View Display (in this case an attachment). For example:

  1. Go to admin/structure/views/view/frontpage on your Drupal site
  2. Select the 'Feed' Display under Displays
  3. Under 'Feed details', notice the 'Display name' field, look all the way to the right of here and you'll notice a 'view Feed' drop down menu, click the 'down' icon
  4. Then click 'clone Feed'

That will cone that particular display, click 'Save' when you're ready to save the changes. For your attachment, follow the steps above and replace the steps with your view, and the name of your attachment.

4
  • I do not want to clone attachment view, but the main view (not master but the other view in my case content pane). For example I want all the fields of front-page in attachment, but the condition is the frontpage has addition fields not as same as the master. Jan 20, 2014 at 6:34
  • A content pane is also referred to as a 'Display' in a view. You can clone content panes using the method described above. Jan 20, 2014 at 19:06
  • If I clone a content pane can I make that content pane as attachment? Jan 22, 2014 at 4:32
  • It technically will not be an attachment, but if you use Panels, you can easily 'attach' it to wherever you need. Jan 22, 2014 at 16:59

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.