gpt4 book ai didi

php - Drupal View - 如何使用 "Rewrite the output of this field"删除字符串模式?

转载 作者:行者123 更新时间:2023-12-04 07:02:28 24 4
gpt4 key购买 nike

View - 字段:我想通过使用“重写此字段的输出”从返回的字符串中删除某个匹配的单词。是否有扩展语法或者有没有办法在这个字段中使用 php string-functions/regex?

最佳答案

不要相信除了在其中放入 HTML、文本和其他字段之外,您还能做任何事情。使用 String Overrides 之类的东西可能会更好。自定义模块或主题预处理函数中的模块或一些好的旧 str_replace。

关于php - Drupal View - 如何使用 "Rewrite the output of this field"删除字符串模式?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/1630491/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com