Custom Field Issue
Hello.
I have found strange problem. I am reading a documentation of Bludit for custom fields. And looks it is really easy.
But in documentation all examples are shown as object, but in Bludit admin backend, I see array. I have copied example from documentation, and I have tried both array of objects and object. But looks like it just does not work. I am changing custom fields, receive message, that new configuration saved, but in new content tab I just do not see any custom fields added.
I was thinking, that I have a problem with my local version of Budit, but same happens in online demo of Bludit.
Maybe someone have any ideas?
I have found strange problem. I am reading a documentation of Bludit for custom fields. And looks it is really easy.
But in documentation all examples are shown as object, but in Bludit admin backend, I see array. I have copied example from documentation, and I have tried both array of objects and object. But looks like it just does not work. I am changing custom fields, receive message, that new configuration saved, but in new content tab I just do not see any custom fields added.
I was thinking, that I have a problem with my local version of Budit, but same happens in online demo of Bludit.
Maybe someone have any ideas?
- Edi
- Site Admin
- Posts: 3121
- Joined: Sun Aug 09, 2015 5:01 pm
- Location: Zurich
- Has thanked: 54 times
- Been thanked: 77 times
- Contact:
What do you mean with "shown as object"? All examples in the documentation are JSON text (arrays). For example:
Code: Select all
{
"subtitle": {
"type": "string",
"placeholder": "Subtitle for the page",
"position": "bottom"
}
}
Do you have copied it in the field at "Settings" > "General" > "Custom fields"?I have copied example from documentation [...].
Clickwork - Websites mit Bludit | Planet Bludit - Tipps und Snippets
Hi.
Yes I have copied example to: "Settings" > "General" > "Custom fields".
When you open custom fields section it prints out: [] - empty array.
In examples you use objects.
So I tried pasting a single object in custom fields and single object in [] - array. And nothing happens in admin.
Yes I have copied example to: "Settings" > "General" > "Custom fields".
When you open custom fields section it prints out: [] - empty array.
In examples you use objects.
So I tried pasting a single object in custom fields and single object in [] - array. And nothing happens in admin.
- Edi
- Site Admin
- Posts: 3121
- Joined: Sun Aug 09, 2015 5:01 pm
- Location: Zurich
- Has thanked: 54 times
- Been thanked: 77 times
- Contact:
Delete [] and paste the following (already given above):
Code: Select all
{
"subtitle": {
"type": "string",
"placeholder": "Subtitle for the page",
"position": "bottom"
}
}
Please give an example of such an object.In examples you use objects.
Clickwork - Websites mit Bludit | Planet Bludit - Tipps und Snippets