Giter Site home page Giter Site logo

kaburk / bccrud Goto Github PK

View Code? Open in Web Editor NEW
2.0 3.0 1.0 56 KB

baserCMS4系のプラグイン作成時のベースとなるプラグインです。

Home Page: https://blog.kaburk.com/blog/archives/159

License: MIT License

PHP 95.86% CSS 0.62% JavaScript 1.01% Shell 2.51%
basercms basercms4 plugin

bccrud's Introduction

BcCrud

baserCMS4系のプラグイン作成用のベースプラグインです。

ブログのようなCRUD(Create(生成)、Read(読み取り)、Update(更新)、Delete(削除))の機能があります。

  • 記事一覧、詳細
  • カテゴリ
  • タグ

※ カテゴリ、タグにアイキャッチと説明欄を追加しています。

※ タグはブログとは異なり、コンテンツ毎に設定可能です


使い方

プラグインをインストール後、有効化すると、管理画面のコンテンツ管理右クリックメニュー一番下「その他」に「BcCrud」が追加されます。

あとの操作はほぼブログと同じです。

フロント側Viewのカスタマイズ

フロント側はbaserCMS4系の標準テーマ(bc_sample)用のViewがデフォルトでセットされています。

フロント側をカスタマイズする場合はブログと同じようにプラグイン内のdefaultフォルダをテーマに複製して使います。

app/Plugin/BcCrud/View/BcCrud/default
  ↓(フォルダごとコピー)
theme/{テーマ名}/BcCrud/default

theme/{テーマ名}/BcCrud/hogefuga1
theme/{テーマ名}/BcCrud/hogefuga2
  :

複数設置もOKです。

管理画面の設定でコンテンツテンプレートを指定してください。


License

Lincensed under the MIT lincense since version 2.0

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.