From f70d3ef0b2d658ac5e1942b350edad33bc9bc1ea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julien=20Fastr=C3=A9?= Date: Sun, 9 Nov 2014 18:53:50 +0100 Subject: [PATCH] add dev tips for watching a field --- source/development/bundles/custom-fields.rst | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/source/development/bundles/custom-fields.rst b/source/development/bundles/custom-fields.rst index 835921154..c30861e71 100644 --- a/source/development/bundles/custom-fields.rst +++ b/source/development/bundles/custom-fields.rst @@ -110,6 +110,20 @@ Add those file under `chill_custom_fields` section : * The class, which is a full FQDN class path +Development tips +----------------- + +If you want to test the rendering of a custom fields group, you may use this method : + +1. Run the built-in server **from the custom-fields directory** : + +.. code-block:: bash + + ./run-server.sh + +2. assuming that your custom fields id is `1`, go to your navigator and enter url : `http://localhost:8000/customfieldsgroup/test/render/2` + + .. glossary::