[TYPO3-core] RFC #15375: [Bug]: showDomainNameWithTitle doesn`t respect hidden records

Henrik Ziegenhain lists at h3nn3s.info
Tue Aug 10 07:45:54 CEST 2010


This is an SVN patch request.

Type: Bugfix

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

Branches: 4-3, 4-4, trunk

Problem:
With options.pagetree.showDomainNameWithTitle you can append the first 
domain record to pagetree if is_siteroot is checked.

But this option does not respect hidden records, so it is also appended 
if the records are hidden.

Solution:
Add "WHERE hidden = 0" to the SQL query.

Notes:
Steps to reproduce:

- check "is_siteroot"
- add a domain record and hide it
- add options.pagetree.showDomainNameWithTitle to userTS
- see sth. like Homepage [www.example.com]
- apply attached patch
- see again. [www...] should be gone

Regards
Henrik
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: bug_15375_v3.diff
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20100810/b6e5d64d/attachment.txt>


More information about the TYPO3-team-core mailing list