CoreCommunity ExtensionsIncubatorDistributionsTYPO3 4.5 ProjectsTYPO3 4.6 ProjectsTYPO3 4.7 ProjectsTYPO3 6.0 ProjectsTYPO3 6.1 ProjectsTYPO3 6.2 Projects (+)

Feature #25861

integration of tabs (and others) by typoscript

Added by Ralf-Rene Schroeder about 2 years ago. Updated about 2 years ago.

Status:Resolved Start date:2011-04-09
Priority:Should have Due date:
Assignee:Juergen Furrer % Done:

100%

Category:- Spent time: 8.00 hours
Target version:-
Votes: 0

Description

it would be VERY usefull if a tab element could be filled by typoscript
so the FE output could be used from other extensions for records
or ist there such a posibility (like a hook) ... for tt_news it is realised... would be great if this could be done by other extensions

History

Updated by Juergen Furrer about 2 years ago

  • Tracker changed from Feature to Support
  • Status changed from New to Needs Feedback
  • Assignee set to Juergen Furrer

Look into EXT:jfmulticontent/static/setup.txt
There are some examples:

plugin.tx_jfmulticontent_pi1 {
    config {
        contentKey = jfmulticontent_tab
        style = tab
        tabCollapsible = 0
        tabOpen = 1
        tabRandomContent = 0
        tabFxHeight = 0
        tabFxOpacity = 0
        tabFxDuration = 
        delayDuration = 0
        autoplayContinuing = 0
        options (
        )
        optionsOverride = 0
    }
    contents {
        10 {
            id = 1
            content = CONTENT
            content {
                table = tt_content
                select {
                    orderBy = sorting
                    where = colPos=12
                    begin = 0
                    max = 1
                    languageField = sys_language_uid
                }
            }
            title < .content
            title.renderObj = COA
            title.renderObj {
                10 = TEXT
                10.field = header
            }
        }
        20 < .10
        20.id = 2
        20.content.select.begin = 1
        20.title.select.begin = 1
        30 < .10
        30.id = 3
        30.content.select.begin = 2
        30.title.select.begin = 2
        40 < .10
        40.id = 4
        40.content.select.begin = 3
        40.title.select.begin = 3
    }
}

This is only available, if you use the template based methode:
page.10.marks.MY_TAB < plugin.tx_jfmulticontent_pi1

The array item in the "contents" defines the single tabs (use the "id" to define the key for the tab)
The "content" defines the panel and the title, I think this should be clear ;)

The content and the title are cObjects, so you can define what ever you like (COA, TEXT, CONTENT etc.)

Did this meet your needs?

Updated by Juergen Furrer about 2 years ago

  • Tracker changed from Support to Feature
  • Status changed from Needs Feedback to Accepted
  • % Done changed from 0 to 80

In the next version, there will be a possibility to choose content / page.
With a hook it will be possible to add additional views (tt_address, tt_news etc.)

Updated by Juergen Furrer about 2 years ago

  • Status changed from Accepted to Resolved
  • % Done changed from 80 to 100

Also available in: Atom PDF