- Backend
- Core
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SELECT table_name AS Tables, | |
round(((data_length + index_length) / 1024 / 1024), 2) AS SizeInMB | |
FROM information_schema.TABLES | |
WHERE table_schema = "DBNAME" ORDER BY SizeInMB DESC; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace GeorgRinger\Theme\Command; | |
use TYPO3\CMS\Core\Utility\GeneralUtility; | |
class UpdateCommandController extends \TYPO3\CMS\Extbase\Mvc\Controller\CommandController { | |
/** | |
* Change all news ids to the old ones |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace GeorgRinger\News\ViewHelpers; | |
/** | |
* This file is part of the TYPO3 CMS project. | |
* | |
* It is free software; you can redistribute it and/or modify it under | |
* the terms of the GNU General Public License, either version 2 | |
* of the License, or any later version. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace BeechIt\NewsTtnewsimport\Service\Migrate; | |
use TYPO3\CMS\Core\Utility\ExtensionManagementUtility; | |
use TYPO3\CMS\Core\Utility\GeneralUtility; | |
class TtNewsPluginMigrate { | |
/** @var \TYPO3\CMS\Core\Log\Logger */ | |
protected $logger; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Page TSConfig: | |
tx_gridelements.setup { | |
# Identifier | |
2col { | |
title = 2 Spalten | |
config { | |
colCount = 2 | |
rowCount = 1 | |
rows { | |
1 { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
plugin.tx_powermail.settings.setup { | |
finishers { | |
89 { | |
class = GeorgRinger\Example\Hooks\Frontend\SaveFinisher | |
config { | |
# location in fileadmin | |
path = formuploads/ | |
# pid to save |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html xmlns:f="http://typo3.org/ns/TYPO3/CMS/Fluid/ViewHelpers" | |
xmlns:n="http://typo3.org/ns/GeorgRinger/News/ViewHelpers" | |
data-namespace-typo3-fluid="true"> | |
<f:layout name="General"/> | |
<!-- | |
===================== | |
Templates/News/List.html | |
--> | |
<f:section name="content"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{f:render(section:'tagIds',arguments:_all) -> f:spaceless() -> v:variable.set(name: 'tagIds')} | |
<f:if condition="{tagIds} != ''"> | |
<h4> | |
<f:translate extensionName="theme" key="news.related-news"/> | |
</h4> | |
<f:cObject typoscriptObjectPath="lib.tx_news.relatedByTags" data="{pid:newsItem.pid,tags:tagIds,actualNewsUid:newsItem.uid}"/> | |
</f:if> | |
<f:section name="tagIds"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php declare(strict_types=1); | |
// in your sitepackage Classes/Xclass/Realurl/ConfigurationReader.php | |
namespace Vendor\SitePackage\Xclass\Realurl; | |
class ConfigurationReader extends \DmitryDulepov\Realurl\Configuration\ConfigurationReader { | |
protected $defaultValues = array( | |
'cache/banUrlsRegExp' => '/tx_solr|tx_indexedsearch|tx_kesearch|(?:^|\?|&)q=/', |
OlderNewer