GithubHelp home page GithubHelp logo

m2_sample's Introduction

Genmato Sample extension for Magento2

This is a small Magento2 sample extension using various functions like:

  • Model/Resource model for database access
  • Schema and Data setup/upgrade script
  • Frontend router with layout/template
  • Backend router
  • Backend grid with mass-action, search and delete/edit actions
  • Backend form to edit/create records

Installation

This package is registered on Packagist for easy installation. In your Magento installation root run:

composer require genmato/sample

This will install the latest version in your Magento installation, when completed run:

php bin/magento module:enable Genmato_Sample

php bin/magento setup:upgrade

php bin/magento cache:clean

This will enable the extension and run the Schema and Data scripts to create the database and insert a sample record.

(C)2015 Genmato BV, The Netherlands.

m2_sample's People

Contributors

vkerkhoff avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

m2_sample's Issues

Getting fatal error after saving a record

Hi,

After saving a record Via console command demo:add. Am getting fatal error.

Fatal error: Call to a member function getId() on a non-object in app\code\Genmato\Sample\Console\Command\AddCommand.php on line 89

Action Buttons

Hello,

I bought your book and have followed it to the tee, but the action buttons (i.e. Back, Save and Continue Edit, Reset, etc.) are not displaying at all. What would cause them not to display?

Mike

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.