Project

General

Profile

Actions

Bug #52946

closed

ExtensionUtility::configurePlugin doesn't set typoscript

Added by Soren Malling about 11 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Backend API
Target version:
-
Start date:
2013-10-18
Due date:
% Done:

0%

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

Description

Upgrading to 6.2 beta 1 I've experienced that

TYPO3\CMS\Extbase\Utility\ExtensionUtility::configurePlugin -> \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addTypoScript doesn't register/writes the typoscript to the TypoScript Object Browser.

It writes it very well to $GLOBALS['TYPO3_CONF_VARS']['FE']['defaultTypoScript_' . $type . '.']

This seems to be a issue for Extbase only extension as EXT:gridelements got it's typoscript written as it used to


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #59318: Loading css_styled_content TS using INCLUDE_TYPOSCRIPT doesn't include defaultContentRenderingClosedMarc Bastian Heinrichs2014-06-03

Actions
Actions #1

Updated by Soren Malling about 11 years ago

Title is wrong, is was TYPO3\CMS\Extbase\Utility\ExtensionUtility::configurePlugin and not the registerPlugin function

Actions #2

Updated by Markus Klein about 11 years ago

  • Subject changed from TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerPlugin doesn't set typoscript to ExtensionUtility::configurePlugin doesn't set typoscript
Actions #3

Updated by Jo Hasenau about 11 years ago

FYI: Gridelements does not use addTypoScript at all, but uses addStaticFile instead.

I think the difference is, that you have to include the static file then, while addTypoScript would insert the TS-code directly.

Actions #4

Updated by Daniel Siepmann almost 11 years ago

Adding a line to add it to the static typoscript FILE will work:

$GLOBALS['TYPO3_CONF_VARS']['FE']['defaultTypoScript_' . $type . '.']['cssstyledcontent/static/v4.6/'] .= $content;

That's not a fix, but workaround where you've to change the core.

I try to figure out what's the problem.

A better way, working for me, is to edit em_conf of your extension and add css_styled_content as depends.

Hope the bug will be solved soon, so we don't have to add the core extension as dependency.

Actions #5

Updated by Mathias Schreiber almost 10 years ago

  • Status changed from New to Needs Feedback
  • Assignee set to Mathias Schreiber

Hey Daniel,

any progress here?

Actions #6

Updated by Daniel Siepmann almost 10 years ago

No sorry. I went on to other issues.

Actions #7

Updated by Daniel Siepmann over 9 years ago

As mentioned in slack, my opinion would be to add css_styled_content as suggested into ext_emconf of extbase. As css_styled_content is just one way to display content of TYPO3, and extbase supports this way, it is no dependency.
We just need to take care, whether PackageStates.php will follow the suggestions as it follows the dependencies.

Actions #8

Updated by Alexander Opitz over 9 years ago

  • Status changed from Needs Feedback to New
Actions #9

Updated by Benni Mack almost 6 years ago

  • Status changed from New to Needs Feedback
  • Assignee deleted (Mathias Schreiber)

Hi Soren,

can you check if this issue still exists now with TYPO3 v8 and TYPO3 v9 and fluid_styled_content?

Actions #10

Updated by Soren Malling almost 6 years ago

This issue can be closed :)

Actions #11

Updated by Riccardo De Contardi almost 6 years ago

  • Status changed from Needs Feedback to Closed

@Søren Vedel Malling Hi and thank you for your kind and quick answer;

Closed in agreement with the reporter.

Thanks again

R.

Actions

Also available in: Atom PDF