开发者

Is it possible to change order of attachment views to drupal page view?

开发者 https://www.devze.com 2023-01-14 20:26 出处:网络
I have a view with a page display that contains essentially content A, that content exists in one col开发者_StackOverflow中文版umn.in addition, I\'ve got another 6 attachment displays that display con

I have a view with a page display that contains essentially content A, that content exists in one col开发者_StackOverflow中文版umn. in addition, I've got another 6 attachment displays that display content B,C,D,E, etc. in another column.

Is it possible to modify the order of the the attached view displays? Right now i've got them all set to attach after Content A Page.


I am not 100% sure I understand what you are asking.

So what I think you are trying to do is have a page with a view, then multiple views attached to the page view and you want to be able to move those attached view around.

What I recommend

Use this amazing module: 'view block attachment' this way your attached view is a block, but yet still an attachment! its the best of both worlds.

How to use it in brief: You would create a new 'block attachment view type'. set what view its attached to, just like you do with attached views now. then go to your blocks page and put the attached block in the region you want.

In context of your question you could then make 'block attachment view' for B, C, D & E all would be attached to view A, you would then go to the blocks page and move blocks B, C, D & E into the regions you want and they will only be in those regions when you look at view A which they are attached to.

Use Drupal Module : 'view block attachment'


Views 3.x (currently in alpha though it seems stable for me) provides a UI for this.

  • Views 3.x displays reorder button:

Is it possible to change order of attachment views to drupal page view?

  • Views 3.x displays reorder:

Is it possible to change order of attachment views to drupal page view?


It`s possible at the database level:

select * from views_display order by vid,position;

and change values at position column.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号