Documentation · ViewHelper reference

Wizard / SuggestViewHelper

Field Wizard: Suggest

See https://docs.typo3.org/typo3cms/TCAReference/AdditionalFeatures/CoreWizardScripts/Index.html for details about the behaviors that are controlled by arguments. /

  • Tag usage example

    <flux:wizard.suggest label="NULL" hideParent="1" variables="{foo: 'bar'}" extensionName="NULL" table="NULL" pidList="'0'" pidDepth="123" minimumCharacters="123" maxPathTitleLength="123" searchWholePhrase="1" searchCondition="''" cssClass="''" receiverClass="''" renderFunc="''">
    	<!-- tag content - may be ignored! -->
    </flux:wizard.suggest>
  • Inline usage example

    {flux:wizard.suggest(label: 'NULL', hideParent: 1, variables: {foo: 'bar'}, extensionName: 'NULL', table: 'NULL', pidList: ''0'', pidDepth: 123, minimumCharacters: 123, maxPathTitleLength: 123, searchWholePhrase: 1, searchCondition: '''', cssClass: '''', receiverClass: '''', renderFunc: '''')}

Arguments

Argument Description Type
cssClass

Use this CSS class for all list items

string
extensionName

If provided, enables overriding the extension context for this and all child nodes. The extension name is otherwise automatically detected from rendering context.

string
hideParent

If TRUE, hides the parent field

boolean
label

Optional title of this Wizard

string
maxPathTitleLength

Maximum path segment length - crops titles over this length

integer
minimumCharacters

Minimum number of characters that must be typed before search begins

integer
pidDepth

Depth of recursive storage page UID lookups

integer
pidList

List of storage page UIDs

string
receiverClass

Class reference, target class should be derived from "t3libtceformssuggest_defaultreceiver"

string
renderFunc

Reference to function which processes all records displayed in results

string
searchCondition

Search condition - for example, if table is pages "doktype = 1" to only allow standard pages

string
searchWholePhrase

A match requires a full word that matches the search value

boolean
table

Table to search. If left out will use the table defined by the parent field

string
variables

Freestyle variables which become assigned to the resulting Component - can then be read from that Component outside this Fluid template and in other templates using the Form object from this template

array
Required attribute

Revision history

commit 3390bd05f546bccfc9ca5cb012d291f7bdd63512
Author: Claus Due <*****@namelesscoder.net>
Date:   Mon Dec 2 23:26:43 2013 +0100

    [TASK] Rename ViewHelpers
    
    Renames:
    
    flux:flexform -> flux:form
    flux:flexform.field.* -> flux:field.*
    flux:flexform.field.wizard -> flux:wizard.*
    flux:flexform.* -> flux:form.*

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 8bf2b5beb89c7d72a41230f152d9a5a3d308ba84
Author: Claus Due <*****@namelesscoder.net>
Date:   Tue Dec 31 23:11:00 2013 +0100

    [TASK] Happy new year!