Skip to content
This repository has been archived by the owner on Jan 7, 2021. It is now read-only.

Commit

Permalink
Documented new config settings of Content Selectors (#47)
Browse files Browse the repository at this point in the history
  • Loading branch information
alansemenov committed Sep 30, 2017
1 parent 0c4fb06 commit 3aeca21
Show file tree
Hide file tree
Showing 8 changed files with 20 additions and 2 deletions.
Binary file not shown.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion doc/admin/contentstudio/inputs-selectors.rst
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ filter the content by name. When more than one content has been selected, the or
to the left of each content. Any selected content may be opened for editing by clicking the pencil icon. Selected content can be removed
with the X icon.

.. image:: images/inputs-content-selector.jpg
.. image:: images/inputs-content-selector.png

Image selector
--------------
Expand Down
3 changes: 3 additions & 0 deletions doc/developer/schema/input-types/code/contentselector.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,8 @@
<allowPath>${site}/people/</allowPath>
<allowPath>./*</allowPath>
<allowPath>/quotes*</allowPath>
<treeMode>true</treeMode>
<showStatus>true</showStatus>
<hideToggleIcon>true</hideToggleIcon>
</config>
</input>
17 changes: 16 additions & 1 deletion doc/developer/schema/input-types/content-selector.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
ContentSelector
---------------

References to other content are specified by this input type.
References to other content are specified by this input type. Use the toggle icon to switch between the list mode (default) and the tree mode.

.. literalinclude:: code/contentselector.xml
:language: xml
Expand All @@ -22,3 +22,18 @@ allowPath

.. literalinclude:: code/allowpath-samples.xml
:language: xml

treeMode
By default content selector is displaying content in the list mode but you can switch it to default tree-mode (same as in the Content grid) by setting `treeMode` to `true`.

.. image:: images/content-selector-tree.png

showStatus
You can display current status for each content item inside the content selector by setting `showStatus` to `true`.

.. image:: images/content-selector-status.png

hideToggleIcon
The toggle mode icon can be hidden by setting `hideToggleIcon` to `true`.

.. image:: images/content-selector-no-toggle.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 3aeca21

Please sign in to comment.