tagElementPlugin 1.2.3-pl

tagElementPlugin 1.2.3-pl

Released Nov 10, 2017 by sergant210

tagElementPlugin allows to edit chunks and snippets selecting their tags in the content field of resource, chunk, template, snippet or plugin forms. Also you can dynamically create elements. Also you can get the value of some tags that start with "~", "%", "++" and "#".

Download 45kb (214 downloads)
Downloads: 4,435
License: GPLv2
Requires Revolution 2.0.x or greater
Supports mysql

Open any resource, chunk or template where you use the chunk/snippet tags (for example [[$myChunk]] and [[mySnippet]]). Select it and press Ctrl+Enter. If the element exists the quick edit dialog will be opened. If not you can create it right here. 

To go to the element's page press Ctrl+Shift+Enter.

Press Ctrl+Alt+C to open the quick update dialog for chunk with the selected name.

tagElementPlugin can get the value of next tags:

  • [[~1]]
  • [[%lexicon_entry]]
  • [[++system_setting]]
  • [[#1.pagetitle]], [[#SERVER.key]], [[#REQUEST.key]], [[#COOKIE.key]], [[#SESSION.key]] and more.

The last ones will be parsed if the pdoParser is used.

NEW FEATURES

To form a snippet or a chunk tag with parameters write the snippet name,
select it and press Ctrl+Insert. The "Select element options" dialog
with default properties will be opened. Change the required properties
and press Save. You'll get the prepared tag like when you drag'n'drop elements.

System settings to customize the shortcuts.

  • tagelementplugin_quick_editor_keys - a shortcut to open the quick editing window for selected elements.
  • tagelementplugin_element_editor_keys - a shortcut to redirect to the element page.
  • tagelementplugin_element_prop_keys - a shortcut to open the "Select element options" dialog for the selected snippet or chunk.
  • tagelementplugin_quick_chunk_editor_keys - a shortcut to open the quick update chunk dialog with selected name.
  • tagelementplugin_chunk_editor_keys - a shortcut to redirect to the chunk update form.

You can specify a digital key code or use the ExtJs constants.

Important! TagElementPlugin does not support rich text editors.

You can read more detail information on Github

Installation Instructions

Install via Package manager.

1.2.3-pl

==============

- Fixed the name of the id attribute of the textarea field.

1.2.2-pl

==============

- Fixed bug with the element name field when opened more then one quick dialog.

1.2.1-pl

==============

- Fixed bug with "save as" command.

1.2.0-pl

==============

- tagElementPlugin is also available in the snippet and plugin forms.

- Added keyboard shortcuts to work with chunks. By default, Ctrl+Alt+C and Ctrl+Shift+Alt+C.

- Added "Save as" button to the quick update dialogs.

1.1.4-pl

==============

- The "Select element options" dialog (shown by pressing Ctrl+Insert) takes into account specified parameters.

1.1.3-pl

==============

- Bind Ctrl+S and Ctrl+Shift+S to the buttons "Save" and "Save and close" of the quick edit dialogs.

1.1.2-pl

==============

- Allow to create the system settings.

1.1.1-pl

==============

- Added system settings allow users to customize the keyboard shortcuts.

1.1.0-pl

==============

- Added ability to form a snippet tag with parameters like the drag'n'drop operation. Select a snippet tag and press Ctrl+Insert.

1.0.5-pl

==============

- Fixed bug of setting element name to field "Name" of the quick create element dialog.

- Added check the changes to prevent loss of them when the user wants to leave the page. It's switched off by the system setting "Confirm_navigation".

1.0.4-pl

==============

- Added recursive call.

1.0.3-pl

==============

- Added ability to get the value of next tags: [[~5]], [[%lexicon_entry]], [[++system_setting]] and [[#10.pagetitle]]. The last one will be parsed if pdoParser is used (see http://docs.modx.pro/en/components/pdotools/parser#fastField-tag for more information).

- Now you can select entire [[!mySnippet@propertySet? ¶m=`1`]]. tagElementPlugin can get correct tag name from this selection.

1.0.2-pl

==============

- Fixed error with path in the plugin.

1.0.1-pl

==============

- Added php and fenom syntax highlighting.

1.0.0-pl

==============

- Initial release.

Version Released Author Downloads
7 Versions 1 Contributors 4,440 Downloads
1.2.2-pl Oct, 11 2016 sergant210 2,843
1.2.1-pl Oct, 07 2016 sergant210 94
1.2.0-pl Sep, 30 2016 sergant210 159
1.1.4-pl Sep, 09 2016 sergant210 226
1.1.3-pl1 Feb, 05 2016 sergant210 591
1.1.3-pl Oct, 09 2015 sergant210 313