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

本小妞迷上赌 提交于 2019-12-06 09:20:43

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:

  • Views 3.x displays reorder:

Vovka

It`s possible at the database level:

select * from views_display order by vid,position;

and change values at position column.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!