Commit 872135f4 authored by Dirk Wildt's avatar Dirk Wildt
Browse files

0.0.1

parent 219a9615
Pipeline #72 canceled with stages
......@@ -54,9 +54,10 @@ class MarginalController extends AbstractController
{
$this->view->assignMultiple(
array(
'tt_content' => $this->contentObject->data,
'content' => $this->cObjGetSingle( $this->settings['content'] ),
//'test' => $this->cObjGetSingle( $this->settings['test'] ),
'tt_content' => $this->contentObject->data
, $this->cObjGetSingle( $this->settings[ 'general' ][ 'register' ] )
, 'content' => $this->cObjGetSingle( $this->settings[ 'list' ][ 'content' ] )
, 'debug' => $this->debugList(),
)
);
......@@ -75,10 +76,6 @@ class MarginalController extends AbstractController
public function listAction()
{
$this->init();
// var_dump(__METHOD__, __LINE__, $this->settings);
// var_dump(__METHOD__, __LINE__, $this->settings['xblogId']);
// var_dump(__METHOD__, __LINE__, $this->contentObject->data);
// var_dump(__METHOD__, __LINE__, $this->cObjGetSingle( $this->settings['tables']['pages'] ));
$this->_viewAssignList();
}
......
<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
<T3DataStructure>
<ROOT>
<TCEforms>
<sheetTitle>LLL:EXT:xblog/Resources/Private/Language/FlexForms/Base.xlf:sheet_ctrl</sheetTitle>
</TCEforms>
<type>array</type>
<el>
<settings.flexform.pi1.ctrl.plugin.list>
<TCEforms>
<exclude>1</exclude>
<label>LLL:EXT:xblog/Resources/Private/Language/FlexForms/Base.xlf:sheet_ctrl.plugin.list</label>
<config>
<type>select</type>
<foreign_table>tt_content</foreign_table>
<foreign_table_where>list_type = 'xblog_pi1' ORDER BY title</foreign_table_where>
<items type="array">
<numIndex index="0" type="array">
<numIndex index="0">LLL:EXT:xblog/Resources/Private/Language/FlexForms/Base.xlf:sheet_ctrl.plugin.list.default</numIndex>
<numIndex index="1"></numIndex>
</numIndex>
</items>
<maxitems>1</maxitems>
<minitems>1</minitems>
<size>1</size>
</config>
</TCEforms>
</settings.flexform.pi1.ctrl.plugin.list>
<settings.flexform.pi1.ctrl.plugin.single>
<TCEforms>
<exclude>1</exclude>
<label>LLL:EXT:xblog/Resources/Private/Language/FlexForms/Base.xlf:sheet_ctrl.plugin.single</label>
<config>
<type>select</type>
<foreign_table>tt_content</foreign_table>
<foreign_table_where>list_type = 'xblog_pi1' ORDER BY title</foreign_table_where>
<items type="array">
<numIndex index="0" type="array">
<numIndex index="0">LLL:EXT:xblog/Resources/Private/Language/FlexForms/Base.xlf:sheet_ctrl.plugin.single.default</numIndex>
<numIndex index="1"></numIndex>
</numIndex>
</items>
<maxitems>1</maxitems>
<minitems>1</minitems>
<size>1</size>
</config>
</TCEforms>
</settings.flexform.pi1.ctrl.plugin.single>
<settings.flexform.pi1.ctrl.mode.send>
<TCEforms>
<exclude>1</exclude>
<label>LLL:EXT:xblog/Resources/Private/Language/FlexForms/Base.xlf:sheet_ctrl.mode.send</label>
<config>
<type>select</type>
<items type="array">
<numIndex index="0" type="array">
<numIndex index="0">LLL:EXT:xblog/Resources/Private/Language/FlexForms/Base.xlf:sheet_ctrl.mode.send.default</numIndex>
<numIndex index="1">default</numIndex>
</numIndex>
<numIndex index="1" type="array">
<numIndex index="0">LLL:EXT:xblog/Resources/Private/Language/FlexForms/Base.xlf:sheet_ctrl.mode.send.exclusive</numIndex>
<numIndex index="1">exclusive</numIndex>
</numIndex>
</items>
<maxitems>1</maxitems>
<minitems>1</minitems>
<size>1</size>
</config>
</TCEforms>
</settings.flexform.pi1.ctrl.mode.send>
<settings.flexform.pi1.ctrl.mode.receive>
<TCEforms>
<exclude>1</exclude>
<label>LLL:EXT:xblog/Resources/Private/Language/FlexForms/Base.xlf:sheet_ctrl.mode.receive</label>
<config>
<type>select</type>
<items type="array">
<numIndex index="0" type="array">
<numIndex index="0">LLL:EXT:xblog/Resources/Private/Language/FlexForms/Base.xlf:sheet_ctrl.mode.receive.default</numIndex>
<numIndex index="1">default</numIndex>
</numIndex>
<numIndex index="1" type="array">
<numIndex index="0">LLL:EXT:xblog/Resources/Private/Language/FlexForms/Base.xlf:sheet_ctrl.mode.receive.exclusive</numIndex>
<numIndex index="1">exclusive</numIndex>
</numIndex>
</items>
<maxitems>1</maxitems>
<minitems>1</minitems>
<size>1</size>
</config>
</TCEforms>
</settings.flexform.pi1.ctrl.mode.receive>
</el>
</ROOT>
</T3DataStructure>
\ No newline at end of file
......@@ -6,18 +6,53 @@
</TCEforms>
<type>array</type>
<el>
<settings.flexform.pi2.marginal.fieldtitle>
<settings.flexform.pi1.marginal.label>
<TCEforms>
<exclude>1</exclude>
<label>LLL:EXT:xblog/Resources/Private/Language/FlexForms/Marginal.xlf:sheet_marginal.fieldtitle</label>
<label>LLL:EXT:xblog/Resources/Private/Language/FlexForms/Marginal.xlf:sheet_marginal.label</label>
<config>
<type>input</type>
<size>40</size>
<eval>trim</eval>
<default>marginal_title // teaser_title // title // header</default>
<default>xBlog Marginal</default>
</config>
</TCEforms>
</settings.flexform.pi2.marginal.fieldtitle>
</settings.flexform.pi1.marginal.label>
<settings.flexform.pi1.marginal.max>
<TCEforms>
<exclude>1</exclude>
<label>LLL:EXT:xblog/Resources/Private/Language/FlexForms/Marginal.xlf:sheet_marginal.max</label>
<config>
<type>input</type>
<size>4</size>
<eval>integer,required</eval>
<default>5</default>
</config>
</TCEforms>
</settings.flexform.pi1.marginal.max>
<settings.flexform.pi1.marginal.croptitle>
<TCEforms>
<exclude>1</exclude>
<label>LLL:EXT:xblog/Resources/Private/Language/FlexForms/Marginal.xlf:sheet_marginal.croptitle</label>
<config>
<type>input</type>
<size>4</size>
<eval>integer,required</eval>
<default>40</default>
</config>
</TCEforms>
</settings.flexform.pi1.marginal.croptitle>
<settings.flexform.pi1.marginal.cropsubtitle>
<TCEforms>
<exclude>1</exclude>
<label>LLL:EXT:xblog/Resources/Private/Language/FlexForms/Marginal.xlf:sheet_marginal.cropsubtitle</label>
<config>
<type>input</type>
<size>4</size>
<eval>integer,required</eval>
<default>60</default>
</config>
</TCEforms>
</settings.flexform.pi1.marginal.cropsubtitle>
</el>
</ROOT>
</T3DataStructure>
\ No newline at end of file
......@@ -19,9 +19,21 @@
<source>Marginal</source>
<target>Rand</target>
</trans-unit>
<trans-unit id="sheet_marginal.fieldsubtitle">
<source>Subtitle</source>
<target>Unterzeile</target>
<trans-unit id="sheet_marginal.cropsubtitle">
<source>Subtitle length</source>
<target>Länge der Unterzeile</target>
</trans-unit>
<trans-unit id="sheet_marginal.croptitle">
<source>Title length</source>
<target>Länge des Titels</target>
</trans-unit>
<trans-unit id="sheet_marginal.label">
<source>Label of this list</source>
<target>Name dieser Liste</target>
</trans-unit>
<trans-unit id="sheet_marginal.max">
<source>amount of items</source>
<target>Anzahl der Einträge</target>
</trans-unit>
</body>
</file>
......
<f:layout name="xblog" />
<f:section name="content">
<div class="columns">
<p class="label">c{tt_content.uid}</p>
<p class="label">xblog/Resources/Private/View/Xblog/Templates/Marginal/List.html</p>
<f:render partial="Misc/Foundation/AlertBox" arguments="{_all}" />
<div class="row">
<div class="columns small-12 medium-12 large-12">
<f:format.html>{test}</f:format.html>
<f:format.html>{content}</f:format.html>
<f:if condition="{debug}">
<p class="label">c{tt_content.uid}</p>
<p class="label">xblog/Resources/Private/View/Xblog/Templates/Marginal/List.html</p>
<f:format.html>{debug}</f:format.html>
</f:if>
<f:format.raw>{content}</f:format.raw>
</div>
</div>
</div>
......
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