Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个名为的内容类型hardware,并使用 Pathauto 模块将别名设置为hardwares/[node:nid]. 之后,我创建了一个处理 url 的页面hardwares/%node。
hardware
hardwares/[node:nid]
hardwares/%node
但是看起来 Panels 不处理该 url,它总是呈现内置节点模板。
我已尝试删除该 url 别名,并访问hardwares/<some id>它会正常工作。但无法更改具有不同内容类型的节点 url。
hardwares/<some id>
所以有人可以帮助我吗?谢谢。
要覆盖节点页面,请使用页面类型 System node_view 并在 Variants / Selection rules / Context 中选择内容类型、nid 或任何其他上下文