GeoContent can be configured to allow front-end (the public side of Joomla!) editing, see dedicated Front-end map edit 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 GeoContent Items, to show a button under the article’s editor window, you must publish GeoContent 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:
1 | <?php JHTML::_('behavior.modal'); ?>
|
then, create a link like this:
1 2 3 4 | <a rel="{handler: 'iframe', size: {x: 800, y: 400}}"
href="index.php?option=com_geocontent&view=editor&tmpl=component&id=XXX&contentid=YYY&layerid=ZZZ" class="modal">
Click to activate map editor
</a >
|
Note
GeoContent comes with a plugin Editor plugin wich adds a button to the standard Joomla! editor form.