Actions
Bug #51891
closedTypoScriptFrontendController 'Call to undefined method' when setting 'pageHeaderFooterTemplateFile'
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Frontend
Target version:
-
Start date:
2013-09-10
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
6.2
PHP Version:
5.5
Tags:
Complexity:
Is Regression:
No
Sprint Focus:
Description
When a page is configured:
page = PAGE page { typeNum = 0 pageHeaderFooterTemplateFile = fileadmin/templates/frontend.html }
the TypoScriptFrontendController
tries to call setTemplateFile
on itself, but that method does not exist.
diff --git a/typo3/sysext/frontend/Classes/Controller/TypoScriptFrontendController.php b/typo3/sysext/frontend/Classes/Controller/TypoScriptFrontendController.php index 20f7184..6d66720 100644 --- a/typo3/sysext/frontend/Classes/Controller/TypoScriptFrontendController.php +++ b/typo3/sysext/frontend/Classes/Controller/TypoScriptFrontendController.php @@ -2402,7 +2402,7 @@ class TypoScriptFrontendController { if ($this->pSetup['pageHeaderFooterTemplateFile']) { $file = $this->tmpl->getFileName($this->pSetup['pageHeaderFooterTemplateFile']); if ($file) { - $this->setTemplateFile($file); + $this->getPageRenderer()->setTemplateFile($file); } } }
Updated by Gerrit Code Review about 11 years ago
- Status changed from New to Under Review
Patch set 1 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/23734
Updated by Gerrit Code Review about 11 years ago
Patch set 1 for branch TYPO3_6-1 has been pushed to the review server.
It is available at https://review.typo3.org/23792
Updated by Gerrit Code Review about 11 years ago
Patch set 1 for branch TYPO3_6-0 has been pushed to the review server.
It is available at https://review.typo3.org/23793
Updated by Wouter Wolters about 11 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 903046fdd0c9aa5a26a33cecaa534ac12e04b54d.
Actions