Bug #56701

Static template of css_styled_content can no longer be included using <INCLUDE_TYPOSCRIPT>

Added by Jost Baron over 1 year ago. Updated 6 months ago.

Status:Closed Start date:2014-03-10
Priority:Must have Due date:
Assigned To:- % Done:

0%

Category:TypoScript Spent time: -
Target version:7.2 (Frontend)
TYPO3 Version:6.2 Is Regression:No
PHP Version: Sprint Focus:
Complexity:

Description

If it is included using an <INCLUDE> directive, certain other TS (Plugin rendering definitions) is not included. The problematic commit is
3ce53655a3739dadd732556e1902e7686ef59260 (https://review.typo3.org/#/c/27587/).

Steps to reproduce:

1. Create a new TYPO3 installation using the current master branch.
2. Install the development branch of EXT:flux (https://github.com/FluidTYPO3/flux)
3. Install the development branch of EXT:fluidcontent (https://github.com/FluidTYPO3/fluidcontent)

Create a new root page with the following root template:

Constants:

<INCLUDE_TYPOSCRIPT: source="FILE:EXT:css_styled_content/static/constants.txt">

Setup:

<INCLUDE_TYPOSCRIPT: source="FILE:EXT:css_styled_content/static/setup.txt">
page = PAGE
page.10 < styles.content.get

4. Check out commit 3ce53655a3739dadd732556e1902e7686ef59260 of the TYPO3 core and view the full Typoscript Template in the Analyzer. There is no object tt_content.fluidcontent_content being defined.
5. When using the previous commit 85d88e4f9d0efe4443bace89ce98c585255cacfd, tt_content.fluidcontent_content is defined correctly.


Related issues

duplicates Core - Bug #56570: No rendering definition for CE / no list for plugins if c... Closed 2014-03-05

History

#1 Updated by Jan Kiesewetter over 1 year ago

I also reported it here: http://forge.typo3.org/issues/56570

#2 Updated by Jan Kiesewetter over 1 year ago

Thanks for pointing me to the commit!

It seems to work if you add

// Mark the delivered TypoScript templates as "content rendering template" (providing the hooks of "static template 43" = content (default))
$GLOBALS['TYPO3_CONF_VARS']['FE']['contentRenderingTemplates'][] = 'yourpackagekey/Configuration/TypoScript/';

to ext_localconf.php

#3 Updated by André Wuttig over 1 year ago

I try to get it work for our TYPO3 6.2 application. Can anyone describe a best practice how to include TS (Plugin rendering definitions) correctly?!

#4 Updated by Jan Kiesewetter over 1 year ago

If your template is within an extension you can do it like this:
https://bitbucket.org/t3see/basepackage/commits/2df60c989b1f228db2bca8deac3a748564e7bcdb

#5 Updated by Mathias Schreiber 6 months ago

  • Status changed from New to Closed

dupe

#6 Updated by Mathias Schreiber 6 months ago

  • Status changed from Closed to New
  • Target version changed from 6.2.0 to 7.2 (Frontend)

#7 Updated by Mathias Schreiber 6 months ago

  • Status changed from New to Closed

closed. works like a charm

Also available in: Atom PDF