Changeset 385287
- Timestamp:
- 05/16/2011 02:46:54 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
wp-live-css-editor/trunk/wp-live-css-editor/readme.txt
r385243 r385287 26 26 == Frequently Asked Questions == 27 27 28 = Will it let me edit the theme's CSS, or just any CSS ? Can I choose which are editable ? = 29 30 You can edit any and all CSS files that are loaded in the page. As long as they have write permission, and you are looged in. 31 32 28 33 == Screenshots == 29 34 … … 35 40 * First Commit ! release 2011-05-15 36 41 37 Comments: 38 1. Now using wp_enqueue_scripts adn wp_enqueue_styles 39 2. Not for production sites, just for design and development time. Needs roles and permissions settings, though only logged in users can actually save changes, any visitor can see it in action. 40 3. If it doesn't save changes, it's probably a permission problem with the CSS file (Or you are not logged in) 41 4. Will need to clean up backups manually via FTP when you are done, as they might be a lot and counting ! A restore version system would come in handy… 42 5. Seems to be fixed, but for a while the plugin was inflating the CSS files in each save by swarming trillions of slashes before every single and double quote 43 6. Fixed a BUG where relative urls wouldn't find the wp-admin/admin-ajax.php file, thanks to Gary Cao's wonderful tips: http://www.garyc40.com/2010/03/5-tips-for-using-ajax-in-wordpress/#js-global 44 7. Backup your CSS files before using it the first time, just in case ! 42 NOTES: 43 * Now using wp_enqueue_scripts adn wp_enqueue_styles to correctly inject stylesheets and scripts 44 * **Not for production sites**, just for design and development time. **Needs roles and permissions settings**, though **only logged in users can actually save changes**, any visitor can see it in action. 45 * If it doesn't save changes, it's probably a **permission problem** with the CSS file (Or **you are not logged in**) 46 * Will need to **clean up backups manually** via FTP when you are done, as they might be a lot and counting ! A restore version system would come in handy… 47 * Seems to be fixed, but for a while the plugin was inflating the CSS files in each save by swarming trillions of slashes before every single and double quote 48 * Fixed a BUG where relative urls wouldn't find the wp-admin/admin-ajax.php file, thanks to Gary Cao's wonderful tips: http://www.garyc40.com/2010/03/5-tips-for-using-ajax-in-wordpress/#js-global 49 * **Backup your CSS files** before using it the first time, just in case ! 50 * No plugin options nor admin page 51 TODO LIST: 52 * A JSON helper for older PHP versions is there, but untested yet. 53 * A floating window / drawer might be better than narrowing the whole page. 45 54 46 = 11.05 =47 * First version 2011-05-1548 49 Comments:50 1. Would need a WP equivalent to drupal_add_html_head_link or any help to use the appropriate wp enqueuers for script injections and dependencies.51 2. Not for production sites, just for design and development time. Needs roles and permissions settings, though only logged in users can actually save changes, any visitor can see it in action.52 3. If it doesn't save changes, it's probably a permission problem with the CSS file.53 4. Will need to clean up backups manually via FTP when you are done, as they might be a lot and counting ! A restore version system would come in handy…54 5. Needs jquery to be loaded before the plugin, but that doesn't seem to be a problem.55 6. A JSON helper for older PHP versions is there, but untested yet.56 7. A floating window / drawer might be better than narrowing the whole page.57 55 58 56 == Upgrade Notice == … … 60 58 Just the usual, deactivate plugin, replace files, activate. 61 59 62 == Spanish==60 == Hola mundo ! == 63 61 64 Este es mi primer plugin para Wordpress. Está basado en el módulo de Drupal Live CSS http://drupal.org/project/live_css de guybedfordhttp://drupal.org/user/74680262 Este es mi primer plugin para Wordpress. Está basado en el módulo de [Drupal Live CSS] http://drupal.org/project/live_css de [guybedford] http://drupal.org/user/746802 65 63 66 64 Es un editor de CSS que te permite editar en directo todas las hojas de estilo CSS de tu web, ver los cambios y guardar sobre la marcha. … … 70 68 Advertencia !!! 71 69 72 No depende de permisos, así que una vez activo, cualquiera, incluso sin estar registrado, puede verlo y usarlo. Sin embargo solo l *s usuari*s registrad*s podrán guardar los cambios.70 No depende de permisos, así que una vez activo, cualquiera, incluso sin estar registrado, puede verlo y usarlo. Sin embargo solo lxs usuarixs registradxs podrán guardar los cambios. 73 71 74 72 Importante !!! … … 102 100 Por hacer 103 101 104 Utilizar los hooks adecuados de wordpress:Utilizar el sistema adecuado para inyectar los css y scripts necesarios en wordpress. No sé como añadir el link bas de bespin mediante wordpress, y es necesario inyectarlo antes de los demás scripts, y no lo conseguía, así que me decidí por una solución sencilla. La única dependencia es jquery, y habitualmente este se debe cargar antes. Si tu tema u otros plugins no cargan jquery antes, tendrás que insertarlo tú, pero es muy raro que no esté ya cargado. 105 Ventana flotante: Sería mejor que empujar la web a la izquierda, pero bueno, quizás cuando el plugin original de Drupal utilice Ace. 102 Ventana flotante: Sería mejor que empujar la web a la izquierda, pero bueno, quizás cuando el plugin original de Drupal utilice Ace.
Note: See TracChangeset
for help on using the changeset viewer.