You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 26, 2023. It is now read-only.
- Bugfix: Removed all remnants of fluid field data, since the Fluid fieldtype is not (yet) supported. The remnant data is unusable at this point. Working on support for Fluid fieldtype
- Bugfix: Updated the `members` function to fit EE6.x
- Changed `addon.setup.php` and cleaned it up
Copy file name to clipboardExpand all lines: README.markdown
+7
Original file line number
Diff line number
Diff line change
@@ -456,6 +456,13 @@ function yourCallbackFunction(data) {
456
456
457
457
## Changelog
458
458
459
+
### v2.5.1
460
+
461
+
- Bugfix: Removed all remnants of fluid field data, since the Fluid fieldtype is not (yet) supported. The remnant data is unusable at this point. Working on support for Fluid fieldtype
462
+
- Bugfix: Updated the `members` function to fit EE6.x
463
+
- Changed `addon.setup.php` and cleaned it up
464
+
-**Note:** not tested with Assets, Matrix, Playa and Channel Files fieldtypes/modules
Copy file name to clipboardExpand all lines: system/user/addons/json/README.md
+17-57
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,5 @@
1
1
# JSON #
2
2
3
-
Output ExpressionEngine data in JSON format.
4
-
5
3
## Requirements
6
4
7
5
- ExpressionEngine 4.x, 5.x or 6.x
@@ -14,9 +12,10 @@ Output ExpressionEngine data in JSON format.
14
12
I don't own Assets, Matrix and Playa modules, so if you use Assets, Matrix or Playa fields I recommend to verify whether changes to the code are required and to test this plugin on a local or development server before using it on a production/live server.
15
13
Since this plugin only outputs data I don't expect any damage but I will not accept any liability for any problems risen from using this plugin.
16
14
17
-
***No duplicate custom fields in channels!***
15
+
***Do not select duplicate custom fields in channels***
18
16
19
-
Since EE4 it is possible to use custom fields outside of field groups as well as inside field groups. This plugin will not work when a custom field is assigned as a standalone custom field as well as a grouped custom field within the same channel. You need to choose to use either a grouped custom field or a standalone custom field.
17
+
Since EE4 it is possible to use custom fields outside of field groups as well as inside field groups. This plugin will not work when a new custom field is assigned as a standalone custom field as well as a grouped custom field within the same channel. You need to choose to use either a grouped custom field or a standalone custom field. This is because newly created custom fields get their own table in the database.
18
+
Since legacy custom fields do not have their own table they will work fine either way.
20
19
21
20
***Fluid fieldtype***
22
21
@@ -457,15 +456,21 @@ function yourCallbackFunction(data) {
457
456
458
457
## Changelog
459
458
459
+
### v2.5.1
460
+
461
+
- Bugfix: Removed all remnants of fluid field data, since the Fluid fieldtype is not (yet) supported. The remnant data is unusable at this point. Working on support for Fluid fieldtype
462
+
- Bugfix: Updated the `members` function to fit EE6.x
463
+
- Changed `addon.setup.php` and cleaned it up
464
+
-**Note:** not tested with Assets, Matrix, Playa and Channel Files fieldtypes/modules
465
+
460
466
### v2.5.0
461
467
462
-
- ExpressionEngine 4.x, 5.x or 6.x required
468
+
- ExpressionEngine 4+ compatibility
463
469
- Several changes to the code due to database changes
464
470
- Added support for File Grid fieldtype
465
-
- Added support for legacy custom fields and data (EE2 and EE3 custom fields and data)
466
-
- Added `/system/user/addons/json/icon.png` for the control panel
467
-
- Fluid fieldtype not supported
468
-
-**Note:** not tested with Assets, Matrix and Playa
471
+
- Added support for legacy custom fields and data (EE2 and EE3 custom fields and data) for compatibility with upgraded versions of EE4+
472
+
- Added `/system/user/addons/json/icon.png` for the EE6 control panel
473
+
-**Note:** not tested with Assets, Matrix, Playa and Channel Files fieldtypes/modules
469
474
470
475
### v1.1.9
471
476
@@ -475,53 +480,8 @@ function yourCallbackFunction(data) {
475
480
- Added `/system/user/addons/json/README.md` for the add-on manual in the control panel (as of EE3)
476
481
-**Note:** not tested with Assets, Matrix and Playa
477
482
478
-
### v1.1.8
479
-
480
-
- Added `json_plugin_entries_end` and `json_plugin_members_end` hooks
- Add `root_node` and `item_root_node` parameters.
495
-
496
-
### v1.1.4
497
-
498
-
- Add manipulations to Assets fields
499
-
500
-
### v1.1.3
501
-
502
-
- Fix bug where show_categories parameter did not work
503
-
504
-
### v1.1.2
505
-
506
-
- Fix bug where `fields` parameter was not being honored
507
-
- Fix bug causing fatal MySQL error when using the `fixed_order` parameter
508
-
509
-
### v1.1.1
510
-
511
-
- Fix WSOD on Plugins page
512
-
- Fix PHP errors when an Assests field has no selection(s)
513
-
514
-
### v1.1.0
515
-
516
-
- Added support for the following fieldtypes: Assets, Grid, Playa, Relationships
517
-
- Change IDs (entry_id, author_id, etc.) and Dates to integers
518
-
- Added `show_categories` and `show_category_group` parameters to `{exp:json:entries}`
519
-
- Added `{exp:json:search}`
520
-
- Added JSONP support
521
-
- Added `date_format` parameter
522
-
- Added `content_type` parameter
483
+
## Attribution
523
484
524
-
## Upgrading from 1.0.x
485
+
This plugin is a fork of the excellent [JSON plugin](https://github.com/rsanchez/json) by [Rob Sanchez](https://github.com/rsanchez).
525
486
526
-
- IDs (entry_id, author_id, etc.) and Dates are returned as integers
527
-
- The following fieldtypes have different output: Playa, Assets. Please see docs above for an example of their output.
487
+
Since I'm a jack of all trades and master of none, I could have never done this without the jumpstart Rob Sanchez's plugin gave me.
0 commit comments