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 ZC\Zebracode\ViewHelpers\Youtube; | |
use TYPO3Fluid\Fluid\Core\ViewHelper\AbstractViewHelper; | |
/** | |
* Class YoutubePlaceholderViewHelper | |
* @package ZC\Zebracode\ViewHelpers |
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:comment>Regular syntax</f:comment> | |
<v:condition.iterator.contains needle="<the page id>" haystack="{v:page.rootline() -> v:iterator.extract(key: 'uid')}"> | |
<f:then></f:then> | |
<f:else></f:else> | |
</v:condition.iterator.contains> | |
<f:comment>Inline syntax</f:comment> | |
{v:condition.iterator.contains( |
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
RewriteCond %{HTTP_HOST} ^www\.(.*)$ [NC] | |
RewriteRule ^(.*)$ https://%1/$1 [R=301,L] | |
RewriteCond %{HTTPS} !on | |
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L] |
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 | |
if (!defined('TYPO3_MODE')) { | |
die('Access denied.'); | |
} | |
/* | |
Defaults | |
'ratios' => array( | |
'1.7777777777777777' => 'LLL:EXT:lang/locallang_wizards.xlf:imwizard.ratio.16_9', | |
'1.3333333333333333' => 'LLL:EXT:lang/locallang_wizards.xlf:imwizard.ratio.4_3', | |
'1' => 'LLL:EXT:lang/locallang_wizards.xlf:imwizard.ratio.1_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
'ps_blog_tags' => array( | |
'exclude' => 0, | |
'label' => 'LLL:EXT:xxx/Resources/Private/Language/locallang_db.xlf:tx_xxx_domain_model_post.tags', | |
'config' => array( | |
'type' => 'select', | |
'renderType' => 'selectMultipleSideBySide', | |
'foreign_table' => 'tx_xxx_domain_model_tag', | |
'MM' => 'tx_xxx_post_tag_mm', | |
'size' => 10, | |
'autoSizeMax' => 30, |
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
'selected_categories' => array( | |
'label' => 'LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:selected_categories', | |
'config' => array( | |
'type' => 'select', | |
'renderType' => 'selectTree', | |
'foreign_table' => 'sys_category', | |
'foreign_table_where' => 'AND sys_category.sys_language_uid IN (0,-1) ORDER BY sys_category.title ASC', | |
'size' => 10, | |
'autoSizeMax' => 50, | |
'maxitems' => 9999, |