Documentation · ViewHelper reference

Be / ContentElementViewHelper

  • Tag usage example

    <flux:be.contentElement row="{foo: 'bar'}" area="NULL" dblist="[TYPO3\CMS\Backend\View\PageLayoutView]">
    	<!-- tag content - may be ignored! -->
    </flux:be.contentElement>
  • Inline usage example

    {flux:be.contentElement(row: {foo: 'bar'}, area: 'NULL', dblist: [TYPO3\CMS\Backend\View\PageLayoutView])}

Arguments

Argument Description Type
area

If placed inside Fluid FCE, use this to indicate which area to insert into

string
dblist

Instance of PageLayoutView preconfigured to render each record

TYPO3\CMS\Backend\View\PageLayoutView
row

Record row

array
Required attribute

Revision history

commit 816bf53d05097419f6475a2f29d0f39fda944458
Author: Claus Due <*****@wildside.dk>
Date:   Fri Jan 27 23:37:29 2012 +0100

    [TASK] Assimilate nested content feature from FED
    
    This makes Flux the carrier of the nested content feature. After
    installing this you must must from extension config update DB,
    then manually run this query to migrate existing content:
    
    UPDATE tt_content SET tx_flux_column = tx_fed_fcecontentarea
    
    If you have custom FCEs all calls to any fed:fce, fed:page or
    fed:flexform ViewHelper (any of then, including "content" and
    "rendercontent" which have now been ported to Flux) these must
    be change to the Flux counterparts for your FCEs to work after
    this change.
    
    Note: a change is coming to the FED git master very soon, disabling
    these same features and removing the ViewHelpers in order to
    accomodate the hard and fast deprecation which will be done in
    FED 1.4.11. Until then your content elements may continue to fill
    data in the tt_content.tx_fed_fcecontentarea field in the DB.
    
    Change-Id: I42cc288499f8dc372bcfc9c7c0bdbf005c637674
    Fixes: #33349
    Fixes: #33350

commit 64f9685401601d7ae6a00f025398a9ab141f7dd7
Author: Claus Due <*****@wildside.dk>
Date:   Wed Jul 25 20:23:48 2012 +0200

    [TASK] Migration to FieldProvider pattern
    
    Changes the internal logic that is rendering FlexForm structures
    from the previous XML-to-TCA to a direct TCA approach.
    
    Briefly described this change...
    
    * Completely removes the intermediate XML step and all XML templates
    * Removes all partial templates previously used to render field XML
    * Introduces FieldProviders which function similarly to ConfigurationProviders
    * Improves performance slightly by skipping two expensive rendering steps
    * Streamlined a classes and viewhelpers
    
    Also contained are a few additional ViewHelpers and some basic bugfixes.
    Apologies for the combined commit; after working on this for three months
    it was too complicated to split this into smaller pieces.
    
    Note: fixes #37190 but cannot guarantee other extensions will not
    re-specify tt_content.colPos as something other than signed smallint(6).
    
    Change-Id: Ic9812b2af83a6a142b48a886617c3458c45d4dad
    Fixes: #39269
    Fixes: #37190
    Fixes: #36907
    Fixes: #34543
    Fixes: #35530
    Fixes: #38647
    Fixes: #34717
    Fixes: #34926
    Fixes: #38434

commit d19dd7124ebf14b9127d26c18aea2263eca62305
Author: Claus Due <*****@wildside.dk>
Date:   Thu Dec 13 21:31:44 2012 +0100

    [TASK] Move extra, necessary </div> tag to BE content area ViewHelper

commit 737bd7f90713c0b587df549004914765a9e93581
Author: Claus Due <*****@wildside.dk>
Date:   Thu Dec 13 22:21:35 2012 +0100

    [TASK] Only fix extra </div> issue when on legacy versions

commit fa6bc8b43dd9a52f6e5c3f7da424568f9e7aaf51
Author: Claus Due <*****@wildside.dk>
Date:   Fri Jan 11 01:29:40 2013 +0100

    [BUGFIX] Nesting issue with divs was not solved in 6.0 after all…

commit 4dcb1dc52565aed8cbca816850400c548b0c7452
Author: Claus Due <*****@wildside.dk>
Date:   Mon Aug 5 04:15:40 2013 +0200

    [TASK] Simplify ViewHelper inheritance and base class placement

commit 41d86a62b23ec8d3554ff02ec5d4e5e6251d631d
Author: Danilo Bürger <*****@hmspl.de>
Date:   Sat Nov 23 18:17:35 2013 +0100

    [BUGFIX] Resolved missing t3-page-ce-body-inner

commit 75fcd37db43bef950b9378644d2b961635185c2a
Author: Thomas Allmer <*****@gmail.com>
Date:   Mon Nov 18 14:46:36 2013 +0100

    [TASK] Replace all calls to CMS functions with namespace equivalent
    
    A simple shell script was used for all the replacements
    https://gist.github.com/daKmoR/7490199

commit 5511d72d220d89627255e270d3ca178362f6c2b2
Author: Claus Due <*****@namelesscoder.net>
Date:   Sun Nov 24 19:31:01 2013 +0100

    [TASK] Switch to namespaces

commit 3878c943a6eb0924bb6db2e5ed8461580896431f
Author: Claus Due <*****@namelesscoder.net>
Date:   Tue Dec 10 01:59:34 2013 +0100

    [TASK] Update copyright and author tags
    
    Assumes "Claus Due" as author whenever no author is specified.

commit d5bfae4376657a0dfe23da4df1ba631193394c45
Author: Claus Due <*****@namelesscoder.net>
Date:   Sun Dec 15 20:33:36 2013 +0100

    [TASK] Re-layout tests to cover ViewHelpers properly

commit 8bf2b5beb89c7d72a41230f152d9a5a3d308ba84
Author: Claus Due <*****@namelesscoder.net>
Date:   Tue Dec 31 23:11:00 2013 +0100

    [TASK] Happy new year!

commit 1c42c251913ef22821cb68a504e7e12201f8771b
Author: Mats Svensson <*****@pixelant.se>
Date:   Tue Aug 19 15:24:19 2014 +0200

    [BUGFIX] Enables flag icons for child content elements in page view language.

commit daca275962f23143cffb90b92f9d7be5fedbc4bd
Author: Claus Due <*****@namelesscoder.net>
Date:   Sun Oct 5 21:01:09 2014 +0200

    [TASK] Fix a couple hundred CGL and declaration issues