.. include :: substitutions.txt .. _front_end: Front-end editing ================== .. _front_end_configuration: Front-end configuration ------------------------- |GC| can be configured to allow front-end (the public side of |J|) editing, see dedicated :ref:`front_end_parameters`, parameters that can be overridden in the editor link have "Yes" in the corresponding column. When front-end editing is enabled, you can create links to let your users add or edit content to |GCIs|, to show a button under the article's editor window, you must publish |GC| :ref:`editor_plugin` plugin If you want to manually activate the editor window through a link, you must load modal API adding the following at the very top of your template: .. code-block:: php :linenos: then, create a link like this: .. code-block:: php :linenos: Click to activate map editor * change `XXX` with the |GCI|'s' ID, this parameter is optional * change `YYY` with the article's ID, this parameter is optional * change `ZZZ` with the |GCL|'s ID, this parameter is optional * optionally change popup x and y size values in `rel` attribute .. note::: Depending on |GC| parameters configuration, front end editing can be disabled or limited to certain user levels. .. note:: |GC| comes with a plugin :ref:`editor_plugin` wich adds a button to the standard |J| editor form.