简体   繁体   English

如何在Typo3中添加链接标题

[英]How to add link title in Typo3

I'm actually absolutely new to Typo3 and need some help. 我实际上对Typo3绝对陌生,需要一些帮助。 I've got a site (6.1.5) with a main menu - but none of the links has a title: 我有一个带有主菜单的站点(6.1.5)-但是所有链接都没有标题:

<li>
<a href="sub/page1.html">page1</a>
</li>
<li>
<a href="sub/page2.html">page2</a>
</li>

In the backend I can use "Page Title", but nothing appears in the frontend. 在后端,我可以使用“页面标题”,但是前端没有任何内容。

Thanks in advance! 提前致谢!

Dublay Dublay

We need to know more to help! 我们需要了解更多帮助! Have a look at the template section in the BE Menu. 看一下BE菜单中的模板部分。 Look if you find there an Object named TMENU. 查看是否找到一个名为TMENU的对象。 Is so, this would be your solution: 是的,这将是您的解决方案:

ATagParams = title="{field:abstract // field:subtitle // field:title}"
ATagParams.insertData = 1

Like that first the abstract is taken, if empty the subtitle, if empty the title. 像这样首先提取摘要,如果标题为空,则标题为空。

Have a look here: http://www.serious-cool.de/webdesign/typo3/dynamische-linktitel-im-menue/ 在这里看看: http : //www.serious-cool.de/webdesign/typo3/dynamische-linktitel-im-menue/

I you cannot find anything alike, your template is propably rendered with fluid. 我找不到类似的东西,您的模板可以流畅地渲染。 That means you have somewhere in your system a navigation.html file you need to find and modify. 这意味着您在系统中的某个位置需要查找和修改Navigation.html文件。

Since Typo3 is very dynamically developing there are more then one possibility to render a menu.... 由于Typo3非常动态地开发,因此呈现菜单的可能性更多。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM