|
Revision 21443, 1.3 kB
(checked in by jp_morvan, 4 years ago)
|
first import
|
| Line | |
|---|
| 1 |
vjThemePlugin |
|---|
| 2 |
================= |
|---|
| 3 |
|
|---|
| 4 |
The `vjThemePlugin` packages a new admin generator theme based on Doctrine's. |
|---|
| 5 |
|
|---|
| 6 |
It adds pagination and column name (+ sort links) before and after the list. The filters are now hide in default. A link propose to show/hide them (the file 'module.yml' is generated with the hide param). |
|---|
| 7 |
|
|---|
| 8 |
You need to have Doctrine activated to work correctly. |
|---|
| 9 |
|
|---|
| 10 |
Here are some screenshots : [list with filters off](http://www.ville-villejuif.fr/symfony/vjThemePlugin/images/vjThemePlugin1.gif), [list with filters on](http://www.ville-villejuif.fr/symfony/vjThemePlugin/images/vjThemePlugin2.gif), [more than 3 filters](http://www.ville-villejuif.fr/symfony/vjThemePlugin/images/vjThemePlugin3.gif) |
|---|
| 11 |
|
|---|
| 12 |
Installation |
|---|
| 13 |
------------ |
|---|
| 14 |
|
|---|
| 15 |
* Download and install the plugin |
|---|
| 16 |
|
|---|
| 17 |
$ symfony plugin:install vjThemePlugin |
|---|
| 18 |
|
|---|
| 19 |
* Clear the cache |
|---|
| 20 |
|
|---|
| 21 |
$ symfony cache:clear |
|---|
| 22 |
|
|---|
| 23 |
* Publish the plugin's assets |
|---|
| 24 |
|
|---|
| 25 |
$ symfony plugin:publish-assets |
|---|
| 26 |
|
|---|
| 27 |
How to use it ? |
|---|
| 28 |
------------- |
|---|
| 29 |
|
|---|
| 30 |
* Generate an admin generator module |
|---|
| 31 |
|
|---|
| 32 |
$ symfony --theme=admin_villejuif doctrine:generate-admin |
|---|
| 33 |
|
|---|
| 34 |
__OR__ |
|---|
| 35 |
|
|---|
| 36 |
* Change the theme inside your generator.yml |
|---|
| 37 |
|
|---|
| 38 |
theme: admin_villejuif |
|---|
| 39 |
|
|---|
| 40 |
__AND__ |
|---|
| 41 |
|
|---|
| 42 |
* Clear the cache |
|---|
| 43 |
|
|---|
| 44 |
$ symfony cache:clear |
|---|
| 45 |
|
|---|
| 46 |
TODO |
|---|
| 47 |
----- |
|---|
| 48 |
|
|---|
| 49 |
* any idea, advice, other ? please email me :) |
|---|