简体   繁体   English

链接向导中的 Select 记录

[英]Select record(s) in link wizard

The TYPO3 link wizard allows editors to select pages within the page tree. TYPO3 链接向导允许编辑器在页面树中访问 select 页面。 But if an editor wants to create a link to a page loading a record (eg the detail page of a news record), the editor needs to insert the exact query params to pass the arguments to the page.但是如果编辑想要创建一个链接到加载记录的页面(例如新闻记录的详细页面),编辑需要插入准确的查询参数以将 arguments 传递到页面。 Eg if the editor wants to pass the ID of a news, he / she / it needs to insert tx_news[news]=X into the field "Additional link parameters".例如,如果编辑想要传递一条新闻的ID,他/她/它需要在“附加链接参数”字段中插入tx_news[news]=X。

在此处输入图像描述

In my experience this often forces wrong links stored in the DB, as editors enters wrong arguments or copy the absolute link from the frontend.根据我的经验,这通常会导致数据库中存储错误的链接,因为编辑器输入错误的 arguments 或从前端复制绝对链接。

Question:问题:

Is it possible to create an own link wizard which allows editors to...是否可以创建一个自己的链接向导,允许编辑...

  • ... select a page AND a record from a different page ... select 一个页面和来自不同页面的记录

or或者

  • ... select just a record and define the ID to the page in site config or by TypoScript? ... select 只是一条记录并在站点配置或 TypoScript 中定义页面的 ID?

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

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