[TYPO3-core] RFC: #15064: Replace linktext if link is not rendered

Georg Ringer mail at ringerge.org
Fri Jul 9 15:56:41 CEST 2010


Hi,

this is a SVN patch request.

Type: Feature

Bugtracker references:
http://bugs.typo3.org/view.php?id=15064

Branches: Trunk

Problem:
If a link to an access restricted page is set but the current user
doesn't have the rights to see the linked page or
typolinkLinkAccessRestrictedPages is not used the linked text is rendered.

sometimes the linktext itself should be replaced or removed.

Solution:
Introduce a new setting
------
config.typolinkReplaceLinkAccessRestrictedPages=
------

which can be used to replace the linktext (with nothing or with any
other text)

How to test:
1) On page A set a link to a page B which is restricted to a usergroup.
2) Call the page A and see the linktext without link.
3) Apply patch and see the changed output.

Additional information:
- I don't know what the perfect wording is, of course this can be changed
- Maybe stdWrap is not needed, but as this is introduced at many places
afterwards it makes sense to have it as default
- documentation will follow as soon as wording is fixed

Georg
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 15064-hide-linktext.patch
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20100709/848b69c9/attachment.txt>


More information about the TYPO3-team-core mailing list