Project

General

Profile

Actions

Bug #33059

closed

typolink: "linkAccessRestrictedPages" is ignored when config.typolinkLinkAccessRestrictedPages is set

Added by Frederic Gaus almost 13 years ago. Updated almost 11 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Frontend
Target version:
-
Start date:
2012-01-09
Due date:
% Done:

100%

Estimated time:
1.00 h
TYPO3 Version:
4.6
PHP Version:
5.3
Tags:
Complexity:
medium
Is Regression:
No
Sprint Focus:

Description

The typolink-function ignores the property "linkAccessRestrictedPages" when config.typolinkLinkAccessRestrictedPages is set.

For the typolink-property "linkAccessRestrictedPages" TSRef says:
"If set, typolinks pointing to access restricted pages will still link to the page even though the page cannot be accessed." With the global config property "typolinkLinkAccessRestrictedPages" you can influence the generated link on pages which can not be accessed at the moment. E.g. linking the loginform instead. But this should not be done if "linkAccessRestrictedPages" is set for a typolink.

For the moment it is not possible to force the generation of a link to an access-restricted page if the property "config.typolinkLinkAccessRestrictedPages". But this is needed for example for a redirect-url which points to an access-restricted page after login.


Files

patch.diff (1.27 KB) patch.diff Frederic Gaus, 2012-01-09 10:10

Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #63804: typolink: "linkAccessRestrictedPages" is ignored when config.typolinkLinkAccessRestrictedPages is setClosed2014-12-12

Actions
Actions

Also available in: Atom PDF