【问题标题】:Remove the word 'Page' from indexed_search pagination?从 indexed_search 分页中删除单词“Page”?
【发布时间】:2020-02-23 23:16:52
【问题描述】:

indexed_search 分页输出“第 1 页、第 2 页、第 3 页”之类的链接 有没有办法编辑它以删除“页面”这个词,所以输出只是数字?

<is:pageBrowsingResults numberOfResults="{result.count}" currentPage="{searchParams.pointer}" resultsPerPage="{searchParams.numberOfResults}" />

【问题讨论】:

    标签: typo3 typoscript fluid typo3-9.x tx-indexed-search


    【解决方案1】:

    我刚刚查看了代码,发现页面标签是从索引为 displayResults.page 的 locallang 中获取的。

    使用plugin.tx_indexedsearch._LOCAL_LANG.en.displayResults.page = 并且在= 后面没有字符串,它应该可以工作。 en 是语言键,你需要为每种语言设置它。

    您可以在此处找到的文档: https://docs.typo3.org/m/typo3/reference-typoscript/master/en-us/TopLevelObjects/Plugin.html#local-lang-lang-key-label-key

    【讨论】:

    • 添加这个似乎没有任何作用?
    • 好的,所以我需要使用default,谢谢。
    猜你喜欢
    • 2013-11-28
    • 2021-12-19
    • 1970-01-01
    • 1970-01-01
    • 2021-12-29
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多