0

The default /user page is tabbed with one tab being for 'Create new account' and the other being for 'Log in'. I don't need to change this a ton. I just want to add some text above the tabs. However I can't seem to find the template that controls this page so I can make a duplicate. How would I go about accomplishing the above?

4

1 回答 1

2

我会添加一个包含您需要的文本/内容的块。然后在该块的“可见性设置”下,选择“仅在列出的页面上”

显然,您可以将“用户”设置为您希望该块显示的路径,以及您需要显示的任何其他页面。确保将该块放在显示“内容”区域上方的区域中(这是选项卡将显示的位置)。

记得清除缓存![开发-->性能-->清除所有缓存]

由于您只想在选项卡上方的该页面上显示内容,因此没有理由尝试操作实际的选项卡。块似乎是这里的答案!

于 2015-03-04T17:37:37.690 回答