Project

General

Profile

Actions

Bug #56701

closed

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

Added by Jost Baron about 10 years ago. Updated about 9 years ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
TypoScript
Target version:
Start date:
2014-03-10
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
6.2
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

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 1 (0 open1 closed)

Is duplicate of TYPO3 Core - Bug #56570: No rendering definition for CE / no list for plugins if csc is includes with INCLUDE_TYPOSCRIPTClosed2014-03-05

Actions
Actions #1

Updated by Jan Kiesewetter about 10 years ago

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

Actions #2

Updated by Jan Kiesewetter about 10 years 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

Actions #3

Updated by André Wuttig about 10 years 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?!

Actions #4

Updated by Jan Kiesewetter about 10 years ago

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

Actions #5

Updated by Mathias Schreiber about 9 years ago

  • Status changed from New to Closed

dupe

Actions #6

Updated by Mathias Schreiber about 9 years ago

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

Updated by Mathias Schreiber about 9 years ago

  • Status changed from New to Closed

closed. works like a charm

Actions

Also available in: Atom PDF