Skip to content
/ pages Public
forked from JYouness/pages

Pages and categories for Laravel 3 with Admin Framework integration

Notifications You must be signed in to change notification settings

janar/pages

 
 

Repository files navigation

Pages for Laravel

This bundle provides a pages and categories for Laravel 3 with the Admin Framework.

This bundle is still under active development and is not yet suitable for production use straight away. Developers making improvements for this bundle please contribute to the Github repository, if you can. Thanks!

Features

  • Supports multi-level categories
  • Pages can be "top-level" or in categories
  • Integration with Admin Framework to make it easy to create/edit pages and categories.

Requirements

Installation

  • Git clone or copy the bundle to Laravel's bundles directory with the name of pages.

    $ git clone git@github.com:CodeBinders/pages.git
  • Edit application/bundles.php and register Pages bundle. To have Pages bundle serve requests without any intermediate URI segment, use '/' as the 'handles' value:

    'pages' => array('handles' => '/'),

    Else, specify the handles value accordingly, e.g. for serving pages as /p/my-page, use this:

    'pages' => array('handles' => 'p'),
  • Run migrations. Run this command in Laravel's project directory:

    php artisan migrate:pages
  • Implement a theme based on the Theme bundle. The theme should implement two layouts - categories and pages. For example of those layouts see examples/layouts/ directory.

  • If a theme.php config file is not already present in Laravel's application/config/ directory, copy config/theme.php to Laravel's application/config/ directory.

License

Released under the terms of the GNU General Public License v3+. For full license text see: http://www.gnu.org/licenses/gpl.txt

About

Pages and categories for Laravel 3 with Admin Framework integration

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published