Git Product home page Git Product logo

simplecms's Introduction

Code Climate Test Coverage Issue Count

Simple CMS for laravel 5

Simple CMS provides you to create small and simple cms pages.

Installation

To install this laravel 5 packages add mc388/simple-cms to your composer.json and run composer update.

Publish assets

To compile all sass files, you need to install npm first. Then goto src folder and run npm install --save. After installing all necessary node modules you can run gulp to generate a css file from all sass files and copy all js files. Next step is to publish the compiled css file to make it available to the meta project. Therefore run php artisan vendor:publish --tag=public --force in the meta project.

Commands running on the laravel project root

  • Publish assets, config and migrations: php artisan vendor:publish --force
  • Migrate database: php artisan migrate
  • Seed contact model: php artisan db:seed --class="Mc388\SimpleCms\Database\Seeds\ContactSeeder"
  • Seed content model: php artisan db:seed --class="Mc388\SimpleCms\Database\Seeds\ContentSeeder"

If you receive a "class not found" error when running migrations, try running the composer dump-autoload command and re-issuing the migrate command.

Usage

Dashboard

The dashboard is available for logged in users under manage/dashboard.

Dashboard

Sites

Index

On the sites overview you can change the order and nesting of sites by drag-and-drop. Sites with a house icon in front are on the root. You can have multiple root elements if you want to highlight different areas on the homepage. Normally you should have just one root node. Sites which have a globe in front are global sites, which are displayed on every site in the current root node.

Sites index

Form

In the site form you have three different site types:

  1. Site: a normal site
  2. Link: a link to an existing page, e.g. you want so link to a contact page in different root nodes.
  3. Global: a site which is a available on each site in a root node, e.g. the impressum.

Sites form

Media

In this section you can upload media files which can be included in the site content.

Media

Contact

Here you can import your contact data which can be shown in the footer of your homepage.

Contact

Settings

In the settings you can set the page title and a google analytics id.

Settings

Example

Example

Vendor

The following packages are used:

simplecms's People

Contributors

marvincaspar avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

simplecms's Issues

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.