This file contains hidden or 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
use TYPO3\CMS\Frontend\Controller\ErrorController; | |
use TYPO3\CMS\Core\Http\ImmediateResponseException; | |
use TYPO3\CMS\Frontend\Page\PageAccessFailureReasons; | |
use TYPO3\CMS\Extbase\Mvc\RequestInterface; | |
/** | |
* processRequest | |
* | |
* @param \TYPO3\CMS\Extbase\Mvc\RequestInterface $request | |
* @throws \Exception|\TYPO3\CMS\Extbase\Property\Exception |
This file contains hidden or 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
baseVariants: | |
- base: "https://domain.com" | |
condition: 'getenv("HTTP_HOST") == "domain.com"' |
This file contains hidden or 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
<v:page.info pageUid="{pageUid}" as="page"> | |
{v:resource.record.fal(table: 'pages', field: 'og_image', record: page) -> v:iterator.first() -> | |
v:variable.set(name: 'ogImage')} | |
<f:variable name="crop">{ogImage.crop -> v:format.json.decode()}</f:variable> | |
<f:link.typolink parameter="{page.uid}" class="{f:if(condition: page.current, then: ' current')}" title="{page.title}"> | |
<f:if condition="{ogImage}"> | |
<figure> | |
<f:image src="{ogImage.uid}" treatIdAsReference="1" cropVariant="feature" maxWidth="364" maxHeight="364" /> | |
</figure> | |
</f:if> |
This file contains hidden or 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
✖ ✖ | |
✕ ✕ |
This file contains hidden or 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
$saltFactory = \TYPO3\CMS\Saltedpasswords\Salt\SaltFactory::getSaltingInstance('', 'FE'); | |
$password = $saltFactory->getHashedPassword($user['passwort']); |
This file contains hidden or 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 { | |
scroll-behavior: smooth; | |
} | |
@media screen and (prefers-reduced-motion: reduce) { | |
html { | |
scroll-behavior: auto; | |
} | |
} |
This file contains hidden or 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
<snippet> | |
<content><![CDATA[ | |
console.${2:log}(${1:var}); | |
]]></content> | |
<tabTrigger>log</tabTrigger> | |
<scope>source.js</scope> | |
</snippet> |
This file contains hidden or 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
/** | |
* persistenceManager | |
* | |
* @var \TYPO3\CMS\Extbase\Persistence\Generic\PersistenceManager | |
* @inject | |
*/ | |
protected $persistenceManager; | |
// $this->persistenceManager->persistAll(); |
This file contains hidden or 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
/** | |
* cacheManager | |
* | |
* @var \TYPO3\CMS\Core\Cache\CacheManager | |
* @inject | |
*/ | |
protected $cacheManager; | |
// if (($result = $this->cacheManager->getCache('extension_key')->get('cacheKey')) === false) { | |
// $query = $this->createQuery(); |
NewerOlder