Giter Club home page Giter Club logo

sample's Introduction

PyroCMS Sample Module

  • Branch 2.1/master -- For PyroCMS v2.1.x
  • Branch 2.0/master -- For PyroCMS v2.0.x
  • Branch 1.3/master -- For PyroCMS v1.3.x

Legal

This module was originally written by Jerel Unruh, one of the PyroCMS core developers but is now part of PyroCMS Documentation. Here is his blog post about this module. If you find issues please open a ticket in the issue tracker here.

It is unlicensed, meaning that you can use it as a base for your own module without keeping the copyright intact. visit unlicense.org Please spread the news about PyroCMS and point new developers here if you like. You may also be interested in PyroCMS Workless a theme based on iKreativ's Workless.

Description

This module was put together to give new developers something to start with when building their own modules. It makes use of some best practices (like using MY_Model to simplify database interaction) and hopefully shows a couple of shortcuts (like using the pagination helper instead of the default CI pagination). It includes an event file and its own plugin.

Usage

To use this module simply clone it using Git or download the zip. Make sure the branch you download from matches the version of PyroCMS you are using. For example, PyroCMS 1.3.2 users will use 1.3/master branch, and PyroCMS 2.0 users will use 2.0/master branch, and so on. Once you have the folder you will need to rename it to "sample". This is very important as PyroCMS uses the folder name to determine the class to call when installing or when loading a controller. This may mean that you will need to unzip the downloaded version and then rezip it before uploading to your PyroCMS install.

sample's People

Contributors

adamfairholm avatar jerel avatar chadwithuhc avatar

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.