Login / Status
developer.Resource
Home . Documentation . Document Library . Extension Manuals
Sponsors
hosted by punkt.deTYPO3 and Open Source Magazine

1.2. Site developer's manual

Meant for people developing TYPO3 websites. Does not require PHP knowledge.

Page / User TSconfig reference

The following TypoScript configuration can be used either as Page TSconfig or as User TSconfig.

mod.web_txtemplavoilaM1

Property:

Data type:

Description:

Default:

createPageWizard.fieldNames

list

With this option you may specify a selection of field names of the pages table to be displayed in the create-new-page-wizard.

Example:

mod.web_txtemplavoilaM1.createPageWizard {

 fieldNames = hidden, title, author, description, abstract

}

This will create an editing form like this:

hidden, title, alias

sideBarEnable

boolean

Defines if the toolbar in the TemplaVoila Page Module is visible or not. By default it is visible as a row of tabs.

TRUE

sideBarPosition

string

Defines the position of a toolbar within the TemplaVoila Page Module. Possible values: toptabs, toprows, left

toptabs  generates a toolbar on top of the page module's content with dynamic tabs which allow you to switch between the different option categories.

toprows also generates a toolbar on the top of the page, but uses rows which can be expanded and collapsed instead of tabs.

left instead creates a sidebar at left part of the page module. This sidebar may be shown and hidden by clicking at the little plus / minus sign at the upper right corner of the sidebar.

Note: The menu items which are available in this toolbar depend on the extensions you have installed as they provide the functionality.

toptabs

disableContainerElementLocalizationWarning

boolean

Container elements used with TemplaVoila should not be localized. Therefore a warning is displayed if <langDisable> is false for such data structures. If localization was enabled on purpose this warning will be misleading of course and can be disabled by this setting.

FALSE

disableContainerElementLocalizationWarning_warningOnly

boolean

Sometimes you might like to localize container elements with <langChildren> enabled. This is especially the case if the element is more than a container but also has content fields that need localization.

The problem is that only the default language values of the reference fields (non-content fields) is recognized by TemplaVoila page module while in the frontend the rendering depends on inheritance and what other references someone might accidentally put into the reference fields of other languages! So, if you use localization for such mixed records, a) make sure inheritance is enabled (so for all languages the references set for default language is used) and b) that no references are localized (leave reference fields for other languages empty).

FALSE

translationParadigm

string keyword

If set to “free” the Page module will act according to a translation paradigm called “Free” (opposite to “Bound”) where you use the Page DS <langDisable> to indicate whether or not a page can be localized and there localizations of default language records are linked into separate content structures provided by the data structure either as Inheritance or Separate.

You should read the document “Localization Guide” which includes detailed information about these concepts.

disableDisplayMode

list of keywords

In the “Bound” translation paradigm, you will see a selector box that allows you to filter which languages you see for editing. Here you can disable certain of the available options by setting keywords in this list.

Options are: default, selectedLanguage, onlyLocalized

recordDisplay_tables

list of table names

Comma-separated list of table name to shown  in "Record list" tab. This feature requires TYPO3 version >= 4.0.5.

Record list allows  to edit any record on the page without a need to switch to list module.

If this value is not set, record list will not be shown at all.

Not set

recordDisplay_maxItems

integer

Maximum number of records to display. If this values is not set, value from $TCA is used. If value in $TCA is not set, default is used.

10

recordDisplay_alternateBgColors

boolean

If set to 1, forces to alternate background colors for records

false

[tsconfig:mod.web_txtemplavoilaM1]

mod.web_txtemplavoilaM2

Property:

Data type:

Description:

Default:

templatePath

string

Path to directory inside fileadmin/ where templates can be found. Must be accessible by the users file mounts.

Example:

mod.web_txtemplavoilaM2.templatePath = template/main/

[tsconfig:mod.web_txtemplavoilaM2]

Plugin “pi1” attributes

Property:

Data type:

Description:

Default:

TSconst.[constant-name]

string

Defining constants for Data Structure constants. see “<T3Data Struction> extensions” section

dontInheritValueFromDefault

childTemplate

string

Keyword which is used to look for a child-template record.

By default “print” is a value you can set. This is also set automatically when “&print=1” is found in the URL

The value is matched with the content of “rendertype” so if you want other values than “print” to be available you simply add new items to that selector box and use conditions in the TypoScript Template to detect the circumstance that should set this value.

More explainations later

disableExplosivePreview

boolean

If set, the popup information boxes in the frontend will not appear in FE preview mode.

FALSE

disableErrorMessages

boolean

If set, no error messages will be displayed in the frontend.

Example:

plugin.tx_templavoila_pi1.disableErrorMessages = 1

FALSE

[tsref:plugins.tx_templavoila_pi1]