November 26, 2009

TemplaVoila 1.4 released...

A new version of  TemplaVoila (ter) (forge) has just been released. Besides the great fact that this is the first team-release of TemplaVoila, the high-level improvements within the pagemodule (drag’n’drop),  the mapping module and the FCE editing forms and besides lot’s of bug fixes, there are a few very nice features which make the day-to-day work with TemplaVoila much easier.

The list of things which happend in 1.4 can be seen on (preselected filter). The following list contain my favorite fixes which happened unter the hood:

1) Delete content within the pagemodule (instead of unlinking) By default you will still see the “unlink” icon within the pagemodule but one small setting within User- or PageTSconfig will show up delete buttons as well. There are two modes: _mod.web_txtemplavoilaM1.enableDeleteIconForLocalElements = 1 _ will show unlink and delete icons for local elements side-by-side _mod.web_txtemplavoilaM1.enableDeleteIconForLocalElements = 2 _ will show the delete icon and hide the unlink icon whenever possible.


2) Skip edit screen after a new content element was created Especially for container items it’s anoying that the TYPO3 edit screen opens up after such an item was created. The setting noEditOnCreation** **within the meta configuration part of your datastructure can be used to change that.


**3) Hide TemplaVoila field values and cleanup the pagemodule Another problem within large projects is a messed up pagemodule. Very often the field data of flexible content elements shows up without any chance to hide it. Use  _disableDataPreview **_within the meta configuration part of your datastructure to change that.


4) Define default record values A proper setup contains good default values. Within datastructures you can define default values for your flexform-fields and from now on TemplaVoila also provides the possibility to define default-values for the fields of the parent record. The “default / TCEForms / ” parts within the meta configuration part of your datastructure does this. Very useful usage for container elemente is:

1 -1


There’s also a completly new “New content element”-wizard which can be configured with PageTSConfig - this wizard brings some additional feature for default-value configuration. I’m going to bring that up in another post soon.

**5) sectionCount / sectionPos register in TypoScript **Rending fields which are nested in sections is not always fun. Expecially when it comes to position detection for the current item. Two new registers try to help in such situtations:

tx_templavoila_pi1.sectionCount holds the overall amount of items within the current section tx_templavoila_pi1.sectionPos holds the position of the curren titem -starting with 1

Example: 10 = TEXT 10.value = (last item) = register:tx_templavoila_pi1.sectionPos = register:tx_templavoila_pi1.sectionCount



© tolleiv 2016 - CC BY-SA 3.0 - Powered by Hugo