Skip to content

Commit

Permalink
Update be module #35
Browse files Browse the repository at this point in the history
  • Loading branch information
digedag committed Oct 24, 2024
1 parent e22112e commit 57fca82
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 5 deletions.
10 changes: 5 additions & 5 deletions Classes/Backend/Controller/StatisticsController.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,16 @@

namespace System25\T3sports\Backend\Controller;

use Sys25\RnBase\Backend\Module\BaseModFunc;
use Sys25\RnBase\Frontend\Marker\Templates;
use Sys25\RnBase\Utility\Misc;
use System25\T3sports\Controller\Club\ClubStadiumHandler;
use tx_rnbase;
use tx_rnbase_mod_ExtendedModFunc;

/***************************************************************
* Copyright notice
*
* (c) 2010-2022 Rene Nitzsche <[email protected]>
* (c) 2010-2024 Rene Nitzsche <[email protected]>
* All rights reserved
*
* This script is part of the TYPO3 project. The TYPO3 project is
Expand All @@ -36,7 +36,7 @@
*
* @author Rene Nitzsche <[email protected]>
*/
class StatisticsController extends tx_rnbase_mod_ExtendedModFunc
class StatisticsController extends BaseModFunc
{
protected function getContent($template, &$configurations, &$formatter, $formTool)
{
Expand Down Expand Up @@ -74,8 +74,8 @@ protected function getSubMenuItems()
return $menuItems;
}

protected function makeSubSelectors(&$selStr)
public function getModuleIdentifier()
{
return false;
return 'cfc_league';
}
}
24 changes: 24 additions & 0 deletions Configuration/Backend/Modules.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
<?php

return [
'web_CfcLeagueM1_statistics' => [
'parent' => 'web_CfcLeagueM1',
'access' => 'user',
'workspaces' => '*',
'iconIdentifier' => 'ext-cfcleague-ext-default',
'path' => '/module/web/t3sports/statistics',
'labels' => [
'title' => 'LLL:EXT:t3sportstats/Resources/Private/Language/locallang_db.xlf:tx_t3sportstats_module_name',
],
'routes' => [
'_default' => [
'target' => System25\T3sports\Backend\Controller\StatisticsController::class.'::main',
],
],
'moduleData' => [
'langFiles' => [],
'pages' => '0',
'depth' => 0,
],
],
];

0 comments on commit 57fca82

Please sign in to comment.