coderedcorp / coderedcorp/coderedcms

Official theme support

Đang mở
#44 20 bình luận 0 reaction 0 người được giao Xem trên GitHub
Area: Customization ✨ Type: Enhancement
Ngôn ngữ chính
Python
Star
765
Fork
154
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

We already have the basis of a framework for 3rd party themes. But I think a good step would be actually trying to create an example 3rd party theme, documenting how this is done, and making whatever changes would be necessary in the cms to support this. The first example could be simple, still based on Bootstrap. It is possible to build a theme that swaps out bootstrap for something like foundation, materialize, skeleton, etc., but that is a task for a different day.

Requirements for the theme would be:
* Custom templates that override coderedcms templates
* Custom page and block templates in addition to coderedcms templates, utilizing the Layout or Adv Settings > Template chooser dropdown.
* Custom css and js added to base.html, to show how to properly do that.
* MAYBE some extra blocks or models that are part of the theme, to show how to integrate those into the cms as well.

The theme itself should be a separate pip package. But docs and any enhancements to support theming should be integrated into the CMS.

Theme support is currently possible, but is partially blocked by issues #8 and #56

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Hướng nghiên cứu

Bắt đầu bằng việc xem xét framework hiện có dành cho các theme của bên thứ ba và các blocker trong issues #8 và #56. Sử dụng base.html và Template chooser trong Layout hoặc Adv Settings > Template làm các điểm vào được nêu tên, sau đó xác minh rằng một pip package riêng biệt có thể minh họa các template tùy chỉnh, CSS, JavaScript và mọi block hoặc model bổ sung, đồng thời tích hợp tài liệu và các cải tiến của CMS.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
bootstrap, django, python
Lĩnh vực
documentation, frontend
Loại issue
Tính năng
Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
25/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.