Ordering Views Attachments

If you build Views with lots of display attachments, you've no doubt run across the hurdle of re-ordering the attachments. There's no drag-and-drop method of doing so - often developers are forced to go into each attachment changing the attachment position several times in order to wrangle the attachments to the desired order.

One way of getting around this is to export the view, bring the export text into a text editor, and manually move the attachments to the desired order simply by cutting and pasting the attachment code and then re-importing the view.

It's not pretty, but it can save you a lot of time.

Comments

You can also change the position number in the views_display table. Be careeeeeful!

Submitted by Guest (not verified) on Tue, 09/15/2009 - 16:33

Sign up to receive email notifications of whenever we publish a new blog post or quicktip!

Name