![](/img/trans.png)
[英]Is it possible to show access-restricted pages in typo3 solr search result to non-logged-in users?
[英]typo3 indexed search Is it possible to show access-restricted pages in typo3 to non-logged-in users?
我也想向非登錄用戶顯示訪問受限頁面的結果,可以用特殊的類或文本顯示,如果他注冊后可以得到更多的內容。
我在typo3屬性中發現了show.forbiddenRecords,但它不起作用...
我正在使用typo3 4.7
您是否嘗試過config.typolinkLinkAccessRestrictedPages = <id of login page>
?
檢查打字稿參考。
甚至設置:plugin.tx_indexedsearch.show.forbiddenRecords = 1 config.typolinkLinkAccessRestrictedPages =登錄頁面的uid
索引搜索不搜索禁止的記錄。
我發現是否在行1119的函數execFinalQuery中設置以下位置:$ id_list [] = $ this-> cObj-> getTreeList($ rootId,9999,0,0,'','')。$ rootId;
至
$ id_list [] = $ this-> cObj-> getTreeList($ rootId,9999,0,1,'','')。$ rootId;
索引搜索開始搜索並顯示禁止的記錄。 我也將其發布在用於typo3的bug上,希望有人將其作為不是核心用戶的身份進行檢查...
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.