Commit 22fa8218 authored by Stefan Bublies's avatar Stefan Bublies
Browse files

[BUGFIXES] diverse fixes und neue version

parent 841de140
......@@ -33,7 +33,7 @@ class CourseController extends \TYPO3\CMS\Extbase\Mvc\Controller\ActionControlle
protected function initializeAction() {
parent::initializeAction();
$siteRelPath = ExtensionManagementUtility::siteRelPath($this->request->getControllerExtensionKey());
$siteRelPath = ExtensionManagementUtility::extPath($this->request->getControllerExtensionKey());
$pageRenderer = GeneralUtility::makeInstance(PageRenderer::class);
$pageRenderer->addCssFile($siteRelPath.'Resources/Public/Stylesheets/style.min.css');
......
......@@ -44,6 +44,7 @@
<label>DRK-Typo3-Design</label>
<config>
<type>select</type>
<renderType>selectSingle</renderType>
<items type="array">
<numIndex index="0" type="array">
<numIndex index="0">Ja</numIndex>
......@@ -63,6 +64,7 @@
<label>Erweiterte Oberfläche</label>
<config>
<type>select</type>
<renderType>selectSingle</renderType>
<items type="array">
<numIndex index="0" type="array">
<numIndex index="0">Nein</numIndex>
......@@ -82,6 +84,7 @@
<label>Nächsten 5 verf.Kurse</label>
<config>
<type>select</type>
<renderType>selectSingle</renderType>
<items type="array">
<numIndex index="0" type="array">
<numIndex index="0">Ja</numIndex>
......
......@@ -2,7 +2,7 @@
"name": "schommermedia/smedia-course",
"type": "typo3-cms-extension",
"description": "LEO4 Lehrgangsverwaltung Anzeige",
"version": "10.4.0",
"version": "10.4.1",
"authors": [
{
"name": "Stefan Bublies",
......
......@@ -22,7 +22,7 @@ $EM_CONF[$_EXTKEY] = [
'uploadfolder' => '0',
'createDirs' => '',
'clearCacheOnLoad' => 1,
'version' => '10.4.0',
'version' => '10.4.1',
'constraints' => [
'depends' => [
'typo3' => '10.4.0-10.4.99',
......
......@@ -2,15 +2,15 @@
defined('TYPO3_MODE') || die('Access denied.');
$pluginName = 'Pi1'; // siehe \TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerPlugin
$pluginSignature = str_replace('_', '', $_EXTKEY) . '_' . strtolower($pluginName);
$pluginSignature = str_replace('_', '', 'smedia_course') . '_' . strtolower($pluginName);
$GLOBALS['TCA']['tt_content']['types']['list']['subtypes_addlist'][$pluginSignature] = 'pi_flexform';
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPiFlexFormValue(
$pluginSignature,
'FILE:EXT:' . $_EXTKEY . '/Configuration/FlexForm/flexform.xml'
'FILE:EXT:smedia_course/Configuration/FlexForm/flexform.xml'
);
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerPlugin(
'SchommerMedia.' . $_EXTKEY,
'SchommerMedia.SmediaCourse',
$pluginName,
'LEO4 Lehrgangsanzeige'
);
......
Markdown is supported
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