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 keil的map文件中Image component sizes各项意思
    • ¥30 BC260Y用MQTT向阿里云发布主题消息一直错误
    • ¥20 求个正点原子stm32f407开发版的贪吃蛇游戏
    • ¥15 划分vlan后,链路不通了?
    • ¥20 求各位懂行的人,注册表能不能看到usb使用得具体信息,干了什么,传输了什么数据
    • ¥15 Vue3 大型图片数据拖动排序
    • ¥15 Centos / PETGEM
    • ¥15 划分vlan后不通了
    • ¥20 用雷电模拟器安装百达屋apk一直闪退
    • ¥15 算能科技20240506咨询(拒绝大模型回答)