TYPO3 Mailform: Change order of labels and checkboxes
tt_content.mailform.20.CHECK.layout = <div class="csc-mailform-field csc-mailform-checkbox">###FIELD### ###LABEL###</div>
Show & Tell
occasionally subtle

Kaledo Art
he wasn't even looking at me and he found me
NASA
No title available
ojovivo
sheepfilms
Alisa U Zemlji Chuda

ellievsbear
Stranger Things

❣ Chile in a Photography ❣

blake kathryn
TVSTRANGERTHINGS
todays bird
Monterey Bay Aquarium
trying on a metaphor
Cosmic Funnies

@theartofmadeline
No title available

seen from South Korea
seen from Argentina
seen from United States
seen from Argentina

seen from Singapore

seen from Türkiye

seen from United States
seen from United States

seen from Spain
seen from United Kingdom
seen from Japan
seen from Italy

seen from Argentina

seen from Türkiye

seen from Singapore

seen from Malaysia

seen from United Kingdom

seen from Ireland
seen from United States
seen from Argentina
@typo3snippets
TYPO3 Mailform: Change order of labels and checkboxes
tt_content.mailform.20.CHECK.layout = <div class="csc-mailform-field csc-mailform-checkbox">###FIELD### ###LABEL###</div>
Don't render an image caption if the field "image caption" is empty in the backend
By default, the html for the image caption is always rendered, even if no image caption is entered in the backend. This is really annoying. If you give padding and background-color to the caption via CSS empty captions are displayed as some kind of colored bar under the image.
To avoid this set the following Typoscript to your template
tt_content { image.20.rendering.div.caption.required = 1 }
This is the HTML5 version in case you use "figure" and "figcaption" instead of divs
tt_content { image.20.rendering.figure.caption.required = 1 }
Auto-assign a certain category to a new tt_news record
In the TSconfig
TCAdefaults.tt_news.category = 1
auto-assign the tt_news category with the ID 1 to every newly created tt_news record
Remove automated html comments in the sourcecode, output others
page.config.disablePrefixComment = 1
This configuration is made in the page template
tt_news: if subheader is empty, DON'T display the text instead
plugin.tt_news.displayList { subheader_stdWrap.ifEmpty.field = }
referring to a certain content element on a certain page
page.10.marks {
MARKERNAME = CONTENT
MARKERNAME {
table = tt_content
select { pidInList = 37 uidInList = 90 } } }
indexed_search result output just in current language
For example: Your default language is german, the language with the ID 1 is American English. Add this piece of typoscript to your template:
plugin.tx_indexedsearch._DEFAULT_PI_VARS.lang = 0
[globalVar = GP:L = 1] config.sys_language_uid = 1 config.language = en config.htmlTag_langKey = en-US config.locale_all = en_US plugin.tx_indexedsearch._DEFAULT_PI_VARS.lang = 1 [global]
Note: The indexed_search plugin has to be translated, too.