- Add this code into your extension
- Call your domain URL with the parameter
?ajaxsearch=1&q=<search-term>
- Get JSON with all results based on your TS settings on root page
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
cache: | |
paths: | |
- /cache/composer | |
stages: | |
- composer | |
- deploy | |
build: | |
stage: composer |
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
cache: | |
key: "$CI_COMMIT_REF_NAME/$CI_JOB_STAGE" | |
paths: | |
- .composer/ | |
before_script: | |
# Install git on machine | |
- apk add git --update | |
stages: |
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
definitions: | |
caches: | |
composer: vendor/ | |
node: frontend/node_modules | |
steps: | |
- step: &composer | |
name: "Install project via composer" | |
image: composer:2 | |
caches: | |
- composer |
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 Vendor\ExtensionName\Slot; | |
/* | |
* This file is part of a TYPO3 extension. | |
* | |
* 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 Vendor\Extension\User; | |
use TYPO3\CMS\Core\Utility\GeneralUtility; | |
class SignedStorageFolders | |
{ | |
public function getSignedStorageFolders(string $content, array $config): string | |
{ | |
$pidList = $config['pidList']; |
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 Vendor\Extension\Controller; | |
use SJBR\StaticInfoTables\Domain\Repository\CountryZoneRepository; | |
class DataController extends \TYPO3\CMS\Extbase\Mvc\Controller\ActionController | |
{ | |
/** | |
* @var \TYPO3\CMS\Extbase\Mvc\View\JsonView | |
*/ |
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); | |
namespace Vendor\Extension\Command; | |
use Symfony\Component\Console\Command\Command; | |
use Symfony\Component\Console\Input\InputInterface; | |
use Symfony\Component\Console\Output\OutputInterface; | |
use TYPO3\CMS\Core\Core\Environment; | |
use TYPO3\CMS\Core\Database\Connection; | |
use TYPO3\CMS\Core\Database\ConnectionPool; |
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 Vendor\ExtensionName\ViewHelpers\Format; | |
use TYPO3\CMS\Core\Context\Context; | |
use TYPO3\CMS\Core\Site\SiteFinder; | |
use TYPO3\CMS\Core\Utility\GeneralUtility; | |
use TYPO3Fluid\Fluid\Core\Rendering\RenderingContextInterface; | |
class NumberViewHelper extends \TYPO3\CMS\Fluid\ViewHelpers\Format\NumberViewHelper | |
{ |
NewerOlder