Skip to content

Commit

Permalink
directory updates
Browse files Browse the repository at this point in the history
  • Loading branch information
benhaynes authored Sep 9, 2016
1 parent 3ae28d2 commit c809ab0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions 03-interfaces/03-custom.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Custom User Interfaces
Use the following steps to create your own custom user interfaces using the above as starter templates.

1. Copy a Core UI file from `/app/core-ui` into the custom UI directory: `/ui`
1. Copy a Core UI file from `/app/core/uis` into the custom UI directory: `/customs/uis`
2. Set a unique name for the UI: `Module.id`
3. Choose which SQL datatypes this UI will support: `Module.dataTypes`
4. Optionally, add UI Options that admin users can adjust per column: `Module.variables`
Expand All @@ -23,4 +23,4 @@ Use the following steps to create your own custom user interfaces using the abov
* settings


At this point, all you have to do is refresh your instance of Directus and your new UI will be available. If you go to `Settings > Tables & Inputs > []Table]` and open the User Interface dropdown for the desired column, if that column's datatype is supported you will see your UI as an option. If you don't see it, confirm that that datatype is listed in `Module.dataTypes` and that the `Module.id` is unique – otherwise check the error logs.
At this point, all you have to do is refresh your instance of Directus and your new UI will be available. If you go to `Settings > Tables & Inputs > []Table]` and open the User Interface dropdown for the desired column, if that column's datatype is supported you will see your UI as an option. If you don't see it, confirm that that datatype is listed in `Module.dataTypes` and that the `Module.id` is unique – otherwise check the error logs.

0 comments on commit c809ab0

Please sign in to comment.