> For the complete documentation index, see [llms.txt](https://coreretail.gitbook.io/huong-dan-van-hanh-mini-app/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://coreretail.gitbook.io/huong-dan-van-hanh-mini-app/mini-app-incom-tutorial/website-quan-tri-admin/website-quan-tri/quan-ly-tin-tuc/danh-muc-tin-tuc.md).

# Danh mục tin tức

**Danh mục tin tức** sẽ được hiển thị ở màn hình **Quản lý tin tức**, các thông tin hiển thị như hình sau:

<figure><img src="/files/vJSDacG4WGntNsXGOaxr" alt=""><figcaption><p>Màn hình chính của "Danh mục tin tức"</p></figcaption></figure>

## <mark style="color:purple;">**Thêm mới danh mục**</mark>

Để thêm mới danh mục, Admin chỉ cần nhấn vào nút **“Thêm mới”**, tiến hành nhập đầy đủ các thông tin cần thiết, sau đó bấm **“Lưu”** để hệ thống tự động cập nhật dữ liệu. Khi quá trình hoàn tất, hệ thống sẽ hiển thị thông báo xác nhận thành công và thông tin danh mục sẽ được cập nhật ngay lập tức trên giao diện.

<mark style="color:red;">**Lưu ý:**</mark> Nếu như không muốn lưu các thông tin vừa nhập của danh mục thì Admin có thể nhấn nút **Đóng** để tắt cửa sổ hiển thị.

<figure><img src="/files/muE9x05u7ND2WFooEsPG" alt=""><figcaption><p>Admin cần nhấn nút "<strong>Thêm mới"</strong></p></figcaption></figure>

<figure><img src="/files/LwT8Ge8CWSfgiyt3u95s" alt=""><figcaption><p>Nhập tên danh mục</p></figcaption></figure>

<figure><img src="/files/wQVbcwbyO8fEZYBcgxVD" alt=""><figcaption><p>Lưu danh mục</p></figcaption></figure>

<figure><img src="/files/XzHXaXyZKJvGJtBl0am0" alt=""><figcaption><p>Hệ thống hiển thị thông báo thêm mới thành công</p></figcaption></figure>

## <mark style="color:purple;">Cập nhật danh mục</mark>

Khi muốn cập nhật thông tin danh mục tin tức, ở cột **Thao tác**, Admin chọn nút **Xem chi tiết**, hệ thống sẽ xuất hiện cửa sổ hiển thị chứa các thông tin danh mục. Lúc này, admin chỉ cần điều chỉnh các trường thông tin mà mình muốn chỉnh, bấm nút **Cập nhật**, hệ thống sẽ tự động cập nhật và gửi thông tin cập nhật thành công. Dữ liệu sau đó sẽ được cập nhật theo chỉnh sửa của Admin.

<mark style="color:red;">Lưu ý:</mark> Nếu như không muốn cập nhật các thông tin vừa nhập của danh mục thì Admin có thể nhấn nút **Đóng** để tắt cửa sổ hiển thị.

<figure><img src="/files/og4DL39IrzJfvz9ZEPII" alt=""><figcaption><p>Nhấn vào nút <strong>"Xem chi tiết"</strong> ở <strong>Thao tác</strong> để cập nhật danh mục</p></figcaption></figure>

<figure><img src="/files/UtgERgEOtlHS2S8cUo4E" alt=""><figcaption><p>Nhập thông tin cần cập nhật và nhấn nút Cập nhật</p></figcaption></figure>

<figure><img src="/files/ylUnP5EYGy4ib1PC4dBH" alt=""><figcaption><p>Hệ thống gửi thông báo Cập nhật thành công</p></figcaption></figure>

## <mark style="color:purple;">Xóa danh mục</mark>

Khi muốn xóa danh mục bất kỳ, ở cột **Thao tác**, Admin chọn **Xóa**, sau đó **xác nhận Xóa** danh mục tin tức.

Sau khi xóa thành công, hệ thống sẽ tự động hiển thị thông báo **"Xóa thành công"** cho Admin và dữ liệu bị xóa không còn xuất hiện ở màn hình Danh mục tin tức nữa.

<figure><img src="/files/I5dq6IVFnlbqLPZkyW4X" alt=""><figcaption><p>Nhấn vào nút <strong>"Xóa"</strong> ở <strong>Thao tác</strong> để xóa danh mục</p></figcaption></figure>

<figure><img src="/files/GPwOEzi9JvyUSkXX4c3y" alt=""><figcaption><p>Hệ thống yêu cầu xác nhận xóa danh mục</p></figcaption></figure>

<figure><img src="/files/y8aCxGUM1lrwV50DjM8Z" alt=""><figcaption><p>Thông báo xóa thành công</p></figcaption></figure>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://coreretail.gitbook.io/huong-dan-van-hanh-mini-app/mini-app-incom-tutorial/website-quan-tri-admin/website-quan-tri/quan-ly-tin-tuc/danh-muc-tin-tuc.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
