Project

General

Profile

Actions

Bug #21372

closed

showDomainNameWithTitle doesn`t respect hidden records

Added by Henrik Ziegenhain over 14 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Should have
Category:
-
Target version:
-
Start date:
2010-08-06
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.4
PHP Version:
5.2
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

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.

I haven`t checked v4.2 and 4.3, but I think there it is the same.

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

(issue imported from #M15375)


Files

bug_15375.diff (790 Bytes) bug_15375.diff Administrator Admin, 2010-08-06 13:36
bug_15375_v2.diff (795 Bytes) bug_15375_v2.diff Administrator Admin, 2010-08-09 08:57
bug_15375_v3.diff (794 Bytes) bug_15375_v3.diff Administrator Admin, 2010-08-09 09:02
Actions #1

Updated by Henrik Ziegenhain over 14 years ago

Patch works also for v4.2 and v4.3

Actions #2

Updated by Henrik Ziegenhain over 14 years ago

There is a little bug in the original patch.

Sorry. V2 generates a proper SQL query.

Actions #3

Updated by Henrik Ziegenhain over 14 years ago

It`t to early for bugfixing...
V3 attached

Actions #4

Updated by Steffen Gebert over 14 years ago

Thanks for your work, Henrik!

Committed to
4-3 rev. 8569
4-4 rev. 8570
trunk rev. 8571

Actions #5

Updated by Benni Mack about 6 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF