Skip to content

Commit

Permalink
Compatibility with Typo3 10.2
Browse files Browse the repository at this point in the history
- some UTF-8 corrections
- Adjust the Dispatcher Call in the Ajax Class
- change Typoscript suffix from .txt to .typoscript
  • Loading branch information
geraldloss committed Dec 10, 2019
1 parent 41b079d commit 44b076d
Show file tree
Hide file tree
Showing 11 changed files with 2,164 additions and 14 deletions.
5 changes: 3 additions & 2 deletions Classes/Ajax/AjaxDispatcher.php
Expand Up @@ -152,10 +152,11 @@ protected function dispatchControllerAction() {
*/
protected function buildRequest() {
/* @var $request \TYPO3\CMS\Extbase\Mvc\Web\Request */
$request = $this->objectManager->get('TYPO3\CMS\Extbase\Mvc\Web\Request');
$request->setControllerVendorName(PairsController::c_strVendor);
$request = $this->objectManager->get('TYPO3\CMS\Extbase\Mvc\Web\Request');
// $request->setControllerVendorName(PairsController::c_strVendor);
$request->setControllerExtensionName(PairsController::c_strExtensionName);
$request->setPluginName(PairsController::c_strPluginName);
$request->setControllerAliasToClassNameMapping(array($this->controllerName => PairsController::class ));
$request->setControllerName($this->controllerName);
$request->setControllerActionName($this->actionName);
$request->setArguments($this->actionArguments);
Expand Down
2 changes: 1 addition & 1 deletion Classes/Controller/PairsController.php
Expand Up @@ -11,7 +11,7 @@
/***************************************************************
* Copyright notice
*
* (c) 2014 Gerald Loß
* (c) 2014 Gerald Loß
* All rights reserved
*
* This script is part of the TYPO3 project. The TYPO3 project is
Expand Down
2 changes: 1 addition & 1 deletion Classes/Domain/Model/Pair.php
Expand Up @@ -9,7 +9,7 @@
/***************************************************************
* Copyright notice
*
* (c) 2014 Gerald Loß
* (c) 2014 Gerald Loß
* All rights reserved
*
* This script is part of the TYPO3 project. The TYPO3 project is
Expand Down
2 changes: 1 addition & 1 deletion Classes/Middleware/GlpairsMiddleware.php
Expand Up @@ -2,7 +2,7 @@
/***************************************************************
* Copyright notice
*
* (c) 2019 Gerald Loß <gerald.loss@gmx.de>
* (c) 2019 Gerald Loß <gerald.loss@gmx.de>
* All rights reserved
*
* This script is part of the TYPO3 project. The TYPO3 project is
Expand Down
2 changes: 1 addition & 1 deletion Configuration/RequestMiddlewares.php
Expand Up @@ -2,7 +2,7 @@
/***************************************************************
* Copyright notice
*
* (c) 2019 Gerald Loß <gerald.loss@gmx.de>
* (c) 2019 Gerald Loß <gerald.loss@gmx.de>
* All rights reserved
*
* This script is part of the TYPO3 project. The TYPO3 project is
Expand Down
File renamed without changes.
File renamed without changes.
8 changes: 4 additions & 4 deletions Documentation/Index.rst
Expand Up @@ -27,7 +27,7 @@ Pairs
types. You can assign two cards with the same image, two cards with similar images, two
cards with an image and a description of the image or two text cards with the same
description (i.e. in different languages). See an example on
http://www.schulze-thulin.de/en/games/pairs-german-welsh-irish/
https://www.schulze-thulin.de/en/games/pairs-german-welsh-irish

:Keywords:
pairs, memory, typo3, plugin, game, extbase, forAdmins, forIntermediates
Expand All @@ -52,9 +52,9 @@ Pairs
a GNU/GPL CMS/Framework available from `www.typo3.org <https://typo3.org/>`__.


===================================================================================================================================================================================
Attention! Since version 2.0.0 you need to include a static template. Please take sure to include this template like in the chapter :ref:`Configuration<configuration>` described.
===================================================================================================================================================================================
==================================================================================================================================================================================================================
Attention! Since version 2.2 the images in the pairs are referenced by FAL. So after the update you need to reconfigure all images. See for that in chapter** :ref:`FAL Migration for Version 2.2<fal-migration>`
==================================================================================================================================================================================================================

**Table of Contents**

Expand Down

0 comments on commit 44b076d

Please sign in to comment.