视图和pathauto之间的冲突 [英] conflict between views and pathauto

查看:115
本文介绍了视图和pathauto之间的冲突的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如果我创建节点的路径别名,说 press,并且在路径 press / archives上显示一个查看页面,为什么 press / archive会导致用户 press?

if i create a path alias to a node, say 'press' and i have a view page display on path 'press/archives', why does 'press/archive' leads my users to 'press'?

请参阅相关的对Views和Pathauto如何协同工作的基本了解

推荐答案

一种解决方法是使用页面创建自定义视图URL按仅检索一个节点并显示完整的节点内容,因此URL令牌由视图而不是菜单系统处理。

A way around this is to make a custom view with page URL "press" that only retrieves the one node and shows the full node content, so that the URL token is handled by Views and not by the menu system.

这篇关于视图和pathauto之间的冲突的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆