|
Revision 4147, 1.3 kB
(checked in by davedash, 6 years ago)
|
sfFirebugLitePlugin : added user contrib link
|
| Line | |
|---|
| 1 |
== Installation == |
|---|
| 2 |
|
|---|
| 3 |
This plugin is installable via subversion: |
|---|
| 4 |
|
|---|
| 5 |
{{{ |
|---|
| 6 |
$ svn co http://svn.symfony-project.com/plugins/sfFirebugLitePlugin |
|---|
| 7 |
}}} |
|---|
| 8 |
|
|---|
| 9 |
or via svn:externals |
|---|
| 10 |
|
|---|
| 11 |
{{{ |
|---|
| 12 |
$ svn propedit svn:externals plugins |
|---|
| 13 |
}}} |
|---|
| 14 |
|
|---|
| 15 |
and type: |
|---|
| 16 |
|
|---|
| 17 |
{{{ |
|---|
| 18 |
sfFirebugLitePlugin http://svn.symfony-project.com/plugins/sfFirebugLitePlugin |
|---|
| 19 |
}}} |
|---|
| 20 |
|
|---|
| 21 |
Make a symbolic link in $SF_ROOT/web to this plugin: |
|---|
| 22 |
|
|---|
| 23 |
{{{ |
|---|
| 24 |
$ ln -s ../plugins/sfFirebugLitePlugin/web sfFirebugLitePlugin |
|---|
| 25 |
}}} |
|---|
| 26 |
|
|---|
| 27 |
== Configuration == |
|---|
| 28 |
|
|---|
| 29 |
In filters.yml add the folowing filter after web_debug: |
|---|
| 30 |
|
|---|
| 31 |
|
|---|
| 32 |
firebug: |
|---|
| 33 |
class: sfFirebugLiteFilter |
|---|
| 34 |
param: |
|---|
| 35 |
condition: %SF_FIREBUG_LITE% |
|---|
| 36 |
|
|---|
| 37 |
=== Optional, but recommended === |
|---|
| 38 |
|
|---|
| 39 |
|
|---|
| 40 |
No need to install firebug on your production environment. Therefore, the |
|---|
| 41 |
condition %SF_FIREBUG_LITE% should be disabled in settings.yml for your prod, |
|---|
| 42 |
test and other non-dev environments: |
|---|
| 43 |
|
|---|
| 44 |
{{{ |
|---|
| 45 |
prod: |
|---|
| 46 |
sf_firebug_lite: off |
|---|
| 47 |
|
|---|
| 48 |
... |
|---|
| 49 |
|
|---|
| 50 |
test: |
|---|
| 51 |
sf_firebug_lite: off |
|---|
| 52 |
|
|---|
| 53 |
... |
|---|
| 54 |
|
|---|
| 55 |
dev: |
|---|
| 56 |
sf_firebug_lite: on |
|---|
| 57 |
}}} |
|---|
| 58 |
|
|---|
| 59 |
== Usage == |
|---|
| 60 |
|
|---|
| 61 |
In your web browser on a page that includes firebug.js enter Ctrl-Shift-L or |
|---|
| 62 |
F12 to enable the [http://www.getfirebug.com/lite.html Firebug Lite] console. |
|---|
| 63 |
|
|---|
| 64 |
== Contributions == |
|---|
| 65 |
|
|---|
| 66 |
If you wish to contribute to this plugin please contact |
|---|
| 67 |
[http://spindrop.us/ Dave Dash], the current maintainer of the project. |
|---|
| 68 |
|
|---|
| 69 |
== Tips == |
|---|
| 70 |
|
|---|
| 71 |
[wiki:sfFirebugLitePlugin/Tips User contributed tips] |
|---|