This section contains a walkthrough how to quickly enable existing Directory and how to display it in your site. In our examples we are using Contacts Directory which already exists in your site.
To enable a custom Flex Directory, you need to go to Plugins > Flex Objects.
We are interested in Directories option inside the plugin, which lists all the detected Flex Directories. Just select the directories you're interested in and make sure toggle has
Enabled option checked.
TIP: Enable directory called Contacts
Hit Save and the directory should show up after a page load.
For our example, we assume that you have copied the sample data set for Contacts Directory:
$ cp user/plugins/flex-objects/data/flex-objects/contacts.json user/data/flex-objects/contacts.json
After this you can click on Continue button.
In the Content Editor enter directory and add content:
# Directory Example
When you are happy with the page, hit Save.
TIP: If you do not specify
Flex Directory, the page will list all directories instead of displaying entries from a single directory.
You can just go to your site and look at the menu. It should contain Contacts. Entering to that page should display:
In case if you did not select any directory, this is what you would see instead:
Found errors? Think you can improve this documentation? Simply click the Edit link at the top of the page, and then the icon on Github to make your changes.