Learn about the top 2016 CMS trends. Read on.

To enable a different default header type for a TemplaVoila container of content elements, you can alter the TemplaVoila Data Structure XML TypoScript component with a LOAD_REGISTER entry as below. The image, “TempaVoila default header type change” can help you get a better idea of how the TypoScript component fits into the TemplaVoila Data Structure XML.

The TypoScript component below, is changing the default header type of content elements within a particular TemplaVoila container to “3”. 3, in this case, is associated with a H3 HTML tag.

	5.defaultHeaderType = 3
	10 {
		source.current = 1
		tables = tt_content
		wrap = <!--TYPO3SEARCH_begin]]> | <!--TYPO3SEARCH_end-->

Through this same TypoScript LOAD_REGISTER method, you can also adjust default TypoScript settings like image maximum width by adding the following to above.

5.maxImageWidth = 200
5.maxImageWidthInText = 200


Whenever you user LOAD_REGISTER, call RESTORE_REGISTER when done using your overrides. Otherwise, follow-on content elements might have changes that you don’t want them to have.

Related Links

Still stuck? Write us.