【发布时间】:2014-12-05 09:54:43
【问题描述】:
我有一个名为 type1 的内容类型,此内容类型有一个名为 image1 的图像字段。我想将 image1 的链接 url 更改为某些内容。如何使用 heme_preprocess_page 或任何其他方法做到这一点。
谢谢
【问题讨论】:
标签: drupal drupal-7 drupal-theming
我有一个名为 type1 的内容类型,此内容类型有一个名为 image1 的图像字段。我想将 image1 的链接 url 更改为某些内容。如何使用 heme_preprocess_page 或任何其他方法做到这一点。
谢谢
【问题讨论】:
标签: drupal drupal-7 drupal-theming
有 100 多种方法。 试试 hook_node_view($node, $view_mode, $langcode){}
【讨论】: