Actions
Bug #58909
closedTS object RECORDS fails if source is home page
Status:
Rejected
Priority:
Should have
Assignee:
-
Category:
TypoScript
Target version:
-
Start date:
2014-05-19
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
6.2
PHP Version:
5.5
Tags:
Complexity:
Is Regression:
No
Sprint Focus:
Files
Updated by Riccardo De Contardi over 10 years ago
- Target version set to next-patchlevel
My home page has UID=1, it is not hidden nor access protected nor a shortcut.
If I write in TS setup:
page.301 = RECORDS
page.301.tables = pages
page.301.source = 1
page.301.conf.pages = TEXT
page.301.conf.pages.field = title
page.301.conf.pages.required = 1
page.301.conf.pages.htmlSpecialChars = 1
Nothing is shown.
With other pages (Uid=2, 5, ecc) it works
Updated by Philipp Gampe over 10 years ago
- Status changed from New to Rejected
- Target version deleted (
next-patchlevel)
Technically this is correct, because the record itself is on an inaccessible page (uid=0).
You need to set page.301.dontCheckPid = 1
to disable this check if you want to query records on pid=0.
This is not obvious on first sight, therefore feel free to add a ticket to the documentation team to clarify this behaviour in the TypoScript Reference.
Updated by Riccardo De Contardi over 10 years ago
My homepage is not the root with UID=0; it is a standard page with uid=1
Updated by Riccardo De Contardi over 10 years ago
- File cattura.png cattura.png added
Updated by Riccardo De Contardi over 10 years ago
Sorry, eventually I got it :) Yes, it can be closed
Actions