【问题标题】:How to sort the list of widgets?如何对小部件列表进行排序?
【发布时间】:2019-03-27 02:13:20
【问题描述】:

我想管理小部件的顺序,就像您可以使用“撇号管理栏”模块管理管理栏一样。

我在博物馆的demo中看到有这个选项:

但是查看代码,我还没弄清楚它是在哪里完成的。

如何添加此选项?

【问题讨论】:

    标签: apostrophe-cms


    【解决方案1】:

    菜单中小部件的顺序是您将它们传递给apos.area 的顺序。如果您是指将它们放在列中,即项目级 CSS 覆盖,您可以在此处找到

    CSS https://github.com/apostrophecms/apostrophe-open-museum/blob/master/lib/modules/apostrophe-assets/public/css/utils/_admin.less#L1-L15

    区域包装 https://github.com/apostrophecms/apostrophe-open-museum/blob/master/lib/modules/apostrophe-pages/views/pages/default.html#L27

    【讨论】:

    • 非常感谢,我是想把它们放在专栏里!
    猜你喜欢
    • 2019-02-24
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2012-12-16
    • 2022-11-25
    • 1970-01-01
    • 2016-03-11
    相关资源
    最近更新 更多