Commit 6b61009e authored by Jignesh Boricha's avatar Jignesh Boricha

[Fixed] Full width background for CTypes

parent 50723175
<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>
......
......@@ -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}">
......
<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>
<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>
......@@ -17,7 +17,8 @@
<f:if condition="{gallery.position.noWrap} != 1">
<f:render partial="Header/All" arguments="{_all}" />
</f:if>
<div class="ce-textpic ce-{gallery.position.horizontal} ce-{gallery.position.vertical}{f:if(condition: gallery.position.noWrap, then: ' ce-nowrap')} row">
<div class="ce-textpic ce-{gallery.position.horizontal} ce-{gallery.position.vertical}{f:if(condition: gallery.position.noWrap, then: ' ce-nowrap')}{f:if(condition: '{gallery.position.vertical} == intext && {gallery.position.noWrap} != 0', then: ' row')}">
<f:if condition="{gallery.position.vertical} === above">
<f:render section="media" arguments="{_all}" />
</f:if>
......@@ -33,21 +34,40 @@
</f:section>
<f:section name="text">
<f:if condition="{gallery.position.vertical} === intext && {gallery.position.horizontal} === left">
<f:render section="media" arguments="{_all}" />
</f:if>
<f:if condition="{gallery.position.vertical} === intext">
<f:then>
<f:if condition="{gallery.position.noWrap}">
<f:then>
<f:if condition="{gallery.position.horizontal} === left">
<f:render section="media" arguments="{_all}" />
</f:if>
<f:render section="bodytext" arguments="{_all}" />
<f:if condition="{gallery.position.horizontal} === right">
<f:render section="media" arguments="{_all}" />
</f:if>
</f:then>
<f:else>
<f:render section="media" arguments="{_all}" />
<f:render section="bodytext" arguments="{_all}" />
</f:else>
</f:if>
</f:then>
<f:else>
<f:render section="bodytext" arguments="{_all}" />
</f:else>
</f:if>
</f:section>
<f:section name="media">
<f:render partial="Media/Gallery" arguments="{_all}" />
</f:section>
<f:section name="bodytext">
<div class="ce-bodytext {textCol}">
<f:if condition="{gallery.position.noWrap}">
<f:render partial="Header/All" arguments="{_all}" />
</f:if>
{data.bodytext -> f:format.html()}
</div>
<f:if condition="{gallery.position.vertical} === intext && {gallery.position.horizontal} === right">
<f:render section="media" arguments="{_all}" />
</f:if>
</f:section>
<f:section name="media">
<f:render partial="Media/Gallery" arguments="{_all}" />
</f:section>
</html>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment