Skip to content
Snippets Groups Projects
Commit b1902e24 authored by Michael Oehlhof's avatar Michael Oehlhof Committed by Christian Kuhn
Browse files

[BUGFIX] Correct wrong markup in Template module

This patch brings back the missing labels and text
and removes double form element.

Resolves: #77471
Releases: master
Change-Id: I2f072580ee881c3074f70aaa28168d2fe7f050b3
Reviewed-on: https://review.typo3.org/49455


Tested-by: default avatarBamboo TYPO3com <info@typo3.com>
Reviewed-by: default avatarGeorg Ringer <georg.ringer@gmail.com>
Tested-by: default avatarGeorg Ringer <georg.ringer@gmail.com>
Reviewed-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
Tested-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
parent 59c9009b
Branches
Tags
No related merge requests found
......@@ -483,8 +483,7 @@ class TypoScriptTemplateModuleController extends BaseScriptClass
$previousPage['aHref'] = BackendUtility::getModuleUrl('web_ts', $urlParameters);
$moduleContent['previousPage'] = $previousPage;
}
$view = $this->getFluidTemplateObject('tstemplate', 'Main');
$view->assign('partialName', 'NoTemplate');
$view = $this->getFluidTemplateObject('tstemplate', 'NoTemplate');
$view->assign('content', $moduleContent);
return $view->render();
}
......@@ -674,8 +673,7 @@ page.10.value = HELLO WORLD!
$view = GeneralUtility::makeInstance(StandaloneView::class);
$view->getRenderingContext()->getTemplatePaths()->fillDefaultsByPackageName($extensionName);
$view->getRenderingContext()->setControllerAction($templateName);
// @TODO: not sure this should stay; this value should in any case be a *proper* extension name!
$view->getRequest()->setControllerExtensionName('web_ts');
$view->getRequest()->setControllerExtensionName('tstemplate');
return $view;
}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment