Search found 764 matches

by diego
Sun Sep 12, 2021 4:48 pm
Forum: General
Topic: How to set custom field values when creating new page via API ?
Replies: 5
Views: 248

Re: How to set custom field values when creating new page via API ?

Notice to create a page via API you need to use the method POST and send the parameters via POST.

Please follow the documentation example and then add the custom field.

https://docs.bludit.com/en/api/create-a-new-page
by diego
Sun Sep 12, 2021 4:44 pm
Forum: General
Topic: How to set custom field values when creating new page via API ?
Replies: 5
Views: 248

Re: How to set custom field values when creating new page via API ?

I don't know your code, I mean how do you encode to JSON, I can show you an example I just did with curl command. Admin panel > Settings > Custom field { "subtitle": { "type": "string", "placeholder": "Subtitle for the page" } } Curl to the API with the custom subtitle curl 'http://localhost/api/pag...
by diego
Sun Sep 12, 2021 1:04 pm
Forum: General
Topic: How to set custom field values when creating new page via API ?
Replies: 5
Views: 248

Re: How to set custom field values when creating new page via API ?

Hi, yes you can send the custom field through the API, but first, you need to define the custom fields in Admin panel > Settings > Custom fields. Here is the part of the code for the page creation and the custom fields. https://github.com/bludit/bludit/blob/master/bl-kernel/pages.class.php#L68-L78 R...
by diego
Fri Jun 11, 2021 6:44 pm
Forum: General
Topic: Bludit 4.0.0 Alpha
Replies: 8
Views: 643

Re: Bludit 4.0.0 Alpha

I found an issue when the installation is inside a folder and I release a new version. https://github.com/bludit/bludit/releases/tag/4.0.0-alpha4 Regarding the changes, yes is the only way to do the comparison, I'm doing changes all the time, and is an Alpha version is not defined as the final solut...
by diego
Fri Jun 11, 2021 6:41 pm
Forum: General
Topic: Bludit v4 - Alpha version
Replies: 3
Views: 2174

Re: Bludit v4 - Alpha version

Bludit v4.0.0 Alpha 4. Bugfix for installation inside a folder. #Bluditv4

https://github.com/bludit/bludit/releas ... 0.0-alpha4
by diego
Thu Jun 10, 2021 9:10 am
Forum: General
Topic: Bludit v4 - Alpha version
Replies: 3
Views: 2174

Bludit v4 - Alpha version

The next major version of Bludit is coming and with them a lot of changes. These days, I will release a few Alpha versions to test them, feedback and help in the development process are welcome. You can find and download the new versions here, click on "Assets" and download the ".zip" file. https://...
by diego
Wed Jun 09, 2021 8:54 pm
Forum: General
Topic: Bludit 4.0.0 Alpha
Replies: 8
Views: 643

Re: Bludit 4.0.0 Alpha

Hi,
I found some bugs and release Alpha 3.
Can you test it ?

https://github.com/bludit/bludit/releas ... 0.0-alpha3
by diego
Tue Jun 08, 2021 9:09 am
Forum: General
Topic: Bludit 4.0.0 Alpha
Replies: 8
Views: 643

Re: Bludit 4.0.0 Alpha

Hi,
can you tell me the browser and web server do you use ?

Also, if you know how to check via browser inspector the logs would be helpful.

Thanks
by diego
Mon May 31, 2021 6:35 pm
Forum: General
Topic: Concern about the potential size of /databases/pages.php
Replies: 2
Views: 365

Re: Concern about the potential size of /databases/pages.php

Hi, the size for pages.php is more for metadata, but in your case, you have a valid point about the custom fields, I can check a better solution for custom fields and store them in separated files as you mentioned, for Bludit v4. Regarding corrupt data, you can use some plugin for backup or if you h...
by diego
Wed Apr 28, 2021 9:36 am
Forum: Allgemein
Topic: Probleme mit Docker Installation
Replies: 1
Views: 372

Re: Probleme mit Docker Installation

Hi,
what is the error? the issue is with Docker compose and not from the Docker image for Bludit.