In the powermail documentation it mentions about a field's Layout dropdown:
Administrator can add, remove or rename some of the entries.
How do you add a layout option to the dropdown?
How do you specify what class that new option will add?
Here is the TS configuration for powermail layouts. This will help you to add, remove and modify layout for powermail form, pages and field.
TCEFORM.tx_powermail_domain_model_form{
css {
altLabels.layout1 = Event form
altLabels.layout2 = Contact form
removeItems = layout3,nolabel
}
}
}
TCEFORM.tx_powermail_domain_model_page{
css {
altLabels.layout1 = PERSÖNLICHE DATEN
altLabels.layout2 = VERANSTALTUNGSDATEN
altLabels.layout3 = OPTIONAL WEITERE
# removeItems = layout1, layout2
# addItems {
# blue = Blue Form
# green = Green Form
# }
# }
}
}
TCEFORM.tx_powermail_domain_model_field{
css {
altLabels.layout1 = Default
addItems {
layout4 = Field Title
layout5 = Block Label
layout6 = List Day
layout7 = List Month
layout8 = List Year
layout9 = Inputbox with Left Label
layout10 = Inputbox with Top Label
layout11 = Label Note
}
}
}
}
Hope, some how this will help you. Greetings!