...
  View open merge request
Commits (2)
......@@ -47,7 +47,7 @@ FlyOutAjaxLogin.prototype.authenticationRequest = function(event, form) {
if (alertType === 'success') {
// eslint-disable-next-line no-self-assign
location = location;
setTimeout(function(){ location=location; }, 5000);
}
const login = new FlyOutAjaxLogin();
......
......@@ -36,7 +36,34 @@ $global_fields = [
'label' => 'Linkname (optional)',
'config' => $GLOBALS['TCA']['tt_content']['columns']['header']['config'],
],
't3o_backcolor' => [
'exclude' => 0,
'label' => 'Background Color',
'config' => [
'type' => 'select',
'renderType' => 'selectSingle',
'items' => [
['None', false],
['Key Color', 'u-bg--key-color'],
['Orange Dark', 'u-bg--stage-orange-dark'],
['Orange Light', 'u-bg--stage-orange-light'],
['Orange Gradient', 'u-bg-gradient--orange'],
['Grey Dark', 'u-bg--dark-grey'],
['Grey Mid', 'u-bg--mid-grey'],
['Grey Light', 'u-bg--light-grey'],
['Grey Super Light', 'u-bg--super-light-grey'],
['Blue', 'u-bg--blue'],
['Blue Dark', 'u-bg--dark-blue'],
['Blue Gradient', 'u-bg-gradient--blue'],
['Green', 'u-bg--green'],
['Green Dark', 'u-bg--dark-green'],
['Green Gradient', 'u-bg-gradient--green'],
['Information', 'u-bg--information'],
['Error', 'u-bg--error'],
['Warning', 'u-bg--warning'],
]
],
],
];
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addTCAcolumns('tt_content', $global_fields);
......@@ -51,8 +78,8 @@ $subpagesmenu = [
];
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addTCAcolumns('tt_content', $subpagesmenu);
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addToAllTCAtypes('tt_content', 't3o_boxlayout', 'menu_subpages', 'after:colPos');
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addToAllTCAtypes('tt_content', '--div--;Style,t3o_backcolor');
//Commented out because of Issue https://git-t3o.typo3.org/t3o/t3olayout/merge_requests/318
//$GLOBALS['TCA']['tt_content']['columns']['CType']['config']['itemsProcFunc'] = \T3o\T3olayout\Backend\View\CTypeSelectView::class . '->cTypeItemProcFunc';
......
File mode changed from 100644 to 100755
File mode changed from 100644 to 100755
File mode changed from 100644 to 100755
File mode changed from 100644 to 100755
<html xmlns:f="http://typo3.org/ns/TYPO3/CMS/Fluid/ViewHelpers" data-namespace-typo3-fluid="true">
<f:spaceless>
<section class="{f:if(condition: '{data.frame_class} >= 200', then: '{f:render(partial: \'ContentElements/CardClasses\', arguments:_all) -> f:spaceless()}', else: 'container')}">
<section class="{f:if(condition: '{data.frame_class} >= 200', then: '{f:render(partial: \'ContentElements/CardClasses\', arguments:_all) -> f:spaceless()}', else: 'container {data.t3o_backcolor}')}">
<f:if condition="{data.frame_class} != none">
<f:then>
<div id="c{data.uid}" class="frame frame-{data.frame_class} frame-type-{data.CType} frame-layout-{data.layout}{f:if(condition: data.space_before_class, then: ' frame-space-before-{data.space_before_class}')}{f:if(condition: data.space_after_class, then: ' frame-space-after-{data.space_after_class}')}">
<f:if condition="{data._LOCALIZED_UID}">
<a id="c{data._LOCALIZED_UID}"></a>
......@@ -25,7 +24,6 @@
</f:then>
<f:else>
<a id="c{data.uid}"></a>
<f:if condition="{data._LOCALIZED_UID}">
<a id="c{data._LOCALIZED_UID}"></a>
......
File mode changed from 100644 to 100755
File mode changed from 100644 to 100755
File mode changed from 100644 to 100755
File mode changed from 100644 to 100755
File mode changed from 100644 to 100755
File mode changed from 100644 to 100755
File mode changed from 100644 to 100755
File mode changed from 100644 to 100755
File mode changed from 100644 to 100755
File mode changed from 100644 to 100755
File mode changed from 100644 to 100755
File mode changed from 100644 to 100755
File mode changed from 100644 to 100755
File mode changed from 100644 to 100755
File mode changed from 100644 to 100755
File mode changed from 100644 to 100755
File mode changed from 100644 to 100755
File mode changed from 100644 to 100755
File mode changed from 100644 to 100755
File mode changed from 100644 to 100755
File mode changed from 100644 to 100755
File mode changed from 100644 to 100755
File mode changed from 100644 to 100755
File mode changed from 100644 to 100755
File mode changed from 100644 to 100755
File mode changed from 100644 to 100755
File mode changed from 100644 to 100755
File mode changed from 100644 to 100755
File mode changed from 100644 to 100755
......@@ -15,7 +15,7 @@
<f:variable name="colSize">col-md-3</f:variable>
</f:case>
</f:switch>
<section class="{f:if(condition: '{data.frame_class} >= 200', then: '{f:render(partial: \'ContentElements/CardClasses\', arguments:_all) -> f:spaceless()}', else: 'container')}">
<section class="{f:if(condition: '{data.frame_class} >= 200', then: '{f:render(partial: \'ContentElements/CardClasses\', arguments:_all) -> f:spaceless()}', else: 'container {data.t3o_backcolor}')}">
<div class="frame frame-default frame-type-image frame-layout-0" id="c{data.uid}">
<div class="ce-image ce-{gallery.position.horizontal} ce-{gallery.position.vertical}">
<div class="ce-gallery{f:if(condition: data.imageborder, then: ' ce-border')}" data-ce-columns="{gallery.count.columns}" data-ce-images="{gallery.count.files}">
......
File mode changed from 100644 to 100755
File mode changed from 100644 to 100755
<html xmlns:f="http://typo3.org/ns/TYPO3/CMS/Fluid/ViewHelpers" data-namespace-typo3-fluid="true">
<f:layout name="ContentElements/CustomDefault"/>
<f:section name="Main">
<f:if condition="{menu}">
<div class="container">
<div class="container {data.t3o_backcolor}">
<ul class="menu-abstract">
<f:for each="{menu}" as="page">
<li>
......
......@@ -3,7 +3,7 @@
<f:section name="Main">
<f:if condition="{content}">
<div class="container">
<div class="container {data.t3o_backcolor}">
<ul class="ce-menu ce-menu-categorizedcontent">
<f:for each="{content}" as="element">
<li>
......
......@@ -3,7 +3,7 @@
<f:section name="Main">
<f:if condition="{menu}">
<div class="container">
<div class="container {data.t3o_backcolor}">
<ul class="ce-menu ce-menu-categorizedpages">
<f:for each="{menu}" as="page">
<li>
......
......@@ -3,7 +3,7 @@
<f:section name="Main">
<f:if condition="{menu}">
<div class="container">
<div class="container {data.t3o_backcolor}">
<ul class="ce-menu ce-menu-pages">
<f:for each="{menu}" as="page">
<li>
......
......@@ -3,7 +3,7 @@
<f:section name="Main">
<f:if condition="{menu}">
<div class="container">
<div class="container {data.t3o_backcolor}">
<ul class="ce-menu ce-menu-recentlyupdated">
<f:for each="{menu}" as="page">
<li>
......
......@@ -3,7 +3,7 @@
<f:section name="Main">
<f:if condition="{menu}">
<div class="container">
<div class="container {data.t3o_backcolor}">
<ul class="ce-menu ce-menu-relatedpages">
<f:for each="{menu}" as="page">
<li>
......
<html xmlns:f="http://typo3.org/ns/TYPO3/CMS/Fluid/ViewHelpers" data-namespace-typo3-fluid="true">
<f:layout name="ContentElements/CustomDefault" />
<f:section name="Main">
<f:if condition="{menu}">
<div class="container">
<div class="container {data.t3o_backcolor}">
<ul class="ce-menu ce-menu-section">
<f:for each="{menu}" as="page">
<li>
......
<html xmlns:f="http://typo3.org/ns/TYPO3/CMS/Fluid/ViewHelpers" data-namespace-typo3-fluid="true">
<f:layout name="ContentElements/CustomDefault" />
<f:section name="Main">
<f:if condition="{menu}">
<div class="container">
<div class="container {data.t3o_backcolor}">
<ul class="ce-menu ce-menu-sectionpages">
<f:for each="{menu}" as="page">
<li>
......@@ -26,6 +25,5 @@
</ul>
</div>
</f:if>
</f:section>
</html>
<html xmlns:f="http://typo3.org/ns/TYPO3/CMS/Fluid/ViewHelpers" data-namespace-typo3-fluid="true">
<f:layout name="ContentElements/CustomDefault" />
<f:section name="Main">
<f:render section="Menu" arguments="{menu: menu}" />
</f:section>
<f:section name="Menu">
<f:if condition="{menu}">
<div class="container">
<div class="container {data.t3o_backcolor}">
<ul class="ce-menu ce-menu-sitemap">
<f:for each="{menu}" as="page">
<li>
......
<html xmlns:f="http://typo3.org/ns/TYPO3/CMS/Fluid/ViewHelpers" data-namespace-typo3-fluid="true">
<f:layout name="ContentElements/CustomDefault" />
<f:section name="Main">
<f:render section="Menu" arguments="{menu: menu}" />
</f:section>
<f:section name="Menu">
<f:if condition="{menu}">
<div class="container">
<div class="container {data.t3o_backcolor}">
<ul class="ce-menu ce-menu-sitemappages">
<f:for each="{menu}" as="page">
<li>
......
<html xmlns:f="http://typo3.org/ns/TYPO3/CMS/Fluid/ViewHelpers" data-namespace-typo3-fluid="true">
<f:layout name="ContentElements/CustomDefault" />
<f:section name="Main">
<f:if condition="{menu}">
<f:if condition="{data.t3o_boxlayout}">
<f:then>
<div class="container">
<div class="container {data.t3o_backcolor}">
<div class="row">
<f:for each="{menu}" as="page">
<div class="col-md-4">
......@@ -30,7 +27,7 @@
</div>
</f:then>
<f:else>
<div class="container">
<div class="container {data.t3o_backcolor}">
<ul class="ce-menu ce-menu-subpages">
<f:for each="{menu}" as="page">
<li>
......@@ -44,6 +41,5 @@
</f:else>
</f:if>
</f:if>
</f:section>
</html>
File mode changed from 100644 to 100755
......@@ -4,7 +4,6 @@
<f:layout name="ContentElements/CustomDefault"/>
<f:section name="Main">
<div class="card{f:if(condition: '{data.frame_class} == 200', then: ' highlight')} teaserbox" id="c{data.uid}">
<f:if condition="{images.0}">
<f:link.typolink parameter="{data.header_link}" class="card-img">
......@@ -18,9 +17,7 @@
<div class="card-body__content">
<h4 class="card-title">{data.header}</h4>
<div class="card-text">{data.bodytext -> f:format.html()}</div>
<f:link.typolink class="btn btn-primary" parameter="{data.header_link}">{data.t3o_linkname}</f:link.typolink>
</div>
</div>
</div>
......
<html xmlns:f="http://typo3.org/ns/TYPO3/CMS/Fluid/ViewHelpers" data-namespace-typo3-fluid="true">
<f:layout name="ContentElements/Default" />
<f:section name="Main">
<f:format.html>{data.bodytext}</f:format.html>
</f:section>
</html>
<html xmlns:f="http://typo3.org/ns/TYPO3/CMS/Fluid/ViewHelpers" data-namespace-typo3-fluid="true">
<f:layout name="Default" />
<f:section name="Main">
<div class="{f:if(condition: '{data.frame_class} >= 200', then: '{f:render(partial: \'ContentElements/CardClasses\', arguments:_all) -> f:spaceless()}', else: 'container')}">
<div class="{f:if(condition: '{data.frame_class} >= 200', then: '{f:render(partial: \'ContentElements/CardClasses\', arguments:_all) -> f:spaceless()}', else: 'container {data.t3o_backcolor}')}">
<div id="c{data.uid}">
<f:if condition="{gallery.position.vertical} === above || {gallery.position.vertical} === below">
<f:then>
......
File mode changed from 100644 to 100755
File mode changed from 100644 to 100755
File mode changed from 100644 to 100755
File mode changed from 100644 to 100755
File mode changed from 100644 to 100755
File mode changed from 100644 to 100755
File mode changed from 100644 to 100755
File mode changed from 100644 to 100755
File mode changed from 100644 to 100755
File mode changed from 100644 to 100755
File mode changed from 100644 to 100755
File mode changed from 100644 to 100755
File mode changed from 100644 to 100755
File mode changed from 100644 to 100755
File mode changed from 100644 to 100755
File mode changed from 100644 to 100755
File mode changed from 100644 to 100755
File mode changed from 100644 to 100755
File mode changed from 100644 to 100755
File mode changed from 100644 to 100755
File mode changed from 100644 to 100755
File mode changed from 100644 to 100755
File mode changed from 100644 to 100755
File mode changed from 100644 to 100755
File mode changed from 100644 to 100755
File mode changed from 100644 to 100755
File mode changed from 100644 to 100755
This diff is collapsed.