在Powermail中添加布局选项(Add Layout option in Powermail)

编程入门 行业动态 更新时间:2024-10-28 00:18:27
在Powermail中添加布局选项(Add Layout option in Powermail)

在powermail文档中提到了一个字段的布局下拉菜单:

管理员可以添加,删除或重命名一些条目。

如何为下拉菜单添加布局选项?

你如何指定新的选项将添加什么类?

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?

最满意答案

以下是Powermail布局的TS配置。 这将帮助您添加,删除和修改powermail表单,页面和字段的布局。

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 } } } }

希望,一些这将如何帮助你。 问候!

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!

更多推荐

本文发布于:2023-04-27 13:34:00,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1327063.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:布局   选项   Powermail   option   Layout

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!