Step 5 - Add a new Point 2D field¶
All actions in this step are done in the admin interface also called the Back Office.
Go to the admin interface (
<yourdomain>/admin) and log in with the default username:
admin and the default password:
Add new Content Type¶
In the Back Office, select Admin and navigate to the Content Types tab. Under Content category, create a new Content Type:
New Content Type should have the following settings:
- Name: Point 2D
- Identifier: point_2d
- Fields: point2d.name
Next, define point2d with the following Fields:
Save everything and go back to the Content/Content structure tab.
Create your content¶
In Content structure, from the right sidebar menu, select Create. There, under Content, you should see Point 2D Content Type you just added. Click it to create new content.
In New Point 2D tab, you can fill in coordinates of your point, e.g. 3, 5. Provided coordinates will be used as a title for a new point.
Click Publish. Now, you should see a new (3,5) point in the content tree.
If you cannot see the results or encounter an error, clear the cache and reload the application.