duandeng7132 2018-10-15 23:19
浏览 30

我无法从相同类型内容的php字段值生成drupal 7上的正确视图

I am a student who has been working with drupal 7 for a website and I can not make the following work. (I will try to explain it as clearly as possible).

I have a type of content for example (My selection). This type of content contains different fields. One of them is for example "Agents" (people). Within My selection I have this field added as a type of field "Selection list" and through php, I get a list of the names with the agents in the content type Agents.

https://i.gyazo.com/5d2f330434f9ff2aad04d34e51b9ae8c.png

This works correctly, and at the time of creating the content my selection I can choose 1 or several Agents.

enter image description here

The problem I have when generating a view to show the agents that I have selected. Imagine that I have created a My selection "Selection 1" and I have chosen two agents. I can not associate the view so that when I create it, I get the photo and the name of those two agents for that "Mi seleccion". In other views that do not depend on taking the contents of the content itself, I have no problems and I associate them well with the node, but here something is failing me. I dont know to associate the node in that Mi seleccion, with it field Agent with the fields on my type of content Agents

I'm going to put a screenshot of the view.

enter image description here

MY problem is that I do not know how to relate the values of my Field Agents in MY selection, that is, its node, so that it only shows me those chosen for that my selection. I get him to show me ALL the agents or none.

Please, I am desperate, if someone can give me 10 minutes of their time and give me a solution, I will thank them forever.

Thank you! Sergio

  • 写回答

0条回答 默认 最新

    报告相同问题?

    悬赏问题

    • ¥15 ETLCloud 处理json多层级问题
    • ¥15 matlab中使用gurobi时报错
    • ¥15 这个主板怎么能扩出一两个sata口
    • ¥15 不是,这到底错哪儿了😭
    • ¥15 2020长安杯与连接网探
    • ¥15 关于#matlab#的问题:在模糊控制器中选出线路信息,在simulink中根据线路信息生成速度时间目标曲线(初速度为20m/s,15秒后减为0的速度时间图像)我想问线路信息是什么
    • ¥15 banner广告展示设置多少时间不怎么会消耗用户价值
    • ¥15 可见光定位matlab仿真
    • ¥15 arduino 四自由度机械臂
    • ¥15 wordpress 产品图片 GIF 没法显示