Skip to content
This repository has been archived by the owner on Mar 1, 2018. It is now read-only.

caefer/gjPositionsDemoPlugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gjPositionsDemoPlugin

About

This plugin exists purely to demonstrate the functionality of gjPositionsPlugin. It provides the following:

  1. one model that is configured to have design elements plositioned on it (DemoPage)
  2. two models that serve as content (DemoArticle, DemoImage)
  3. three design elements in configuration (app.yml) and module (gjPositionsDemo/slideshow, gjPositionsDemo/relatedbykeyword, gjPositionsDemo/manuallink)
  4. fixtures for one DemoPage and four DemoArticle and DemoImage each
  5. a nasty hack that wipes previously generated admin module code from cache in order to allow faster development of the admin theme

Installation

Grab the sources from GitHub.

$ cd plugins
$ git clone git://github.com/caefer/gjPositionsDemoPlugin.git

Don't forget to enable the plugin in your ProjectConfiguration class.

Of course you also need to install gjPositionsPlugin.

Then build all the classes and load the database.

$ php symfony doctrine:build --all --and-load

Next you need to generate an admin module for DemoPage.

$ php symfony doctrine:generate-admin --theme=composition <application> DemoPage

Now browse http://localhost/demo_page and see where it goes!

About

this is a symfony plugin purely for demonstrating the functionality of gjPositionsPlugin

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages