[TYPO3-dev] Standalone View without links
Caspar Stuebs
caspar at gosign.de
Mon Jan 26 12:38:58 CET 2015
Hi,
it seems that you have not a full initialized Frontend.
$GLOBALS['TSFE']->tmpl needs to be an instance of
\TYPO3\CMS\Core\TypoScript\TemplateService
You may call $GLOBALS['TSFE']->initTemplate() before $this->buildMenu(39);
Kind Regards
Caspar
2015-01-24 8:00 GMT+01:00 Christoph Kratz <kratz at nterm.de>:
> PS.: No errors are displayed. If I try to render a test-template with a
> static page id, i get the following error:
>
> Test-template:
>
> <f:link.page pageUid="22">
> My test
> </f:link.page>
>
>
> Output:
> Fatal error: Call to a member function linkData() on a non-object in
> /###/typo3_src-6.2.9/typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php
> on line 6080
>
> _______________________________________________
> TYPO3-dev mailing list
> TYPO3-dev at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-dev
>
--
--
Gosign media. GmbH | We web ideas.
Langenfelder Damm 67 Gewerbehof | 22525 Hamburg
Telefon 040-609 40 79-0
Handelsregister AG HH HRB 112197 | Geschäftsführung Bert Gogolin
Greenpeace energy: Gosign läuft mit ehrlichem Strom und Gas.
GLS Bank: Gosign wirtschaftet mit Gewissen.
More information about the TYPO3-dev
mailing list