lopezpaul/module-blog

博客内容管理系统。

安装: 0

依赖项: 0

建议者: 0

安全: 0

星星: 1

关注者: 2

分支: 0

开放问题: 0

类型:magento2-module

dev-main 2024-03-18 00:00 UTC

This package is not auto-updated.

Last update: 2024-09-30 08:58:57 UTC


README

Adobe Commerce 的博客模块。

Supported Magento Versions Maintained - Yes

目录

摘要

创建管理网格以管理 "lopezpaul_blog_post" 表,包含以下列:

  • id
  • 标题
  • 内容
  • 是否为草稿
  • 创建时间
  • 更新时间
  • 发布时间

安装

composer require lopezpaul/magento2-blog
bin/magento module:enable LopezPaul_Blog
bin/magento setup:upgrade

使用

进入管理面板并登录,然后转到 内容 > LopezPaul > 博客 菜单

查看文章列表 索引

创建或编辑文章 创建

搜索文章 搜索 您可以使用任何过滤器并将它们应用于搜索文章。

权限 角色 创建具有正确权限的用户角色。

依赖项

  • Magento_Backend
  • Magento_Ui

权限

您可以为设置正确权限创建新角色

GraphQL

GraphQL 前往您的 magento <domain_url>/graphql

query{
  posts{
    id
    title
    content
    is_draft
    created_at
    updated_at
    publish_at
  }
}

新版本的待办事项

  1. 添加图片
  2. 在前端显示文章